Re: Facet not working in Solr

2012-08-30 Thread arindam chakraborty
Well yes, Thank you so much. I had lost that point of * in the main query. With that I get what I expect. This was awesome. Thanks so much On Fri, Aug 31, 2012 at 9:49 AM, Chris Hostetter wrote: > > : But faceting using the following URL gives numFound = 0, and all 0's in > the > ... >

Re: Facet not working in Solr

2012-08-30 Thread Chris Hostetter
: But faceting using the following URL gives numFound = 0, and all 0's in the ... : q=&fq=&start=0&rows=100&fl=u_height,id,score&wt=&debugQuery=on&explainOther=&facet=on&facet.range.other=all& ... : Adding a value in q with qf set like so : : *q=165.0&qf=u_height* : &fq=&start=

Re: Facet not working in Solr

2012-08-30 Thread arindam chakraborty
Again to elaborate, the documents all have an indexed field called u_height which is between 160.0 to 172.0 Range queries work on them with the lucene and edismax. But faceting using the following URL gives numFound = 0, and all 0's in the facet counts q=&fq=&start=0&rows=100&fl=u_height,id,scor

Re: Facet not working in Solr

2012-08-30 Thread arindam chakraborty
Okay my bad for the lack of info : - When I say doesn't work means numFound = 0 - Whereas range queries on the same fields give documents - Even adding a value in q gives numFound = 0. using all 3 types of parsers. Even if dismax doesn't support range queries. edismax and lucene sh

Re: Facet not working in Solr

2012-08-30 Thread Chris Hostetter
: Query parser = dismax : range query : : q=field:[a TO b] : : DOESN'T WORK (Less important question. WHY?) dismax does not support range query syntax, it never has... https://wiki.apache.org/solr/DisMaxQParserPlugin#Query_Syntax : Facet: ... : DOESN'T WORK. Define "DOESN'T WORK" ...