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

Add fixed field intervals

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.0
    • None
    • None
    • New

    Description

      It can be useful to report intervals from one fields as if they came from another.  For example, fast prefix searches can be implemented by indexing text into two fields, one with the full terms and one with edge-ngrams enabled; to do proximity searches against terms and prefixes, you could wrap a term query against the ngrammed field so that its intervals appear to come from the normal field, and use it an an ordered or unordered interval.

      This is analogous to the FieldMaskingSpanQuery, but has the advantage that we don't use term statistics for scoring interval queries, so there is no issue with mixing up field weights from different fields.

      Attachments

        Activity

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

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment