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

factor out CorePlusQueriesParser from CorePlusExtensionsParser

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      proposed change (patch against trunk to follow):

      before:

      • CorePlusExtensionsParser extends CoreParser
      • CorePlusExtensionsParser uses (LikeThis|Boosting)QueryBuilder which uses org.apache.lucene.queries.(BoostingQuery|mlt.MoreLikeThisQuery)
      • CorePlusExtensionsParser uses FuzzyLikeThisQueryBuilder which uses org.apache.lucene.sandbox.queries.(FuzzyLikeThisQuery|SlowFuzzyQuery)

      after:

      • CorePlusQueriesParser extends CoreParser
      • CorePlusQueriesParser uses (LikeThis|Boosting)QueryBuilder which uses org.apache.lucene.queries.(BoostingQuery|mlt.MoreLikeThisQuery)
      • CorePlusExtensionsParser extends CorePlusQueriesParser
      • CorePlusExtensionsParser uses FuzzyLikeThisQueryBuilder which uses org.apache.lucene.sandbox.queries.(FuzzyLikeThisQuery|SlowFuzzyQuery)

      motivation:

      • we wish to use or inherit from a CorePlus...Parser and use org.apache.lucene.queries.* but not pull in any org.apache.lucene.sandbox.* code

        Attachments

        1. LUCENE-6893.patch
          4 kB
          Christine Poerschke
        2. LUCENE-6893.patch
          8 kB
          Christine Poerschke

          Issue Links

            Activity

              People

              • Assignee:
                cpoerschke Christine Poerschke
                Reporter:
                cpoerschke Christine Poerschke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: