Re: Problem in faceting

2011-02-04 Thread Bagesh Sharma
Sending two separate queries is an approach but i think it may affect performance of the solr because for every new search there will be two queries to solr due to this reason i was thinking to do it by a single query. I am going to implement it with two queries now but if any thing is found usefu

RE: Problem in faceting

2011-02-04 Thread Pierre GOSSE
solr-user@lucene.apache.org Objet : RE: Problem in faceting facet.query=+water +treatement +plant will not return the city facet that is needed by poster. That will give the counts matching the query facet.query=+water +treatement +plant only - Thanx: Grijesh http://lucidimagination.com --

RE: Problem in faceting

2011-02-04 Thread Grijesh
facet.query=+water +treatement +plant will not return the city facet that is needed by poster. That will give the counts matching the query facet.query=+water +treatement +plant only - Thanx: Grijesh http://lucidimagination.com -- View this message in context: http://lucene.472066.n3.nabble

RE: Problem in faceting

2011-02-04 Thread Pierre GOSSE
Using a facet query like facet.query=+water +treatement +plant ... should give a count of 0 to documents not having all tree terms. This could do the trick, if I understand how this parameter works.

Re: Problem in faceting

2011-02-04 Thread Grijesh
Try solr's new Local Params ,may that will help for your requirement. http://wiki.apache.org/solr/LocalParams - Thanx: Grijesh http://lucidimagination.com -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-in-faceting-tp2422182p2422534.html Sent from the Solr - Use

Re: Problem in faceting

2011-02-04 Thread Bagesh Sharma
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

Re: Problem in faceting

2011-02-04 Thread Grijesh
change the default operator from "OR" to "AND" by using q.op or in schema - Thanx: Grijesh http://lucidimagination.com -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-in-faceting-tp2422182p248.html Sent from the Solr - User mailing list archive at Nabble.com.