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

FST suggester should allow saving to Directory (not just File)

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • modules/spellchecker
    • None
    • New

    Description

      Currently FSTCompletionLookup has a store method, taking "File storeDir", which it treats as a directory and then saves the FST to file "fst.bin" inside there.

      I think we should also add a store method taking a Lucene Directory? Eg then I can store my suggest FST in a RAMDir.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: