Re: collapse filter query

2016-01-15 Thread Joel Bernstein
The bug only occurs if you collapse on a numeric field. If you can re-index the field into a String field it should work fine. You can also use grouping with facets. Depending on you usecase this might be your best choice: https://cwiki.apache.org/confluence/display/solr/Result+Grouping Joel Ber

Re: collapse filter query

2016-01-15 Thread sara hajili
Tnx Joel. I wanted to get distinct result from solr.so I found to approach collapse filter and facet. And more like this doesn't support facet. And as u said solr 5.3 has bug on collapse filter. If I wont to immigrate to solr 5.4. Is any other approach to get distinct value that I can use in solr

Re: collapse filter query

2016-01-11 Thread Joel Bernstein
I went to go work on the issue and found it was already fixed 7 weeks ago. The bug fix is available in Solr 5.4. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Jan 11, 2016 at 3:12 PM, Susheel Kumar wrote: > You can go to https://issues.apache.org/jira/browse/SOLR/ and create Jira > ticke

Re: collapse filter query

2016-01-11 Thread Susheel Kumar
You can go to https://issues.apache.org/jira/browse/SOLR/ and create Jira ticket after signing in. Thanks, Susheel On Mon, Jan 11, 2016 at 2:15 PM, sara hajili wrote: > Tnx.How I can create a jira ticket? > On Jan 11, 2016 10:42 PM, "Joel Bernstein" wrote: > > > I believe this is a bug. I thin

Re: collapse filter query

2016-01-11 Thread Joel Bernstein
I'll create it later today and update this thread with the Jira number. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Jan 11, 2016 at 2:15 PM, sara hajili wrote: > Tnx.How I can create a jira ticket? > On Jan 11, 2016 10:42 PM, "Joel Bernstein" wrote: > > > I believe this is a bug. I th

Re: collapse filter query

2016-01-11 Thread sara hajili
Tnx.How I can create a jira ticket? On Jan 11, 2016 10:42 PM, "Joel Bernstein" wrote: > I believe this is a bug. I think the reason this is occurring is that you > have an index segment with no values at all in the collapse field. If you > could create a jira ticket for this I will look at resolv

Re: collapse filter query

2016-01-11 Thread Joel Bernstein
I believe this is a bug. I think the reason this is occurring is that you have an index segment with no values at all in the collapse field. If you could create a jira ticket for this I will look at resolving the issue. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Jan 11, 2016 at 2:03 PM,

Re: collapse filter query

2016-01-11 Thread sara hajili
I am using solr 5.3.1 On Jan 11, 2016 10:30 PM, "Joel Bernstein" wrote: > Which version of Solr are you using? > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Mon, Jan 11, 2016 at 6:39 AM, sara hajili > wrote: > > > hi all > > i have a MLT query and i wanna to use collapse filter query

Re: collapse filter query

2016-01-11 Thread Joel Bernstein
Which version of Solr are you using? Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Jan 11, 2016 at 6:39 AM, sara hajili wrote: > hi all > i have a MLT query and i wanna to use collapse filter query. > and i wanna to use collapse expand nullPolicy. > in this way when i used it : > {!colla