Thank you so very much Jack for your prompt reply. Your solution worked for
us.

I have another issue in querying fields having values of the sort
<string>This is good</string><string>This is also good</string><string>This
is excellent</string>. I want to perform "StartsWith" as well as 'Contains"
searches on this field. The field definition is as follow,

  <fieldType name="cust_str" class="solr.TextField"
positionIncrementGap="100" sortMissingLast="true">
      <analyzer type="index">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.TrimFilterFactory" />
      </analyzer>
      <analyzer type="query">
         <tokenizer class="solr.KeywordTokenizerFactory"/>
         <filter class="solr.TrimFilterFactory" />
         <filter class="solr.LowerCaseFilterFactory"/>
      </analyzer>
    </fieldType>

Please suggest how to perform the above mentioned search.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Searching-for-terms-having-embedded-white-spaces-like-word1-word2-tp4064170p4064355.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to