lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: tomcat install
Date Tue, 19 Sep 2006 18:58:29 GMT

: I have went through my archives and I have found that people also have used
: something similar to:
:
: <fieldtype name="text" class="solr.TextField">
:      <analyzer class="org.apache.lucene.analysis.ja.JapaneseAnalyzer"/>
: </fieldtype>

Correct.  If you want to use a Lucene analyzer "as is" all you need to do
is specify the class name.  if you wnat to make an analyzer on the fly
from a tokenizer and some tokenfilters -- you need factories for each.

I would start by trying to use the CJKAnalyzer as is with the syntax
described above.  once you get that working, then look at what it takes to
write factories for the tokeinizer so you can mix/match it with other
token filters.


-Hoss


Mime
View raw message