Why is this surprising? *Assuming* that the EnglishPorterFilterFactory
doesn't stem "clai" to "cla", this makes perfect sense. And since "clai"
isn't English in the first place.....

Or am I missing something?

Have you looked at your index with Luke to see what actually gets placed
in it (i.e. whether "clai" gets indexed as "cla" as I infer you expect).

Best
Erick

On Sun, May 10, 2009 at 7:51 PM, Venu Mittal <metale...@yahoo.com> wrote:

> Hi,
>
> Wondering if somebody could help me in understanding the following behavior
> :-
>
> If I search on a text field with search query as "davi cla" then it does
> not yields any search results however if I search for "davi clai" then it
> yields me 100+ results.
>
> The field I am searching on is a text field and has following defination in
> my solr config.
>
>   <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
>      <analyzer type="index">
>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>        <filter class="solr.LowerCaseFilterFactory"/>
>        <filter class="solr.WordDelimiterFilterFactory"
> generateWordParts="1" generateNumberParts="1" catenateWords="1"
> catenateNumbers="1" catenateAll="0"/>
>        <filter class="solr.ISOLatin1AccentFilterFactory"/>
>        <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt"/>
>        <filter class="solr.EnglishPorterFilterFactory"
> protected="protwords.txt"/>
>        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>      </analyzer>
>
>
> Thanks in advance !
>
> Venu
>
>
>
>

Reply via email to