Re: Custom SearchComponent, only getting numFound back

2010-02-23 Thread Chris Hostetter
: SolrIndexSearcher.QueryCommand cmd = rb.getQueryCommand(); : SolrIndexSearcher.QueryResult result = new SolrIndexSearcher.QueryResult(); : searcher.search(result, cmd); : rb.setResult(result); : response.add("response", builder.getREsults().docList); what else do you do with "rb" before this? .

Re: Custom SearchComponent, only getting numFound back

2010-02-15 Thread cmose
A little more info. Doing some more digging it appears that result.getDocList().size() is returning 0 which would explain why I'm not getting any documents in my result. I'm not quite sure how/why that would be returning 0 while result.getDocList().matches() is returning > 0? It also looks li

Custom SearchComponent, only getting numFound back

2010-02-15 Thread cmose
I'm attempting to write a custom SearchComponent that utilizes some custom filters but i'm obviously missing something key. I extend SearchComponent and override the prepare and process methods and then set the results on the result builder a la: SolrIndexSearcher.QueryCommand cmd = rb.getQueryCo