Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7452

improve exception message: child query must only match non-parent docs, but parent docID=180314...

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.2
    • 6.3, 7.0
    • core/search
    • None
    • New

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mkhl Mikhail Khludnev
            mkhl Mikhail Khludnev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment