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

Can we make QueryBuilder.createFieldQuery un-final?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • None
    • None
    • New

    Description

      It's marked final, I assume because we want people who customize their query parsers to only override newXXXQuery instead.

      But for deeper query parser customization, like using exploring consuming a graph and creating a TermAutomatonQuery, or a union of PhraseQuery, etc., it is not possible today and one must fork the class.

      Attachments

        1. LUCENE-7560.patch
          4 kB
          Michael McCandless

        Activity

          People

            Unassigned Unassigned
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: