Bug 31182 - [PATCH] make Lucene analyzer class configurable
Summary: [PATCH] make Lucene analyzer class configurable
Status: RESOLVED FIXED
Alias: None
Product: Slide
Classification: Unclassified
Component: Search (show other bugs)
Version: 2.1
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-12 09:16 UTC by Guido Casper
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
the patch (8.12 KB, patch)
2004-09-12 09:17 UTC, Guido Casper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Casper 2004-09-12 09:16:44 UTC
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.
Comment 1 Guido Casper 2004-09-12 09:17:27 UTC
Created attachment 12709 [details]
the patch
Comment 2 Unico Hommes 2004-09-13 16:56:25 UTC
Patch applied. Thanks again :-)