lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Savvas-Andreas Moysidis <savvas.andreas.moysi...@googlemail.com>
Subject Function Query not getting picked up by Standard Query Parser
Date Thu, 02 Jun 2011 11:46:52 GMT
Hello,

I'm trying to find out why my Function Query isn't getting picked up by the
Standard Parser.
More specifically I send the following set of http params (I'm using the
"_val_" syntax):
.................................

<lst name="params">
<str name="_val_">"creationDate"^0.01</str>
<str name="debugQuery">on</str>
<str name="start">225</str>
<str name="q">allFields:(born to be wild)</str>
<str name="rows">5</str>
</lst>
.................................

and turning on Debug Query yields the following calculation for the first
result:
.................................

0.29684606 = (MATCH) product of:
  0.5936921 = (MATCH) sum of:
    0.5936921 = (MATCH) weight(allFields:wild in 13093), product of:
      0.64602524 = queryWeight(allFields:wild), product of:
        5.88155 = idf(docFreq=223, maxDocs=29531)
        0.10983928 = queryNorm
      0.91899216 = (MATCH) fieldWeight(allFields:wild in 13093), product of:
        1.0 = tf(termFreq(allFields:wild)=1)
        5.88155 = idf(docFreq=223, maxDocs=29531)
        0.15625 = fieldNorm(field=allFields, doc=13093)
  0.5 = coord(1/2)
.................................

but I don't see anywhere my Function Query affecting the score..
Is there something else I should be setting? what am I missing?

Cheers,
Savvas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message