Re: Solr throws errors on empty fields on ingestion

2025-03-19 Thread Colvin Cowie
Required fields need non-empty values, as far as I know there's no exceptions to that. Take this from the UX/end user perspective. If a document has no title, or an empty title, what does a user expect to see and do with that? If they expect to see *something* then yes I think you should insert a

Re: Solr 9.7.0 - Boolean Query parser is not caching result in Query result cache in case of preFilter is used

2025-03-19 Thread Chris Hostetter
: According to an existing test this should work: : https://github.com/apache/solr/blob/ac3d349dac530cf1001d5113fc21b0fd641cc9d5/solr/core/src/test/org/apache/solr/search/QueryEqualityTest.java#L1494 FWIW: The Lucene HNSW/vector based queries do some very weird non-standard thigs in their rewr

Re: Performance Degradation in Solr When Using OR with frange in fq

2025-03-19 Thread Chris Hostetter
: We are experiencing high query times in Solr when using an fq filter that : combines an OR condition with frange. The response time significantly : increases compared to queries that do not use this combination. : : Query Example : fq={!cache=false tag=prm}field:value OR {!frange l=1 u=1 v=$fu

Re: Solr throws errors on empty fields on ingestion

2025-03-19 Thread Thomas Corthals
This actually looks like a request to the /extract handler. Can you open an issue at https://github.com/solariumphp/solarium/issues with the code that causes this behaviour? Thomas Op wo 19 mrt 2025 om 15:49 schreef Colvin Cowie : > Hello, > > re the "400 OK". I don't see that happening myself

Re: Solr throws errors on empty fields on ingestion

2025-03-19 Thread Colvin Cowie
Hello, re the "400 OK". I don't see that happening myself locally, I have the correct "Bad Request" status line when making requests directly to the /update handler. Perhaps it's an issue in Solarium-PHP? On Wed, 19 Mar 2025 at 13:26, Ehrenleitner Robert Harald < robert.ehrenleit...@plus.ac.at>

Re: Solr upgrade from 8.11 to 9.x (latest if possible)

2025-03-19 Thread Jan Høydahl
Hi, It's fairly well described in the reference guide https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html Normally we recommend not to "upgrade" your existing nodes on a major upgrade, but instead stand up a clean new 9.x cluster/server and do a full re-index.

Re: Solr upgrade from 8.11 to 9.x (latest if possible)

2025-03-19 Thread Corrado Fiore
Dear All, On 19 Mar 2025, at 11:08, Jan Høydahl wrote: Normally we recommend not to "upgrade" your existing nodes on a major upgrade, but instead stand up a clean new 9.x cluster/server and do a full re-index. I second that. We did a similar upgrade recently (from a stand-alone 8.5.2 to So

Re: Solr 8 Reference Guide Not Loading Properly

2025-03-19 Thread Alexandre Rafalovitch
Loading CSS from 3rd party sites: https://content-security-policy.com/examples/blocked-csp/ Console error: a-quick-overview.html:13 Refused to load the stylesheet ' https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css' because it violates the following Content Security Policy

Re: Solr 8 Reference Guide Not Loading Properly

2025-03-19 Thread Chris Hostetter
: I'm not able to see any article text on the webpages for Solr Reference : Guide versions 8.6 through 8.11 (e.g. : https://solr.apache.org/guide/8_11/a-quick-overview.html), and my : colleagues are reporting the same issue. Did something break the : rendering of these pages? Hmmm, good ques

index source code with solr combined with a SAST for cyber security purpose

2025-03-19 Thread anon anon
Hello, I wanted to combine the power of a search engine with a SAST. I already started with Zoekt. I want to know if I should fork zoekt or solr. I am wondering: - If I can rewrite it in solr for more maintainability - if I SHOULD actually maintain zoekt instead of solar in order to not have to r

Re: Solr 8 Reference Guide Not Loading Properly

2025-03-19 Thread Houston Putman
Yeah Apache turned this on recently, so there's no way around it, and nothing that we did wrong on our end. I'm not sure how we fix this, but it really is a bad experience for users (and us developers). - Houston On Wed, Mar 19, 2025 at 4:44 PM Alexandre Rafalovitch wrote: > Loading CSS from 3

Not able to optimize Solr 9.8.0 HNSW index

2025-03-19 Thread Wei
Greetings everyone, After building the Solr HNSW index on 9.8.0, I tried to optimize it to a single segment. However the optimization doesn't happen and no errors found in solr log. Schema: Solrconfig for merge: 25 25 < int name="maxMergedSegmentMB">10 In total 30M docs are indexe

Re: Solr 8 Reference Guide Not Loading Properly

2025-03-19 Thread Mike Drob
In the web console I see errors relating to unable to find jquery. Did we remove it at some point? Or link to a wrong version? On Wed, Mar 19, 2025 at 4:37 PM Chris Hostetter wrote: > > : I'm not able to see any article text on the webpages for Solr Reference > : Guide versions 8.6 through 8.11

Re: Performance Degradation in Solr When Using OR with frange in fq

2025-03-19 Thread David Smiley
Ideally, after the user created the JIRA issue, it would be shared in this thread. Here it is: https://issues.apache.org/jira/browse/SOLR-17699 (fix for 9.9) Nice response Hoss, particularly sharing the "filter" trick, which may be useful here. On Wed, Mar 19, 2025 at 2:18 PM Chris Hostetter wr

Re: Potential bug in task list management

2025-03-19 Thread Chris Hostetter
: Essentially, whenever a query task is abnormally ended, ie either the : client times out and closes the connection, the query hits the : timeAllowed or cpuAllowed limit, or the task is cancelled through the : /solr/collection/tasks/cancel?queryUUID= mechanism, the task is never or : almost

WG: Solr throws errors on empty fields on ingestion

2025-03-19 Thread Ehrenleitner Robert Harald
Hi all, we have a crawler built on our own based on Solarium-PHP which ingests Solr. Since I have upgraded from 9.6.1 to 9.8.0, I see errors in the log of the crawler. It tells me that Solr complains that the field "title" is missing. Acutally, it is part of the request, but it's just empty.

AW: Solr throws errors on empty fields on ingestion

2025-03-19 Thread Ehrenleitner Robert Harald
Hi, that was fast. Actually, I see that the documents which do not have a title are also missing in the index of the older Solr version which is still fed by the older version of Solarium-PHP. So, probably the newer version of Solarium-PHP exposes an error which was there before but was not lo