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
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
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 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
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
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
Yup, it looks like the percentage over Xmx.
See
https://github.com/apache/lucene-solr/blob/branch_7_1/solr/core/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java#L300-L317
double percentUsed = ((double)(used)/(double)max)*100;
where max = runtime.maxMemory();
And maxMemory is as see
Hi,
I also observed that whenever the JVM crashes, the replicas does not have
the correct schema. Anyone seen similar behavior.
Thanks,
AA
On Wed, Sep 4, 2019 at 9:58 PM Antony A wrote:
> Hi,
>
> I have confirmed that ZK ensemble is external. Even though both
> managed-schema and schema.xml ar
>
> Thus, can I ask you to share your JVM heap config or confirm the maths
> with that yourself? *I guess you Xms is 4G while Xmx is probably around
> 16G. *
>
Indeed, it is -Xmx18g
Thank you for setting that straight.
Regards,
Jayadevan