Lucene - Core
  1. Lucene - Core
  2. LUCENE-1621

deprecate term and getTerm in MultiTermQuery

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This means moving getTerm and term up to sub classes as appropriate and reimplementing equals, hashcode as appropriate in sub classes.

      1. LUCENE-1621.patch
        16 kB
        Mark Miller
      2. LUCENE-1621.patch
        9 kB
        Mark Miller

        Activity

        Hide
        Mark Miller added a comment -

        a quick first pass at this

        Show
        Mark Miller added a comment - a quick first pass at this
        Hide
        Mark Harwood added a comment -

        While we're poking around in this area I'd like to point out the long-standing open issue in LUCENE-329.

        Matching "Smyth" over "Smith" when doing a search for "Smith~" is just plain broken but this is what I see all the time with FuzzyQuery and it's default approach to IDF. I think we need to take the sort of logic in contrib's FuzzyLikeThisQuery to address this.

        Show
        Mark Harwood added a comment - While we're poking around in this area I'd like to point out the long-standing open issue in LUCENE-329 . Matching "Smyth" over "Smith" when doing a search for "Smith~" is just plain broken but this is what I see all the time with FuzzyQuery and it's default approach to IDF. I think we need to take the sort of logic in contrib's FuzzyLikeThisQuery to address this.
        Hide
        Michael McCandless added a comment -

        Patch looks good on read through!

        Show
        Michael McCandless added a comment - Patch looks good on read through!
        Hide
        Mark Miller added a comment -

        couple fixes regarding hashcode/equals

        Show
        Mark Miller added a comment - couple fixes regarding hashcode/equals

          People

          • Assignee:
            Mark Miller
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development