You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/04/05 11:55:17 UTC

[Solr Wiki] Update of "PreAnalyzedField" by AndrzejBialecki

Dear Wiki user,

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

The "PreAnalyzedField" page has been changed by AndrzejBialecki:
http://wiki.apache.org/solr/PreAnalyzedField?action=diff&rev1=3&rev2=4

   * SimplePreAnalyzedParser - uses a simple strict plain text format, which in some situations may be easier to create than JSON.
  
  == Configuration options ==
- There is only one configuration parameter, `parserImpl`. The value of this parameter should be a fully qualified class name of a class that implements PreAnalyzedParser interface. The default value of this parameter is `org.apache.solr.schema.JsonPreAnalyzedParser`.
+ There is only one configuration parameter, `parserImpl`. The value of this parameter should be a fully qualified class name of a class that implements PreAnalyzedParser interface (since Solr 4.3 you can also use `json` or `simple` as shortcuts for the two included implementations). The default value of this parameter is `org.apache.solr.schema.JsonPreAnalyzedParser` (or `json`).
  
  Here's an example of how to define the type and a field that uses this type in `schema.xml`:
  {{{