You can just use synonyms for that.. rather hackish but it works

On Mon, 9 Apr 2018, 05:06 Sami al Subhi, <s...@alsubhi.me> wrote:

> I think this filter will output the desired result:
>
> <analyzer type="query">
>    <tokenizer class="solr.StandardTokenizerFactory"/>
>    <filter class="solr.LowerCaseFilterFactory"/>
>    <filter class="solr.ShingleFilterFactory"/>
> </analyzer>
> <analyzer type="index">
>    <tokenizer class="solr.StandardTokenizerFactory"/>
>    <filter class="solr.LowerCaseFilterFactory"/>
>    <filter class="solr.FingerprintFilterFactory" separator=" " />
> </analyzer>
>
> indexing:
> "iPhone 6" will be indexed as "iphone 6" (always a single token)
>
> querying:
> so this will analyze "Apple iPhone 6 32GB white" to "apple", "apple
> iphone",
> "iphone", "iphone 6" and so on...
> then here a match will be achieved using the 4th token.
>
>
>  I dont see how this will result in false positive matching.
>
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>

Reply via email to