Re: What I'm missing on this query (strange results with OR) ?

2024-01-11 Thread Ing. Andrea Vettori
> On 10 Jan 2024, at 23:36, Shawn Heisey wrote: > > On 1/10/24 15:22, Ing. Andrea Vettori wrote: >> Is it the expected behaviour that a query like >> someotherconditions OR -field:value >> returns different result than >> someotherconditions OR (-field:value)

What I'm missing on this query (strange results with OR) ?

2024-01-10 Thread Ing. Andrea Vettori
Is it the expected behaviour that a query like someotherconditions OR -field:value returns different result than someotherconditions OR (-field:value) It seems to me that the first works like the OR is instead and AND. Thank you! -- Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l.

Re: Using expressions in sort and json stats

2023-11-03 Thread Ing. Andrea Vettori
efficiently ? Thanks! — Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l. > On 1 Nov 2023, at 13:24, Alessandro Benedetti > wrote: > > I suspect this is an XY problem, can you elaborate better what's the > original task to be solved? > It's unusual to use those sort exp

Using expressions in sort and json stats

2023-11-01 Thread Ing. Andrea Vettori
and calculate them just once ? Does a better way to do this exist ? A similar question can be asked for json stats. Thanks! — Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l.

Re: SOLR 9.3 - JVM Crashes

2023-10-23 Thread Ing. Andrea Vettori
> On 22 Oct 2023, at 23:31, Shawn Heisey wrote: > > On 10/21/2023 2:31 AM, Ing. Andrea Vettori wrote: >> Hello, we’re using two SOLR servers (same hw, same version of solr and java, >> same solr config). The SOLR version is 9.3 and JVM is Adoptium JDK 17.0.8.1 >>

Re: SOLR 9.3 - JVM Crashes

2023-10-23 Thread Ing. Andrea Vettori
fy their existing configurations to use > CaffeineCache instead, so I am curious to know what cache works if not > CaffeineCache in 9.x? The only one that I can see in the admin UI are : fieldCache: org.apache.solr.search.SolrFieldCacheBean fieldValueCache: org.apache.solr.search.CaffeineCache Thank

Re: SOLR 9.3 - JVM Crashes

2023-10-22 Thread Ing. Andrea Vettori
Update: after restoring the old configuration (i.e. without CaffeineCache) the error has not happened again. And we also reindexed half the documents to put some load on the server. — Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l. > On 21 Oct 2023, at 10:31, Ing. Andrea Vettori wr

Re: SOLR 9.3 - JVM Crashes

2023-10-21 Thread Ing. Andrea Vettori
The command line that we use contains the workaround -XX:CompileCommand=exclude,com.github.benmanes.caffeine.cache.BoundedLocalCache::put and the stack is different so I don’t think it’s related. Thanks anyway for trying to help. — Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l. >

SOLR 9.3 - JVM Crashes

2023-10-21 Thread Ing. Andrea Vettori
ype;' @12 a 'org/apache/lucene/document/FieldType'{0x000691241d58} (d22483ab) - protected final 'name' 'Ljava/lang/String;' @16 "cmesmedia_44_2021_12"{0x0006a0b79a98} (d416f353) - protected 'fieldsData' 'Ljava/lang/Object;

Re: SolrJ 9.3 timeout when using http2, works with http

2023-09-05 Thread Ing. Andrea Vettori
> On 4 Sep 2023, at 21:09, Shawn Heisey wrote: > > On 9/4/23 03:09, Ing. Andrea Vettori wrote: >> Hello thank you very much for the test program. Your program works. Looking >> for differences I found that I didn’t have the http2-hpack jar. After adding >> it to my

Re: Performance and number of fields per document

2023-09-05 Thread Ing. Andrea Vettori
es very slow. So it’s exactly as you guessed :) We’re doing two fixes to our process : 1. we will not store zero values to store less data 2. we will use fl to get the fields we need in each part of the process to consume only the minimum data required. Thanks — Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l.

Re: Performance and number of fields per document

2023-09-05 Thread Ing. Andrea Vettori
ields and returning all of them (fl=*) causes a lot of data to be generated and so it becomes very slow. — Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l.

Re: SolrJ 9.3 timeout when using http2, works with http

2023-09-04 Thread Ing. Andrea Vettori
it’s a something pluggable that is however required in this case. Thanks again for your help! — Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l. > On 4 Sep 2023, at 02:57, Shawn Heisey wrote: > > On 9/3/23 13:36, Ing. Andrea Vettori wrote: >> For this test code I tried

Performance and number of fields per document

2023-09-03 Thread Ing. Andrea vettori
msec) but the full request time to get javabin or json data is very slow (several seconds). Thank you — Ing. Andrea Vettori Sistemi informativi

Re: SolrJ 9.3 timeout when using http2, works with http

2023-09-03 Thread Ing. Andrea Vettori
> On 3 Sep 2023, at 17:30, Shawn Heisey wrote: > > On 9/3/23 04:28, Ing. Andrea Vettori wrote: >> what can cause this issue ? >> This times out >> solrServer = new Http2SolrClient.Builder(solrUrl) >> .withRe

RE: Strategies for Real-Time Data Updates in Solr Without Compromising Latency

2023-09-03 Thread Ing. Andrea Vettori
> from the community that can help us tackle this challenge. How can we > optimize our approach to real-time data updates while ensuring Solr's > latency remains within acceptable limits? Any advice or suggestions on > architecture, techniques, or tools would be invaluable. >

SolrJ 9.3 timeout when using http2, works with http

2023-09-03 Thread Ing. Andrea Vettori
Hello, what can cause this issue ? This times out solrServer = new Http2SolrClient.Builder(solrUrl) .withRequestTimeout(SOLR_TIMEOUT_MINUTES, TimeUnit.MINUTES) .withConnectionTimeout(SOLR_TIMEOUT_MINUTES, TimeUnit.MINUTES)

Re: How to run Solr on two servers for redundancy

2022-03-16 Thread Ing. Andrea Vettori
> On 16 Mar 2022, at 04:27, Sam Lee wrote: > > On 2022/03/15 15:37:59 "Ing. Andrea Vettori" wrote: >> in our setup we have two Solr servers and we index documents to both >> (we keep track of the last sync for each server so they can also be >> not aligne

RE: How to run Solr on two servers for redundancy

2022-03-15 Thread Ing. Andrea Vettori
hod with standalone > Solr? > — Ing. Andrea Vettori Sistemi Informativi B2BIres s.r.l.

Re: Query on CVE-2021-45046

2021-12-16 Thread Ing. Andrea Vettori
Hello, yesterday I replaced the jars from 2.13.2 to 2.16 and so far no issues. — Ing. Andrea Vettori Responsabile Sistemi Informativi B2BIres s.r.l. > On 15 Dec 2021, at 18:58, Alessandro Benedetti wrote: > > I would also encourage you to do the upgrade first on QA/Staging rath

Re: Query on CVE-2021-45046

2021-12-15 Thread Ing. Andrea Vettori
Hello, is it safe to simply replace the jars in the solr lib/ext folder with version 2.16 or are they hardcoded in scripts or meta-inf files ? Thanks — Ing. Andrea Vettori Responsabile Sistemi Informativi B2BIres s.r.l. > On 15 Dec 2021, at 17:32, Shawn Heisey wrote: > > On 12/14/21