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

Loosen up DirectSpellChecker's minPrefix requirements

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0
    • None
    • None
    • None
    • New

    Description

      DirectSpellChecker currently mandates a minPrefix of 1 when editDistance=2. This prohibits a query of "nusglasses" from matching the indexed "sunglasses" term.

      Granted, there can be performance issues with using a minPrefix of 0, but it's a risk that a user should be allowed to take if needed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ehatcher Erik Hatcher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: