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.getQueryCommand();
SolrIndexSearcher.QueryResult result = new SolrIndexSearcher.QueryResult();
searcher.search(result, cmd);
rb.setResult(result);
response.add("response", builder.getREsults().docList);


However, when I execute a query against the handler using this component, I
get a empty result element e.g., 

<result name="response" numFound="300" start="0"/>

I'm not quite sure where I'm falling down here and how I'm getting a > 0
numFound yet an empty result element...
Thanks much
-- 
View this message in context: 
http://old.nabble.com/Custom-SearchComponent%2C-only-getting-numFound-back-tp27596624p27596624.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to