X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ffcce6036fa166736e45625ff239e6407c269b4d..89b2d909a92ca125da0a764dbeb2f5e3c18fe194:/lib/SearchContext.php 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.