Re: Solr status showing wrong data

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

Re: Undefined field - solr 7.2.1 cloud

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

Re: Solr status showing wrong data

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

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

2019-09-24 Thread Audrey Lorberfeld - audrey.lorberf...@ibm.com
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

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

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

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

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

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

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

2019-09-24 Thread Audrey Lorberfeld - audrey.lorberf...@ibm.com
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

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