Yes but when I check the debug, there is no weight about it ??? 
/select?fl=*&qt=dismax&q=+tom+jerry+cartoontv&bq=status_official:true^12&qf=owner_login^10+title^3&debugQuery=true

and its like if it doesn"t weight as well my word cartoontv ?? ok maybe the
doc which contain this three word is not enough weighted ? 

<str name="rawquerystring"> tom jerry cartoontv</str>
<str name="querystring"> tom jerry cartoontv</str>
−
<str name="parsedquery">
+((DisjunctionMaxQuery((owner_login:tom^10.0 | title:tom^3.0)~0.01)
DisjunctionMaxQuery((owner_login:jerry^10.0 | title:jerri^3.0)~0.01)
DisjunctionMaxQuery((owner_login:cartoontv^10.0 |
title:cartoontv^3.0)~0.01))~2) DisjunctionMaxQuery((text:"tom jerri
cartoontv"~100^0.2)~0.01) status_official:true^12.0
</str>
−
<str name="parsedquery_toString">
+(((owner_login:tom^10.0 | title:tom^3.0)~0.01 (owner_login:jerry^10.0 |
title:jerri^3.0)~0.01 (owner_login:cartoontv^10.0 |
title:cartoontv^3.0)~0.01)~2) (text:"tom jerri cartoontv"~100^0.2)~0.01
status_official:T^12.0
</str>
−
<lst name="explain">
−
<str name="559170">

0.59949005 = (MATCH) sum of:
  0.59949005 = (MATCH) product of:
    0.899235 = (MATCH) sum of:
      0.37824848 = (MATCH) max plus 0.01 times others of:
        0.37824848 = (MATCH) weight(title:tom^3.0 in 918085), product of:
          0.077876315 = queryWeight(title:tom^3.0), product of:
            3.0 = boost
            7.771266 = idf(docFreq=8887, numDocs=7753783)
            0.003340353 = queryNorm
          4.8570414 = (MATCH) fieldWeight(title:tom in 918085), product of:
            1.0 = tf(termFreq(title:tom)=1)
            7.771266 = idf(docFreq=8887, numDocs=7753783)
            0.625 = fieldNorm(field=title, doc=918085)
      0.52098656 = (MATCH) max plus 0.01 times others of:
        0.52098656 = (MATCH) weight(title:jerri^3.0 in 918085), product of:
          0.09139661 = queryWeight(title:jerri^3.0), product of:
            3.0 = boost
            9.120454 = idf(docFreq=2305, numDocs=7753783)
            0.003340353 = queryNorm
          5.7002835 = (MATCH) fieldWeight(title:jerri in 918085), product
of:
            1.0 = tf(termFreq(title:jerri)=1)
            9.120454 = idf(docFreq=2305, numDocs=7753783)
            0.625 = fieldNorm(field=title, doc=918085)
    0.6666667 = coord(2/3)
</str>
−



Erik Hatcher wrote:
> 
> 
> On Dec 10, 2008, at 9:58 AM, sunnyfr wrote:
>> Second question, if I want to weight status_official:true^2 should I  
>> do it
>> this way ??? for weighting the true one? thanks
>>
>> /select?fl=*&qt=dismax&q=+tom+jerry 
>> + 
>> cartoontv 
>> &qf=status_official^2.5+owner_login^10+title^3&debugQuery=true
> 
> Use bq (boosting query) for boosting by status....  
> bq=status_official:true^2 and remove it from the qf parameter.  That  
> should do the trick.
> 
>       Erik
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Look-for-three-words%2C-just-two-are-weighted---tp20936945p20937676.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to