Hi Erick,
Thanks for replying. Please find the schema definitions below.

    <fieldType name="text" class="solr.TextField"
positionIncrementGap="100">
      <analyzer type="index">
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <filter
class="uk.co.portaltech.quicklive.facet.spellcheck.analyzer.QuickLiveSynonymFilterFactory"
synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt"/>
        <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="1" generateNumberParts="1" catenateWords="1"
catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.EnglishPorterFilterFactory"
protected="protwords.txt"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <filter
class="uk.co.portaltech.quicklive.facet.spellcheck.analyzer.QuickLiveSynonymFilterFactory"
synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt"/>
        <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="1" generateNumberParts="1" catenateWords="0"
catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.EnglishPorterFilterFactory"
protected="protwords.txt"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </analyzer>
    </fieldType>

Regards,
Raja


Erick Erickson wrote:
> 
> Let's see the schema definitions for the field in question and
> query handler. I suspect that your indexing process is
> splitting the word on the letter-number transitions but your
> query processing isn't (WordDelimiterFactory?), but that's
> only a guess in the absence of any data......
> 
> Erick
> 
> On Fri, Jan 8, 2010 at 7:26 AM, raja_m
> <raja.manic...@portaltech.co.uk>wrote:
> 
>>
>> Hi,
>> I am using solr for my faceted search implementation. It is an e-commerce
>> site and the facets are based on product attributes.
>>
>> I have added product code to my index. The search works well if the user
>> enters the complete product code. However if some one enters a partial
>> code,
>> the search is failing.
>>
>> For example, if the product code is ABD019T, if the user enters ABD0 or
>> ABD01 or ABD019 the search fails to bring any results. But the search for
>> ABD brings the correct result.
>>
>> Could you please let me know why I am seeing this behaviour?
>>
>> Thanks in Advance.
>>
>> Regards,
>> Raja
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Search-on-Partial-keywords-tp27075200p27075200.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Search-on-Partial-keywords-tp27075200p27077435.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to