From: Brian Quinion Date: Tue, 7 Jun 2011 12:31:46 +0000 (+0000) Subject: over tokenising 'la' X-Git-Tag: v2.0.0~133 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/c115a53df75584521060f7025a7caa703f00d4d4 over tokenising 'la' --- diff --git a/website/search.php b/website/search.php index 48035998..0de922f9 100755 --- a/website/search.php +++ b/website/search.php @@ -113,6 +113,7 @@ $sQuery = preg_replace('/\\bil\\b/','illinois', $sQuery); $sQuery = preg_replace('/\\bal\\b/','alabama', $sQuery); $sQuery = preg_replace('/\\bla\\b/','louisiana', $sQuery); + $sQuery = preg_replace('/\\bde louisiana\\b/','de la', $sQuery); } // If we have a view box create the SQL