reverse phrase search in zend lucene
问题 Basically I have two tables Location and city , The city has city_name and country_code. location_name field from location table has locations. I want to find the location country. My table structure. City table City country_code city_name US Kansas city ......... (thousands of world country cities) Location table Location location_name Kansas city, mo Kansas city Kansas city, us uSA, Kansas city etc... So I Indexed the two fields(country_code and city_name) in city table using Zend Lucene