I see the problem, instead of using debugQuery directly you might want to
check out splainer (http://splainer.io) it can help detect these sorts of
relevance problems. For example, in your case you just need to wrap the
search in parenthesis.

There's a difference between text:foo bar and text:(foo bar). Without the
parethesis the "bar" goes to the default search field. Instead of
q=title_deu:Software%20und%20Downloads try q=title_deu:(Software%
20und%20Downloads)

This example shows your problem using a different Solr instance, you can
see "hunting" matches are happening in text, not the catch_line field

http://splainer.io/#?solr=http:%2F%2Fsolr.quepid.com%2Fsolr%2Fstatedecoded%2Fselect%3Fq%3Dcatch_line:deer%20hunting

wrap in parens and viola, both matches go to the catch_line field:

http://splainer.io/#?solr=http:%2F%2Fsolr.quepid.com%2Fsolr%2Fstatedecoded%2Fselect%3Fq%3Dcatch_line:(deer%20hunting)

Hope that helps
-Doug

On Tue, May 19, 2015 at 1:45 PM, shamik <sham...@gmail.com> wrote:

> Thanks Doug. I'm using eDismax
>
> Here's my Solr query :
>
>
> http://localhost:8983/solr/testhandlerdeu?debugQuery=true&q=title_deu:Software%20und%20Downloads
>
> Here's my request handler.
>
> <requestHandler name="/testhandlerdeu" class="solr.SearchHandler">
>                 <lst name="defaults">
>                         <str name="echoParams">explicit</str>
>                         <float name="tie">0.01</float>
>                         <str name="wt">velocity</str>
>                         <str name="v.template">browse</str>
>                         <str
> name="v.contentType">text/html;charset=UTF-8</str>
>                         <str name="v.layout">layout</str>
>                         <str name="v.channel">testhandler</str>
>                         <str name="title">Test Request Handler German</str>
>
>                         <str name="defType">edismax</str>
>                         <str name="q.op">AND</str>
>
>                         <str name="q.alt">*:*</str>
>                         <str name="rows">15</str>
>                         <str name="fl">*,score</str>
>                         <str name="qf">name_deu^1.2  title_deu^10.0
> description_deu^5.0 </str>
>                         <str name="df">text_deu</str>
>
>
>                         <str name="facet">on</str>
>                         <str name="facet.mincount">1</str>
>                         <str name="facet.limit">-1</str>
>                         <str name="facet.sort">index</str>
>                         <str name="facet.method">enum</str>
>                         <str name="facet.field">cat</str>
>             <str name="facet.field">manu_exact</str>
>             <str name="facet.field">content_type</str>
>             <str name="facet.field">author</str>
>
>
>                         <str name="hl">true</str>
>                         <str name="hl.tag.pre"></str>
>                         <str name="hl.tag.post"></str>
>                         <str name="hl.fl">name subject description_deu
> name_deu title_deu</str>
>                         <str name="hl.encoder">html</str>
>             <str name="f.subject.hl.fragsize">20</str>
>                         <str name="f.description_fra.hl.fragsize">20</str>
>                         <str name="f.name_fra.hl.fragsize">20</str>
>                         <str name="hl.usePhraseHighlighter">false</str>
>                         <str name="hl.useFastVectorHighlighter">true</str>
>                         <str name="hl.boundaryScanner">breakIterator</str>
>                         <str name="hl.bs.type">SENTENCE</str>
>
>
>                         <str name="spellcheck">true</str>
>                         <str name="spellcheck.dictionary">default</str>
>                         <str name="spellcheck.collate">true</str>
>                         <str name="spellcheck.onlyMorePopular">false</str>
>                         <str name="spellcheck.extendedResults">false</str>
>                         <str name="spellcheck.count">1</str>
>
>                         </lst>
>                 <arr name="last-components">
>                         <str>spellcheck</str>
>                 </arr>
>         </requestHandler>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Issue-with-German-search-tp4206104p4206341.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
*Doug Turnbull **| *Search Relevance Consultant | OpenSource Connections,
LLC | 240.476.9983 | http://www.opensourceconnections.com
Author: Relevant Search <http://manning.com/turnbull> from Manning
Publications
This e-mail and all contents, including attachments, is considered to be
Company Confidential unless explicitly stated otherwise, regardless
of whether attachments are marked as such.

Reply via email to