Hi,

I have a doc that contains "Hello World" in the title field and title is of
type of text_general.

When I am searching with

 title:"Hello Wo*" -- not returning
 title:"Hello World" -- returning

Could you please explain what I am missing? I have used
WhitespaceTokenizerFactory instead of StandardTokenizerFactory. But no luck.

<fieldType name="text_general" class="solr.TextField"
positionIncrementGap="100">
      <analyzer type="index">
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" />
        <filter class="solr.LowerCaseFilterFactory"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" />
        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
ignoreCase="true" expand="true"/>
        <filter class="solr.LowerCaseFilterFactory"/>
      </analyzer>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/not-working-in-Phrase-Search-in-solar-4-4-tp4092205.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to