Re: Changing the DocCollector

2011-08-31 Thread Jamie Johnson
Believe I found it, wasn't populating the docset and doclist. Again thanks for all of the support. On Tue, Aug 30, 2011 at 11:00 PM, Jamie Johnson wrote: > Found score, so this works for regular queries but now I'm getting an > exception when faceting. > > SEVERE: Exception during facet.field of

Re: Changing the DocCollector

2011-08-30 Thread Jamie Johnson
Found score, so this works for regular queries but now I'm getting an exception when faceting. SEVERE: Exception during facet.field of type:java.lang.NullPointerException at org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:451) at org.apache.solr.request

Re: Changing the DocCollector

2011-08-30 Thread Jamie Johnson
So I looked at doing this, but I don't see a way to get the scores from the docs as well. Am I missing something in that regards? On Mon, Aug 29, 2011 at 8:53 PM, Jamie Johnson wrote: > Thanks Hoss.  I am actually ok with that, I think something like > 50,000 results from each shard as a max wou

Re: Changing the DocCollector

2011-08-29 Thread Jamie Johnson
Thanks Hoss. I am actually ok with that, I think something like 50,000 results from each shard as a max would be reasonable since my check takes about 1s for 50,000 records. I'll give this a whirl and see how it goes. On Mon, Aug 29, 2011 at 6:46 PM, Chris Hostetter wrote: > > : Also I see that

Re: Changing the DocCollector

2011-08-29 Thread Chris Hostetter
: Also I see that this is before sorting, is there a way to do something : similar after sorting? The reason is that I'm ok with the total : result not being completely accurate so long as the first say 10 pages : are accurate. The results could get more accurate as you page through : them thoug

Re: Changing the DocCollector

2011-08-29 Thread Yonik Seeley
On Mon, Aug 29, 2011 at 12:44 PM, Jamie Johnson wrote: > Also I see that this is before sorting, is there a way to do something > similar after sorting? If you want post-sorting, then you don't want anything based on Collector. A custom search component that runs after the query component (or a c

Re: Changing the DocCollector

2011-08-29 Thread Jamie Johnson
I am also not seeing this in my distribution, in what release of Solr did this get introduced? On Mon, Aug 29, 2011 at 12:44 PM, Jamie Johnson wrote: > Also I see that this is before sorting, is there a way to do something > similar after sorting?  The reason is that I'm ok with the total > resul

Re: Changing the DocCollector

2011-08-29 Thread Jamie Johnson
Also I see that this is before sorting, is there a way to do something similar after sorting? The reason is that I'm ok with the total result not being completely accurate so long as the first say 10 pages are accurate. The results could get more accurate as you page through them though. Does th

Re: Changing the DocCollector

2011-08-29 Thread Jamie Johnson
This is related to post processing of documents based on a users attribute (like service tier for instance) when it is not feasible to put the tier tokens into solr and just do a query on them. So basically if I always want to run this I could implement a custom search component and in prepare mod

Re: Changing the DocCollector

2011-08-29 Thread Yonik Seeley
On Mon, Aug 29, 2011 at 12:24 PM, Jamie Johnson wrote: > Is there any configuration that can be done to change the Doc > Collector used in SolrIndexSearcher? The most generic way would be to use a post-filter (which can insert a custom collector into the chain). http://wiki.apache.org/solr/Common

Changing the DocCollector

2011-08-29 Thread Jamie Johnson
Is there any configuration that can be done to change the Doc Collector used in SolrIndexSearcher?