Re: collapse exception

2010-06-23 Thread Martijn v Groningen
That is a good idea. I'm trying to achieve something similar. I'm already busy with creating a Lucene collector that groups the result set and will eventually have the same functionality as in SOLR-236. When that is solid the idea is to integrate that into Solr. I've attached a patch in LUCENE-14

Re: collapse exception

2010-06-22 Thread Erik Hatcher
Martijn - Maybe the patches to SolrIndexSearcher could be extracted into a new issue so that we can put in the infrastructure at least. That way this could truly be a drop-in plugin without it actually being in core. I haven't looked at the specifics, but I imagine we could get the core s

Re: collapse exception

2010-06-22 Thread Martijn v Groningen
I checked your stacktrace and I can't remember putting SolrIndexSearcher.getDocListAndSet(...) in the doQuery(...) method. I guess the patch was modified before it was applied. I think the error occurs when you do a field collapse search with a fq parameter. That is the only reason I can think of w

Re: collapse exception

2010-06-21 Thread Li Li
I don't know because it's patched by someone else but I can't get his help. When this component become a contrib? Using patch is so annoying 2010/6/22 Martijn v Groningen : > What version of Solr and which patch are you using? > > On 21 June 2010 11:46, Li Li wrote: >> it says  "Either filter or

Re: collapse exception

2010-06-21 Thread Martijn v Groningen
What version of Solr and which patch are you using? On 21 June 2010 11:46, Li Li wrote: > it says  "Either filter or filterList may be set in the QueryCommand, > but not both." I am newbie of solr and have no idea of the exception. > What's wrong with it? thank you. > > java.lang.IllegalArgumentE