X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/8c3a0efe8b75a06279998e66a932d8a56c483961..cc1af99dbd1b1e28cc9f8da92914cba237de5d31:/lib/SearchContext.php?ds=sidebyside diff --git a/lib/SearchContext.php b/lib/SearchContext.php index 3d399bdc..c2898d27 100644 --- a/lib/SearchContext.php +++ b/lib/SearchContext.php @@ -32,7 +32,18 @@ class SearchContext public $sqlCountryList = ''; /// List of place IDs to exclude (as SQL). private $sqlExcludeList = ''; + /// Subset of word ids of full words in the query. + private $aFullNameWords = array(); + public function setFullNameWords($aWordList) + { + $this->aFullNameWords = $aWordList; + } + + public function getFullNameTerms() + { + return $this->aFullNameWords; + } /** * Check if a reference point is defined.