Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-179

SnowballFilter speed improvment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • Lucene.Net 2.9.2
    • Lucene.Net 3.0.3
    • Lucene.Net Contrib
    • None

    Description

      I'm using Lucene.Net along with snowball stemming to index text from a database. The class Lucene.Net.Analysis.Snowball.SnowballFilter uses the reflection API and the invoke method to call the stem methods of snowball. I have written a Snowball filter which creates a delegate and uses this delegate to stem the words afterwards. This approach improves the indexing speed of my indexing program by about 10%. I would be happy if you include this code into lucene.net.

      Attachments

        1. FailOverSnowballFilter.cs
          2 kB
          Arian Bär

        Activity

          People

            Unassigned Unassigned
            anbaer Arian Bär
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: