You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2004/09/12 11:16:46 UTC

DO NOT REPLY [Bug 31182] New: - [PATCH] make Lucene analyzer class configurable

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31182>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31182

[PATCH] make Lucene analyzer class configurable

           Summary: [PATCH] make Lucene analyzer class configurable
           Product: Slide
           Version: 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Search
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: gcasper@s-und-n.de


The current implementation is hard coded to use Lucene's StandardAnalyzer 
class. The attached patch makes this configurable i.e.
<contentindexer classname="org.apache.slide.index.TextContentIndexer">
  <parameter name="indexpath">./index</parameter>
  <parameter name="includes">/files</parameter>
  <parameter 
name="analyzer">org.apache.lucene.analysis.de.GermanAnalyzer</parameter>
</contentindexer>

StandardAnalyzer still is the default.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org