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

Allow access to submatches from Matches instances

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      A Matches object currently allows access to all matching terms from a query, but the structure of the matching query is flattened out, so if you want to find which subqueries have matched you need to iterate over all matches, collecting queries as you go. It should be easier to get this information from the parent Matches object.

        Attachments

        1. LUCENE-8747.patch
          14 kB
          Alan Woodward
        2. LUCENE-8747.patch
          13 kB
          Alan Woodward
        3. LUCENE-8747.patch
          7 kB
          Alan Woodward
        4. LUCENE-8747.patch
          8 kB
          Alan Woodward
        5. LUCENE-8747.patch
          20 kB
          Alan Woodward

          Activity

            People

            • Assignee:
              romseygeek Alan Woodward
              Reporter:
              romseygeek Alan Woodward
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: