You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/02/04 17:36:44 UTC

[Solr Wiki] Update of "AnalyzersTokenizersTokenFilters" by KojiSekiguchi

Dear Wiki user,

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

The "AnalyzersTokenizersTokenFilters" page has been changed by KojiSekiguchi.
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters?action=diff&rev1=103&rev2=104

--------------------------------------------------

     </fieldType>
  }}}
  See the javadoc for details.
+ 
+ === solr.PathHierarchyTokenizerFactory ===
+ Outputs file path hierarchies as synonyms.
+ 
+ ||'''Input String'''||'''Output Tokens'''||
+ ||/usr/local/apache||/usr<br/>/usr/local<br/>/usr/local/apache||
+ 
+ {{{
+   <fieldType name="text_path" class="solr.TextField" positionIncrementGap="100">
+     <analyzer>
+       <tokenizer class="solr.PathTokenizerFactory" delimiter="\" replace="/"/>
+     </analyzer>
+   </fieldType>
+ }}}
  
  == TokenFilterFactories ==