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

factor out CorePlusQueriesParser from CorePlusExtensionsParser

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None
    • 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
          8 kB
          Christine Poerschke
        2. LUCENE-6893.patch
          4 kB
          Christine Poerschke

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment