[ https://issues.apache.org/jira/browse/SOLR-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228174#comment-14228174 ]
Daulet Kadirbekov edited comment on SOLR-6802 at 11/28/14 9:21 AM: ------------------------------------------------------------------- 1)Debug output: "debug":{ "rawquerystring":"host:kp.kz", "querystring":"host:kp.kz", "parsedquery":"host:kp.kz", "parsedquery_toString":"host:kp.kz", "explain":{...}, "QParser":"LuceneQParser", "filter_queries":["{!sentimentAnalytics cost=101}", "{!resourceAnalytics cost=112}", "{!finalAnalytics cost=121}"], "parsed_filter_queries":["SentimentAnalyticsQuery({!cache=false cost=101})", "ResourceAnalyticsQuery({!cache=false cost=112})", "FinalAnalyticsQuery({!cache=false cost=121})"], "timing":{...} 2)Docs being matched: Number of documents - 2867 Number of documents in analytics that matches query - 1924 Result of analytics: "resources":{ "31.kz":{ "total":4, "neutral":4}, "gov.kz":{ "total":157, "neutral":157}, ... "i-news.kz":{ "total":92, "neutral":92}, "kp.kz":{ "total":1924, "neutral":1924}}, was (Author: d.kadirbekov): 1)Debug output: "debug":{ "rawquerystring":"host:kp.kz", "querystring":"host:kp.kz", "parsedquery":"host:kp.kz", "parsedquery_toString":"host:kp.kz", "explain":{...}, "QParser":"LuceneQParser", "filter_queries":["{!sentimentAnalytics cost=101}", "{!resourceAnalytics cost=112}", "{!finalAnalytics cost=121}"], "parsed_filter_queries":["SentimentAnalyticsQuery({!cache=false cost=101})", "ResourceAnalyticsQuery({!cache=false cost=112})", "FinalAnalyticsQuery({!cache=false cost=121})"], "timing":{...} 2)Docs being matched: Number of documents - 2867 Number of documents in analytics that matches query - 1924 > 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 > > 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