You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2014/12/04 10:44:13 UTC

[jira] [Commented] (SOLR-6818) Delegating collector in Analytics API returns not right docNum in collect method

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

Alan Woodward commented on SOLR-6818:
-------------------------------------

docNum is per-segment.  If you want to get a global value, you need to add this.docBase.

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org