lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Document match with no highlight
Date Thu, 12 May 2011 13:09:38 GMT
> URL:
> http://localhost:8983/solr/select?indent=on&version=2.2&q=DOC_TEXT%3A%223+1+15%22&fq=&start=0
> &rows=10&fl=DOC_TEXT%2Cscore&qt=standard&wt=standard&debugQuery=on&explainOther=&hl=on&hl.fl=DOC_TEXT&hl.maxAnalyzedChars=-1
> 
> XML:
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
>   <lst name="responseHeader">
>     <int name="status">0</int>
>     <int name="QTime">19</int>
>     <lst name="params">
>       <str name="explainOther"/>
>       <str
> name="indent">on</str>
>       <str
> name="hl.fl">DOC_TEXT</str>
>       <str
> name="wt">standard</str>
>       <str
> name="hl.maxAnalyzedChars">-1</str>
>       <str name="hl">on</str>
>       <str name="rows">10</str>
>       <str
> name="version">2.2</str>
>       <str
> name="debugQuery">on</str>
>       <str
> name="fl">DOC_TEXT,score</str>
>       <str name="start">0</str>
>       <str name="q">DOC_TEXT:"3 1
> 15"</str>
>       <str
> name="qt">standard</str>
>       <str name="fq"/>
>     </lst>
>   </lst>
>   <result name="response" numFound='1" start="0"
> maxScore="0.035959315">
>     <doc>
>       <float
> name="score">0.035959315</float>
>       <arr name="DOC_TEXT"><str>
> ... </str></arr>
>     <doc>
>   </result>
>   <lst name="highlighting">
>     <lst name="123456"/>
>   </lst>
>   <lst name="debug">
>     <str name="rawquerystring">DOC_TEXT:"3
> 1 15"</str>
>     <str name="querystring">DOC_TEXT:"3 1
> 15"</str>
>     <str
> name="parsedquery">PhraseQuery(DOC_TEXT:"3 1
> 15)"</str>
>     <str
> name="parsedquery_toString">DOC_TEXT:"3 1
> 15"</str>
>     <lst name="explain">
>       <str name="123456">
>         0.035959315 =
> fieldWeight(DOC_TEXT:"3 1 15" in 0), product of: 1.0 =
> tf(phraseFreq=1.0)
>         0.92055845 = idf(DOC_TEXT: 3=1
> 1=1 15=1)
>         0.0390625 =
> fieldNorm(field=DOC_TEXT, doc=0)
>     </str>
>   </lst>
>   <str name="QParser">LuceneQParser</str>
>   <arr name="filter_queries">
>     <str/>
>   </arr>
>   <arr name="parsed_filter_queries"/>
>   <lst name="timing">
>     ...
>   </lst>
> </response>


Nothing looks suspicious. 

Can you provide two things more;
fieldType of DOC_TEXT
and
field definition of DOC_TEXT.

Also do you get snippet from the same doc, when you remove quotes from your query?


Mime
View raw message