governing law

https://www.lawinsider.com/search?_index=contract&clause:Governing+Law

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": [
                                                            "clause"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "term": {
                                                        "sections.name.raw": "Governing Law"
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        ]
                    }
                },
                {
                    "nested": {
                        "ignore_unmapped": true,
                        "inner_hits": {
                            "name": "clause:Governing Law"
                        },
                        "path": "sections",
                        "query": {
                            "bool": {
                                "filter": [
                                    {
                                        "terms": {
                                            "sections.type": [
                                                "clause"
                                            ]
                                        }
                                    },
                                    {
                                        "term": {
                                            "sections.name.raw": "Governing Law"
                                        }
                                    }
                                ],
                                "must": []
                            }
                        },
                        "score_mode": "avg"
                    }
                }
            ]
        }
    },
    "post_filter": {
        "term": {
            "_index": "contract"
        }
    },
    "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" : 230,
  "timed_out" : false,
  "_shards" : {
    "total" : 42,
    "successful" : 42,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 10000,
      "relation" : "gte"
    },
    "max_score" : 1.0,
    "hits" : [
      {
        "_index" : "contract",
        "_type" : "_doc",
        "_id" : "en/5qRSBrgrSAo",
        "_score" : 1.0,
        "_source" : {
          "snippet" : "",
          "group_size" : 398,
          "group_id" : "SLXJZIpCWw",
          "filing_date" : "2000-08-11",
          "jurisdiction" : {
            "name" : "New York",
            "value" : "new-york-us"
          },
          "name" : "RECITALS",
          "industry" : {
            "name" : "Telephone communications (no radiotelephone)",
            "value" : "telephone-communications-no-radiotelephone"
          },
          "company" : {
            "name" : "Qwest Communications International Inc",
            "value" : "1037949"
          },
          "category" : {
            "name" : "First Supplemental Indenture",
            "value" : "first-supplemental-indenture"
          }
        },
        "inner_hits" : {
          "clause:Governing Law" : {
            "hits" : {
              "total" : {
                "value" : 1,
                "relation" : "eq"
              },
              "max_score" : 0.0,
              "hits" : [
                {
                  "_index" : "contract",
                  "_type" : "_doc",
                  "_id" : "en/5qRSBrgrSAo",
                  "_nested" : {
                    "field" : "sections",
                    "offset" : 27
                  },
                  "_score" : 0.0,
                  "_source" : {
                    "snippet" : "This First Supplemental Indenture shall be governed by and construed in accordance with the laws of the State of New York.",
                    "name" : "Governing Law",
                    "type" : "clause",
                    "value" : "governing-law"
                  }
                }
              ]
            }
          }
        }
      }
    ]
  }
}