lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Trivial Update of "AnalyzersTokenizersTokenFilters" by JoachimZiegler
Date Mon, 10 Mar 2008 16:27:12 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by JoachimZiegler:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters

The comment on the change is:
Typos

------------------------------------------------------------------------------
  
  == Specifying an Analyzer in the schema ==
  
- A Solr schema.xml file allows two methods for specifying they way a text field is analyzed.
(Normally only fieldtypes of `solr.TextField` will have Analyzers explicitly specified in
the schema): 
+ A Solr schema.xml file allows two methods for specifying the way a text field is analyzed.
(Normally only field types of `solr.TextField` will have Analyzers explicitly specified in
the schema): 
  
    1.  Specifying the '''class name''' of an Analyzer &#151; anything extending org.apache.lucene.analysis.Analyzer.
[[BR]] Example: [[BR]] {{{
  <fieldtype name="nametext" class="solr.TextField">
@@ -59, +59 @@

  </fieldtype>
  }}}
  
- Any Analyzer, !TokenizerFactory, or !TokenFilterFactory may be specified using its full
class name with package -- just make sure they are in Solr's classpath when you start your
appserver.  Classes in the "`org.apache.solr.analysis.*`" package can be referenced using
the short alias "`solr.*`".
+ Any Analyzer, !TokenizerFactory, or !TokenFilterFactory may be specified using its full
class name with package -- just make sure they are in Solr's classpath when you start your
appserver.  Classes in the `org.apache.solr.analysis.*` package can be referenced using the
short alias `solr.*`.
  
  If you want to use custom Tokenizers or !TokenFilters, you'll need to write a very simple
factory that subclasses !BaseTokenizerFactory or !BaseTokenFilterFactory, something like this...
  {{{

Mime
View raw message