In this situations I would suggest you to use the DebugQuery=true.
To simplify the understanding you can also use : splainer.io .
Really nice tool to quickly identify why a document is there.

Cheers

2015-06-23 15:37 GMT+01:00 Freakheart <subash.kouti...@classing.de>:

> I am trying to set up Solr for my data, I have configured all the things
> and
> the search seems to be working fine but some times I am getting weird
> results.
>
> For example if I am searching for a term 'vicryl ctx 2-0 70' in the results
> I have
>
> 1. VICRYL VIOLETT GEFL | 2-0 | 1 x CTX PLUS | 1 x 70 | - | 36
> 2. VICRYL PLUS VIOLETT GEFL | 2-0 | 1 x CTX PLUS | 1 x 70 | - | 36
> 3. SPONGOSTAN* Film Gelatinehämostyptikum, 200 x 70 x 0,5 mm
> 4. SPONGOSTAN* Standard Gelatinehämostyptikum, 70 x 50 x 10 mm
> 5. SPONOGSTAN* Spezial Gelatinehämostyptikum, 70 x 50 x 1 mm
> 6. VICRYL VIOL GEFL VIOLETT GEFL | 2-0 | 1 x SH1 PLUS | 1 x 70 | - | 12
>
> I don't understand why I am getting results no.4 and no.5 before no.6. I
> looked at analysis and I found nothing wrong with that...
>
> Below is my schema.xml
>
>     <fieldtype class="solr.TextField" name="text_exact_matches"
> positionIncrementGap="100">
>  <analyzer type="index">
>     <tokenizer class="solr.KeywordTokenizerFactory"/>
>     <filter class="solr.LowerCaseFilterFactory"/>
>   </analyzer>
>   <analyzer type="query">
>     <tokenizer class="solr.KeywordTokenizerFactory"/>
>     <filter class="solr.LowerCaseFilterFactory"/>
>   </analyzer>
> </fieldtype>
>
> <fieldtype class="solr.TextField" name="text_related_matches"
> positionIncrementGap="100">
>  <analyzer type="index">
>     <tokenizer class="solr.ClassicTokenizerFactory"/>
>     <filter class="solr.LowerCaseFilterFactory"/>
>   </analyzer>
>   <analyzer type="query">
>     <tokenizer class="solr.ClassicTokenizerFactory"/>
>     <filter class="solr.LowerCaseFilterFactory"/>
>   </analyzer>
> </fieldtype>
>
> Any help or suggestions will be much appreciated..Thanks
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-returning-weird-results-tp4213467.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Reply via email to