[ 
https://issues.apache.org/jira/browse/SOLR-6818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235301#comment-14235301
 ] 

Daulet Kadirbekov commented on SOLR-6818:
-----------------------------------------

Joel,

I have solved this problem with getting document by Document doc = 
searcher.doc(docNum + this.docBase). It works great, but you are saying that 
there are better way to get document fields. Could you give example, or link to 
example of how to get document fields by cache? I have googled it, but didn't 
found anything.

> Delegating collector in Analytics API returns not right docNum in collect 
> method
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-6818
>                 URL: https://issues.apache.org/jira/browse/SOLR-6818
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.10.2
>            Reporter: Daulet Kadirbekov
>
> Delegating collector in Analytics API returns not right docNum in collect 
> method.
> I have used Analytics API in my solr. I created ResourceAnalyticsCollector 
> which extends DelegatingCollector class. In that class there is collect(int 
> docNum) method. This is the continue of 
> https://issues.apache.org/jira/browse/SOLR-6802 issue. The problem that I 
> found that the docNum value is repeated in collect method of 
> DelegatingCollector. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to