2) eliminate the space inside the recip functions

This solved it :)

I would like to document this along with a little detail about function
queries & may be if I get enough time, simple graphs that I created to help
people choose the right values for using in the function queries.

I dont see a link from the wiki at the top level -
http://wiki.apache.org/solr/

I do see a stub for - http://wiki.apache.org/solr/FunctionQuery

Which I can start filling up.

The other options are - http://wiki.apache.org/solr/SolrRelevancyCookbook
and
http://wiki.apache.org/solr/DisMaxRequestHandler

I am inclined to creating the FuntionQuery page and adding links to it from
the other 2 pages.

Let me know if you think of a more appropriate place to put this stuff.


Thanks,
mekin


On 5/15/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:


: The function query field is -
:      <str name="bf">
:         recip(popularityRank, 1, 1000,
: 1000)^0.5recip(rord(creationDate),1,1000,1000)^
: 0.3
:      </str>

off the top of my head, i'd suggest you:
  1) verify there is some whitespace between the boost of the
popularity recip function and the date recip function
  2) eliminate the space inside the recip functions
  3) verify that there isno psace between eitehr recp function and it's
boost

...and see if that works...

      <str name="bf">
         recip(popularityRank,1,1000,1000)^0.5
         recip(rord(creationDate),1,1000,1000)^0.3
      </str>



-Hoss




--

Reply via email to