Note that you can use a standard Lucene Analyzer subclass too. The
example schema shows how with this commented out:
<fieldType name="text_greek" class="solr.TextField">
<analyzer class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
</fieldType>
Erik
On Nov 19, 2008, at 6:24 PM, Glen Newton wrote:
Thanks.
I've decided to use:
<fieldType name="textN" class="solr.TextField"
positionIncrementGap="100" >
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StandardFilterFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.StopFilterFactory"/>
</analyzer>
</fieldType>
which appears to be close to what is found at
http://lucene.apache.org/java/2_3_1/api/index.html
"Filters StandardTokenizer with StandardFilter, LowerCaseFilter and
StopFilter, using a list of English stop words."
-Glen
2008/11/19 Otis Gospodnetic <[EMAIL PROTECTED]>:
Glen:
$ ff \*Standard\*java | grep analysis
./src/java/org/apache/solr/analysis/
HTMLStripStandardTokenizerFactory.java
./src/java/org/apache/solr/analysis/StandardFilterFactory.java
./src/java/org/apache/solr/analysis/StandardTokenizerFactory.java
Does that do it?
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
________________________________
From: Glen Newton <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Wednesday, November 19, 2008 2:49:26 PM
Subject: Solr schema Lucene's StandardAnalyser equivalent?
Hello,
I am looking for the Solr schema equivalent to Lucene's
StandardAnalyser.
Is it the Solr schema type:
<fieldType name="text" class="solr.TextField"........
Is there some way of directly invoking Lucene's StandardAnalyser?
Thanks,
Glen
--
-
--
-