Re: SolR: How to sort (or boost) by Availability dates

2019-09-24 Thread digi_business
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

SolR: How to sort (or boost) by Availability dates

2019-09-24 Thread digi_business
i'm facing a big problem in my SolR DB. My objects have a datetime field "Available_From" and a datetime field "Available_To". We also have a "Ranking" field for the sorting that we usually use desc. I can search correctly with direct queries (eg. give me all the items that are available at the mom