I believe so, though I would test it out.
You could try it out in http://splainer.io and confirm the scores are
identical
Cheers
-Doug
On Wed, Sep 23, 2015 at 12:10 PM, Vincenzo D'Amore
wrote:
> Hi,
>
> I have found in my code few boost functions like this one:
>
> bf=sum
Hi,
I have found in my code few boost functions like this one:
bf=sum(product(max(field_a,1),10),product(max(field_b,1),100))
The question is, may I split this in two:
bf=product(max(field_a,1),10)
bf=product(sub(has_image,1),100)
being sure to have in return always the same results of first
g/confluence/display/solr/The+
> Extended+DisMax+Query+Parser
>
> -- Jack Krupansky
>
> -Original Message- From: Bhoomit Vasani
> Sent: Monday, June 30, 2014 7:30 AM
> To: solr-user@lucene.apache.org
> Subject: How do I use multiple boost functions?
>
>
Thanks, I tried this but finally bf(additive boost) param worked well for
me.
Thanks for the help :)
On Mon, Jun 30, 2014 at 5:14 PM, Ahmet Arslan
wrote:
> Hi,
>
> Use edismax query parser. boost parameter can take multiple values.
>
> &boost=recip(geodist(destination,1.293841,103.846487),1,10
Hi,
Use edismax query parser. boost parameter can take multiple values.
&boost=recip(geodist(destination,1.293841,103.846487),1,1000,1000)
&boost=if(exists(query({!v=$b1})),100,0)
On Monday, June 30, 2014 2:30 PM, Bhoomit Vasani wrote:
Hello,
I want to boost using multiple functions.
e.g.
query parsers you can also use
separate request parameters for each boost.
See:
https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser
-- Jack Krupansky
-Original Message-
From: Bhoomit Vasani
Sent: Monday, June 30, 2014 7:30 AM
To: solr-user@lucene.apache.
Hello,
I want to boost using multiple functions.
e.g.
{!boost b=recip(geodist(destination,1.293841,103.846487),1,1000,1000)
b="if(exists(query({!v=$b1})),100,0)"
}
when I use above query Solr only considers second function.
--
--
Thanks & Regards,
Bhoomit Vasani | SE @ Mygola
WE are LIVE
: I'd like to tell Solr to cache those boost queries for the life of the
: Searcher so they don't get recomputed every time. Is there any way to do
: that out of the box?
if the functions never change, you could just index the computed value up
front and save cycles at query time -- but that's t
solve your needs.
Jason
On Feb 18, 2014, at 11:32 AM, Gregg Donovan wrote:
> We're testing out a new handler that uses edismax with three different
> "boost" functions. One has a random() function in it, so is not very
> cacheable, but the other two boost functions do
We're testing out a new handler that uses edismax with three different
"boost" functions. One has a random() function in it, so is not very
cacheable, but the other two boost functions do not change from query to
query.
I'd like to tell Solr to cache those boost queries
apparently it does. what a great contriibution! got it to work with
1.4-dev. hopefully it will get into the stable release.
On Sun, Jul 26, 2009 at 4:39 PM, Michael Lugassy wrote:
> intresting. will that patch work in 1.4?
>
> On Sun, Jul 26, 2009 at 9:56 AM, Shalin Shekhar
> Mangar wrote:
>> On S
intresting. will that patch work in 1.4?
On Sun, Jul 26, 2009 at 9:56 AM, Shalin Shekhar
Mangar wrote:
> On Sun, Jul 26, 2009 at 3:51 AM, Michael Lugassy wrote:
>
>> I'm using something along ?q=_val_:"product(field1,0.5)" and was
>> wondering whether I could facet with category_id so that I get
On Sun, Jul 26, 2009 at 3:51 AM, Michael Lugassy wrote:
> I'm using something along ?q=_val_:"product(field1,0.5)" and was
> wondering whether I could facet with category_id so that I get the
> single best document (product) for each category_id (not intrested in
> more than 5 of the best product
I'm using something along ?q=_val_:"product(field1,0.5)" and was
wondering whether I could facet with category_id so that I get the
single best document (product) for each category_id (not intrested in
more than 5 of the best products in each of the highest-boosted
category).
Thanks!
On Mon, May 18, 2009 at 11:12 AM, Koji Sekiguchi wrote:
> Yao Ge wrote:
>>
>> I have a field named "last-modified" that I like to use in bf (Boot
>> Functions) parameter:
>> recip(rord(last-modified),1,1000,1000) in DisMaxRequestHander.
>> However the Solr query parser complain about the syntax of
Yao Ge wrote:
I have a field named "last-modified" that I like to use in bf (Boot
Functions) parameter:
recip(rord(last-modified),1,1000,1000) in DisMaxRequestHander.
However the Solr query parser complain about the syntax of the formula. I
think it is related with hyphen in the field name. I hav
ied to add
single and double quote around the field name but didn't help.
Can field name contain hyphen in boot functions? How to do it? If not, where
do I find the field name special character restrictions?
-Yao
--
View this message in context:
http://www.nabble.com/Query-
Hi everyone,
I'm wondering if the MoreLikeThis handler takes the boost function
parameter into account for the scoring (hence the sorting I guess) of
the similar documents it finds.
Thanks for your help !
Jerome.
--
Jerome Eteve.
Chat with me live at http://www.eteve.net
[EMAIL PROTECTED]
: Perhaps I'm missing something obvious, but it there a way to get values from
: the user's request as arguments to boost functions in dismax?
:
: I'm thinking about distance based weighting for search results, which
: requires the user's x,y.
well, the boost function itsel
Hi -
Perhaps I'm missing something obvious, but it there a way to get values from
the user's request as arguments to boost functions in dismax?
I'm thinking about distance based weighting for search results, which
requires the user's x,y.
Tom
: > "Boost Functions" to influence the score. How would that work in order to
: > improve the score of recent documents? (I have a timestamp field in the
: I've been using expressions like these in boolean queries, based on a
: "broadcast_date" field:
:
: _val_:&q
On 1/17/07, Luis Neves <[EMAIL PROTECTED]> wrote:
...I see that is possible to use
"Boost Functions" to influence the score. How would that work in order to
improve the score of recent documents? (I have a timestamp field in the
schema)...
I've been using expressions
On 1/17/07, Luis Neves <[EMAIL PROTECTED]> wrote:
...I see that is possible to use
"Boost Functions" to influence the score. How would that work in order to
improve the score of recent documents? (I have a timestamp field in the
schema)...
I've been using expressions
Hello,
Reading the javadocs from the DisMaxRequestHandler I see that is possible to use
"Boost Functions" to influence the score. How would that work in order to
improve the score of recent documents? (I have a timestamp field in the
schema)... I'm assuming it's possible (
24 matches
Mail list logo