Re: Boost using date and a field value

2014-07-17 Thread Hakim Benoudjit
The real issue is that I'm having issues to balance my two boosted fields, although I've added a coefficient to them. What I've done is that I have a boost query with the two fields: field1:value1 AND date:[ TO ], to have all today's docs satisfying the condition field1 = value1 first of the list.

Re: Boost using date and a field value

2014-07-17 Thread Alexandre Rafalovitch
Well, to start, it would help to know what "can't combine the boosts" mean in your case. Are you saying you can only apply one at a time? Are you saying that you see the effect of both but having troubles balancing them? Something else? The more complex use cases become, the more precise informat

Re: Boost using date and a field value

2014-07-17 Thread Hakim Benoudjit
Any idea please? 2014-07-15 15:00 GMT+01:00 Hakim Benoudjit : > Hi, > I want to boost recent (*today's*) documents having a certain *field > value*. The two fields to be bosted are respectively: '*date*' & '*site*'. > But I dont want to penalize *recent *documents not satisfying the field > valu

Boost using date and a field value

2014-07-15 Thread Hakim Benoudjit
Hi, I want to boost recent (*today's*) documents having a certain *field value*. The two fields to be bosted are respectively: '*date*' & '*site*'. But I dont want to penalize *recent *documents not satisfying the field value ('*site*'), in favor of *older* documents satisfying this field value ('*