Sorry, which function is it ?? thanks,
Grant Ingersoll-6 wrote: > > You might be able to with FunctionQueries, especially the relatively > new and underpromoted ability that Yonik added to use them to multiply > in scoring instead of adding. > > See http://wiki.apache.org/solr/FunctionQuery > > > > On Feb 12, 2009, at 10:17 AM, sunnyfr wrote: > >> >> Hi Grant, >> >> Thanks for your quick answer. >> >> So there is not a real quick way to increase one field in particular >> according to another one if the text is find there, otherwise how >> can I do >> that in two queries ? >> >> thanks a lot, >> >> >> >> Grant Ingersoll-6 wrote: >>> >>> Hi Sunny, >>> >>> As with any relevance issue, one of the first thing I ask before >>> getting to a solution, is what is the problem you are seeing that >>> makes you want to change the way things work? >>> >>> That being said, the only way you would be able to do this is through >>> some custom components and I'm pretty sure it would involve having to >>> run at least two queries (the first which involves SpanQueries), >>> but I >>> might be missing something. >>> >>> >>> -Grant >>> >>> On Feb 12, 2009, at 5:00 AM, sunnyfr wrote: >>> >>>> >>>> Hi everybody, >>>> Wish you a nice day, >>>> >>>> I've a question, I would like to know if it's possible to boost >>>> differently >>>> some field according to where it find the word. >>>> >>>> Will try to make it more clear; >>>> >>>> I've a book core with title, description and tags. >>>> >>>> If word looked for is found in the title, I would like to boost >>>> differntly >>>> another field like number of view >>>> >>>>> found in the title then : nb_views^2 and rating^1 >>>>> found in the description then : nb_views^0.5 and rating^0.2 >>>>> found in the tag then : nb_views^1 and rating^0.5 >>>> >>>> How can I do that ? >>>> >>>> Even I would love to make something like if after : >>>> if nb_views between 0 and 50 then nb_views^1.3 if nb_views>100 >>>> then >>>> nb_views^2 >>>> >>>> Do you have an idea ? What would you reckon ? >>>> >>>> THANKS A LOT GUYS, >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/solr-1.4---boost-query-from-where-it-finds-the-word%28s%29-tp21972988p21972988.html >>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>> >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/solr-1.4---boost-query-from-where-it-finds-the-word%28s%29-tp21973015p21978064.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/solr-1.4---boost-query-from-where-it-finds-the-word%28s%29-tp21973015p22080195.html Sent from the Solr - User mailing list archive at Nabble.com.