Lucene - Core
  1. Lucene - Core
  2. LUCENE-6893

factor out CorePlusQueriesParser from CorePlusExtensionsParser

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor 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
      1. LUCENE-6893.patch
        4 kB
        Christine Poerschke
      2. LUCENE-6893.patch
        8 kB
        Christine Poerschke

        Issue Links

          Activity

          Hide
          Christine Poerschke added a comment -

          Oops, I missed out on some CorePlusExtensionsParser references, please ignore current patch, will extend/replace it later.

          Show
          Christine Poerschke added a comment - Oops, I missed out on some CorePlusExtensionsParser references, please ignore current patch, will extend/replace it later.
          Hide
          Christine Poerschke added a comment -

          attaching revised/simplified proposed patch against trunk

          Show
          Christine Poerschke added a comment - attaching revised/simplified proposed patch against trunk
          Hide
          ASF subversion and git services added a comment -

          Commit 1715343 from Christine Poerschke in branch 'dev/trunk'
          [ https://svn.apache.org/r1715343 ]

          LUCENE-6893: factor out CorePlusQueriesParser from CorePlusExtensionsParser

          Show
          ASF subversion and git services added a comment - Commit 1715343 from Christine Poerschke in branch 'dev/trunk' [ https://svn.apache.org/r1715343 ] LUCENE-6893 : factor out CorePlusQueriesParser from CorePlusExtensionsParser
          Hide
          ASF subversion and git services added a comment -

          Commit 1715368 from Christine Poerschke in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1715368 ]

          LUCENE-6893: factor out CorePlusQueriesParser from CorePlusExtensionsParser (merge in revision 1715343 from trunk)

          Show
          ASF subversion and git services added a comment - Commit 1715368 from Christine Poerschke in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1715368 ] LUCENE-6893 : factor out CorePlusQueriesParser from CorePlusExtensionsParser (merge in revision 1715343 from trunk)

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development