But i want results as it is as the above query is returning. There is no problem with the results with it is returning.
Problem detail I have implemented search for my company in which in search box user can search any query. Now when a user search "water treatment plant". Then the results come back according to above given query in which the documents containing words "water" or "treatment" or "plant" or "water treatment plant" is matching. All these searched results are correct and fulfill my requirements . Along with these results i am doing faceting over cities to display. Currently all cities are displayed if they are of a record matching with any word "water" or "treatment" or "plant" or "water treatment plant". But now my requirement is to keep the records as it is but do faceting over only those cities for which complete text "water treatment plant" is matching. Is it possible by a single query to solr please suggest. Thanks a lot for your response. -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-in-faceting-tp2422182p2422353.html Sent from the Solr - User mailing list archive at Nabble.com.