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

Add getters for the properties of several Query implementations

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0, 6.1, 7.0
    • Component/s: core/query/scoring
    • Labels:
    • Lucene Fields:
      New, Patch Available

      Description

      Hi!

      At Hibernate Search, we are currently working on an Elasticsearch backend (aside from the existing Lucene backend).

      As part of this effort, to provide a smooth migration path, we need to be able to rewrite the Lucene queries as Elasticsearch queries. We know it will be neither perfect or comprehensive but we want it to be the best possible experience.

      It works well in many cases but several implementations of Query don't have the necessary getters to be able to extract the information from the Query.

      The attached patch add getters to several implementations of Query. It would be nice if it could be applied.

      Any chance it could be applied to the next point release too? (probably not but I'd better ask).

        Attachments

          Activity

            People

            • Assignee:
              romseygeek Alan Woodward
              Reporter:
              gsmet Guillaume Smet
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: