Hi,

I'm not sure why the rest of the scoring explanation is not shown, but your 
query *was* expanded to search on text and title_s, and id fields, so I think 
that expanded/rewritten query is what went to the index.


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Vincent Pérès <vincent.pe...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Thursday, May 21, 2009 4:34:00 AM
> Subject: Re: How to change the weight of the fields ?
> 
> 
> It seems I can only search on the field 'text'. With the following url :
> http://localhost:8983/solr/select/?q=novel&qt=dismax&fl=title_s,id&version=2.2&start=0&rows=10&indent=on&debugQuery=on
> 
> I get answers, but on the debug area, it seems it's only searching on the
> 'text' field (with or without 'qt' the results are displayed within the same
> order) :
> 
> 
> novel
> novel
> −
> 
> +DisjunctionMaxQuery((text:novel^0.5 | title_s:novel^5.0 |
> id:novel^10.0)~0.01) ()
> 
> −
> 
> +(text:novel^0.5 | title_s:novel^5.0 | id:novel^10.0)~0.01 ()
> 
> −
> 
> −
> 
> 
> 0.014641666 = (MATCH) sum of:
>   0.014641666 = (MATCH) max plus 0.01 times others of:
>     0.014641666 = (MATCH) weight(text:novel^0.5 in 114927), product of:
>       0.01362607 = queryWeight(text:novel^0.5), product of:
>         0.5 = boost
>         3.4734163 = idf(docFreq=10634, numDocs=43213)
>         0.007845918 = queryNorm
>       1.0745333 = (MATCH) fieldWeight(text:novel in 114927), product of:
>         1.4142135 = tf(termFreq(text:novel)=2)
>         3.4734163 = idf(docFreq=10634, numDocs=43213)
>         0.21875 = fieldNorm(field=text, doc=114927)
> 
> etc.....
> 
> I should have a debug below with a search of the term into 'title_s' and
> 'id' no?
> 
> Thanks for your answers !
> Vincent
> -- 
> View this message in context: 
> http://www.nabble.com/How-to-change-the-weight-of-the-fields---tp23619971p23649624.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to