Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-491

[ENH] LuceneSearchService - configurable analyzer, specified by class-name.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6-dev
    • 1.6-dev
    • Miscellaneous
    • None
    • All

    Description

      I wanted the ability to switch out which analyzer was being used in the Search - I noticed that the LuceneSearchService was hard-coded to use the SimpleAnalyzer.
      So, I changed that to be configurable via a property file, a la:

      services.Search.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer

      • or -
        services.Search.analyzer=org.apache.lucene.analysis.SimpleAnalyzer
      • or -
        services.Search.analyzer=org.apache.lucene.analysis.ru.RussianAnalyzer

      etc.

      Patch submitted to jetspeed-dev

      Attachments

        1. lucene-analyzer.txt
          3 kB
          Jeremy Lewis Ford

        Activity

          People

            jford Jeremy Lewis Ford
            enriquelara_6009 Enrique Lara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: