Name | Description |
---|---|
PathHierarchyTokenizer | Tokenizer for path-like hierarchies. Take something like: /something/something/elseand make: /something /something/something /something/something/else |
PathHierarchyTokenizerFactory | Factory for PathHierarchyTokenizer. This factory is typically configured for use only in the For example, in the configuration below a query for <fieldType name="descendent_path" class="solr.TextField"> <analyzer type="index"> <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" /> </analyzer> <analyzer type="query"> <tokenizer class="solr.KeywordTokenizerFactory" /> </analyzer> </fieldType> In this example however we see the oposite configuration, so that a query for <fieldType name="descendent_path" class="solr.TextField"> <analyzer type="index"> <tokenizer class="solr.KeywordTokenizerFactory" /> </analyzer> <analyzer type="query"> <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" /> </analyzer> </fieldType> |
ReversePathHierarchyTokenizer | Tokenizer for domain-like hierarchies. Take something like: www.site.co.ukand make: www.site.co.uk site.co.uk co.uk uk |