lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SolrLover <>
Subject Re: Exact Search Problem
Date Fri, 26 Jul 2013 17:52:47 GMT
May be this wont work, but just a thought...Cant you use
PathHierarchyTokenizerFactory and configure as below?

In this example however we see the oposite configuration, so that a query
for Books/NonFic/Science/Physics would match documents containing
Books/NonFic, Books/NonFic/Science, or Books/NonFic/Science/Physics, but not
Books/NonFic/Science/Physics/Theory or Books/NonFic/Law.

 <fieldType name="descendent_path" class="solr.TextField">
   <analyzer type="index">
     <tokenizer class="solr.KeywordTokenizerFactory" />
   <analyzer type="query">
     <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" />

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message