Hi Lee,

You can use :
final DocList docList = rb.getResults().docList;

And if you want to access individual field values, use solrpluginutils' static 
method to obtain SolrDocumentList

SolrDocumentList solrDocs = docListToSolrDocumentList(rb.getResults().docList, 
req.getSearcher(), fields);

Ahmet


On Wednesday, July 30, 2014 12:01 PM, Lee Chunki <lck7...@coupang.com> wrote:
Hi,

I am building a new component and it run a new query depend on previous query 
result.
solrconfig.xml setting is like :

      <arr name="components">
        <str>query</str>
        <str>newComponent</str>
        <str>facet</str>
        <str>mlt</str>
        <str>highlight</str>
        <str>stats</str>
        <str>debug</str>
      </arr>

Do you know how can I get “query component” result at “newComponent”?

I am working with “ResponseBuilder” ( 
http://lucene.apache.org/solr/4_1_0/solr-core/org/apache/solr/handler/component/ResponseBuilder.html#retrievedDocuments)
but could not find any ways :(
because I am not good at JAVA

At least what I want to know is “number of query component result”

Thanks,
Chunki.

Reply via email to