Yay!
--
Audrey Lorberfeld
Data Scientist, w3 Search
IBM
audrey.lorberf...@ibm.com
On 9/24/19, 10:15 AM, "digi_business" wrote:
Hi all, reading your suggestions i've juste come out of the darkness!
Just for explaining, my problem is that i want to show all my items (not
only
Wouldn’t you reverse that? Assuming there are exactly two “available” states,
sort=available desc, score desc
Maybe available would sort asc, depends on your values….
> On Sep 24, 2019, at 10:15 AM, digi_business
> wrote:
>
> Hi all, reading your suggestions i've juste come out of the darknes
Hi all, reading your suggestions i've juste come out of the darkness!
Just for explaining, my problem is that i want to show all my items (not
only the "availables"), but having the availables coming first, still
mantaining my custom sorting by "ranking" desc.
i then used this BoostQuery
bq=(Avail
It sounds like you want to do a normal search but only show available
items. You could simply just add a fq parameter with dynamic values based
on the current date
fq=avaiable_from:[$todays_date TO *] AND available_to[* TO $todays_date]
On Tue, Sep 24, 2019 at 9:41 AM Audrey Lorberfeld -
audrey.l
Hi Federico,
I am not sure exactly what syntax would get you the functionality that you're
looking for, but I'd recommend writing a boost function. That's what we're
doing right now for boosting more recent results in our search engine. You'd
somehow have to work with date math and possibly mak