[ 
https://issues.apache.org/jira/browse/SOLR-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daulet Kadirbekov closed SOLR-6802.
-----------------------------------

In DelegateCollector class in method collect docNum value is per-segment. If 
you want to get a global value, you need to add this.docBase.
Document doc = indexSearcher.doc(docNum + this.docBase)

> Solr AnalyticsQuery API returns analytics by documents that don't match query
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-6802
>                 URL: https://issues.apache.org/jira/browse/SOLR-6802
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>    Affects Versions: 4.10.2
>            Reporter: Daulet Kadirbekov
>            Priority: Critical
>         Attachments: Analytics_API_problem.rar
>
>
> Solr AnalyticsQuery API returns analytics by documents that don't match query.
> Example:
> Solr query: domain:example.com
> I looked for all documents by /select search handler and all of this 
> documents was belonged to example.com domain.
> But when I looked in analytics for documents, I have found that there are 
> many documents which don't match query. But number of documents is the same.



--
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