Mikhail Khludnev created LUCENE-7452:
----------------------------------------

             Summary: improve exception message: child query must only match 
non-parent docs, but parent docID=180314...
                 Key: LUCENE-7452
                 URL: https://issues.apache.org/jira/browse/LUCENE-7452
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
    Affects Versions: 6.2
            Reporter: Mikhail Khludnev
            Priority: Minor


when parent filter intersects with child query the exception exposes internal 
details: docnum and scorer class. I propose an exception message to suggest to 
execute a query intersecting them both. There is an opinion to add this  
suggestion in addition to existing details. 
My main concern against is, when index is constantly updated even SOLR-9582 
allows to search for docnum it would be like catching the wind, also think 
about cloud case. But, user advised with executing query intersection can catch 
problem documents even if they occurs sporadically.  



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