great, that did it! I can now see the Function Query part in the calculation.
Thanks very much Eric, Savvas On 2 June 2011 13:28, Erik Hatcher <erik.hatc...@gmail.com> wrote: > For this to work, _val_:"...." goes *in* the q parameter, not as a separate > parameter. > > See here for more details: > http://wiki.apache.org/solr/SolrQuerySyntax#Differences_From_Lucene_Query_Parser > > Erik > > On Jun 2, 2011, at 07:46 , Savvas-Andreas Moysidis wrote: > > > 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 > >