SearchGenerator does not use parameterized analyzer

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 2.1.10, 2.2
    • Affects Version/s: 2.1.8, 2.1.9
    • Component/s: Blocks: Lucene
    • None
    • Patch available

      Eventhough the documentation on the SearchGenerator says the analyzer for the SearchGenerator can be parameterized, the search generator always uses the default hard-coded org.apache.lucene.analysis.standard.StandardAnalyzer.

      http://cocoon.apache.org/2.1/userdocs/search-generator.html

      I've modified the SearchGenerator in such a way that the analyzer can be defined from now on.

        1. SearchGenerator.java.patch
          3 kB
          Jeroen Reijn

            Assignee:
            Jörg Heinicke
            Reporter:
            Jeroen Reijn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: