You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2018/07/05 21:14:00 UTC

[jira] [Closed] (SOLR-119) debugQuery explain info doesn't work for pure negative queries

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

Alexandre Rafalovitch closed SOLR-119.
--------------------------------------

> debugQuery explain info doesn't work for pure negative queries
> --------------------------------------------------------------
>
>                 Key: SOLR-119
>                 URL: https://issues.apache.org/jira/browse/SOLR-119
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>            Reporter: Hoss Man
>            Priority: Trivial
>
> SOLR-80 added support for purely negative queries to SolrIndexSearcher - but this was done at a low enough level that the RequestHandlers don't know when the query is being internal modified, and the debugQuery info is not accurate, you can see this by installing the example setup and looking at this URL...
> http://localhost:8983/solr/select/?q=-solr&version=2.2&start=0&rows=1&indent=on&fl=id,score&debugQuery=1
> ...note the explain issue ways hte document doesn't match.
> this is a fairly minor issue, since trying to get score information for a completley negative query is fairly meaningless; even if the score info were correct it would just say something to the efect of "1.0 : MatchAllDocs"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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