Hi, how can I search for an exact phrase using ZendSearch\Lucene API? I have a field called hosts (indexed and tokenized) which contains host names separated by space (like "www.site1.com www.site2.com www.site3.net"). I need to search the index and find documents which contain the specified host name in the hosts field. It's easy using the string search:
$index->find('hosts:www.site3.net'); but how can I construct this query using the Lucene API? Thanks for any suggestions. David ----- David Lukas (dlu-gs) www.zfdaily.com -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZendSearch-API-for-exact-phrase-search-tp4658241.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com