definition “Person=corporation”
https://www.lawinsider.com/search?definition:Person=corporation
curl -X POST "https://www.lawinsider.com/api/v1alpha/search?token=xxx&pretty" -H 'Content-Type: application/json' -d'{
"query": {
"bool": {
"must": [
{
"bool": {
"should": [
{
"match_all": {}
},
{
"rank_feature": {
"boost": 50,
"field": "weight_rank",
"saturation": {
"pivot": 16
}
}
}
]
}
},
{
"bool": {
"filter": [
{
"nested": {
"ignore_unmapped": true,
"path": "sections",
"query": {
"bool": {
"must": [
{
"terms": {
"sections.type": [
"definition"
]
}
},
{
"term": {
"sections.name.raw": "Person"
}
}
]
}
}
}
}
]
}
},
{
"nested": {
"ignore_unmapped": true,
"inner_hits": {
"name": "definition:Person"
},
"path": "sections",
"query": {
"bool": {
"filter": [
{
"terms": {
"sections.type": [
"definition"
]
}
},
{
"term": {
"sections.name.raw": "Person"
}
}
],
"must": [
{
"simple_query_string": {
"default_operator": "and",
"fields": [
"sections.snippet"
],
"flags": "AND|OR|NOT|PHRASE|PRECEDENCE|ESCAPE|WHITESPACE|SLOP|FUZZY|PREFIX",
"lenient": true,
"query": "corporation"
}
}
]
}
},
"score_mode": "avg"
}
}
]
}
},
"size": 1,
"profile": false,
"explain": false,
"timeout": "15000ms",
"_source": [
"name",
"snippet",
"category.name",
"category.value",
"company.name",
"company.value",
"jurisdiction.name",
"jurisdiction.value",
"industry.name",
"industry.value",
"filing_date",
"group_id",
"group_size"
],
"highlight": {
"fields": {
"body": {},
"company.name": {},
"jurisdiction.name": {}
},
"order": "score",
"post_tags": [
"</b>"
],
"pre_tags": [
"<b>"
]
}
}'
Responds:
{
"took" : 125,
"timed_out" : false,
"_shards" : {
"total" : 42,
"successful" : 42,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 10000,
"relation" : "gte"
},
"max_score" : 6.929796,
"hits" : [
{
"_index" : "contract",
"_type" : "_doc",
"_id" : "en/6rsmGLCAWTk",
"_score" : 6.929796,
"_source" : {
"snippet" : "This Agreement and Plan of Stock Exchange (\"Agreement\"), is made and entered into this 31st day of March 2010, by and among FOUR STAR HOLDINGS, INC., a Florida Corporation (\"FOUR STAR HOLDINGS\"), and RIDGEFIELD DEVELOPMENT CORPORATION, an Alabama Corporation (\"RIDGEFIELD DEVELOPMENT CORPORATION”). FOUR STAR HOLDINGS, and RIDGEFIELD DEVELOPMENT CORPORATION are hereinafter sometimes collectively referred to as the \"Parties.\"",
"group_size" : 2,
"group_id" : "6rsmGLCAWTk",
"filing_date" : "2010-07-09",
"jurisdiction" : {
"name" : "Florida",
"value" : "florida-us"
},
"name" : "AGREEMENT AND PLAN OF STOCK EXCHANGE",
"industry" : {
"name" : "Medicinal chemicals & botanical products",
"value" : "medicinal-chemicals-botanical-products"
},
"company" : {
"name" : "Four Star Holdings, Inc.",
"value" : "1433605"
},
"category" : {
"name" : "Agreement and Plan of Stock Exchange",
"value" : "agreement-and-plan-of-stock-exchange"
}
},
"inner_hits" : {
"definition:Person" : {
"hits" : {
"total" : {
"value" : 1,
"relation" : "eq"
},
"max_score" : 5.929796,
"hits" : [
{
"_index" : "contract",
"_type" : "_doc",
"_id" : "en/6rsmGLCAWTk",
"_nested" : {
"field" : "sections",
"offset" : 91
},
"_score" : 5.929796,
"_source" : {
"snippet" : "means any individual, corporation, partnership, trust or unincorporated organization or a government or any agency or political subdivision thereof.” \"RIDGEFIELD DEVELOPMENT CORPORATION Common stock\" shall mean the Common stock of RIDGEFIELD DEVELOPMENT CORPORATION.” \"RIDGEFIELD DEVELOPMENT CORPORATION Managing Director\" shall mean the Managing Director of RIDGEFIELD DEVELOPMENT CORPORATION.” \"RIDGEFIELD DEVELOPMENT CORPORATION Common stock\" means, as at the date in question, all of the issued and outstanding Common stock of RIDGEFIELD DEVELOPMENT CORPORATION.” \"RIDGEFIELD DEVELOPMENT CORPORATION Shareholders\" means the collective reference to all of the record holders of the RIDGEFIELD DEVELOPMENT CORPORATION Common stock at the Effective Time of the Stock Exchange, including the RIDGEFIELD DEVELOPMENT CORPORATION Managing Officers and Directors.”",
"name" : "Person",
"type" : "definition",
"value" : "person"
}
}
]
}
}
}
}
]
}
}
Updated over 1 year ago