Re: Apache Solr 8.11.1 and Log4J Vulnerability

2022-04-14 Thread Shawn Heisey
On 4/14/2022 7:18 PM, Shawn Heisey wrote: https://paste.elyograg.org/view/ed0f1b1e The required steps are found in the first 33 lines.  The remaining 43000 lines is the whole build. To be very specific, the commands I did are on lines 1, 9, 10, 14, 32, and 33.

Re: Dismax query parser and wildcards

2022-04-14 Thread Jeremy Buckley - IQ-C
I was using dismax because these are subqueries of a potentially complex boolean query that I don't want to inherit all the edismax defaults from the request handler. I need edismax at the top level for boost. But I guess I should figure out how to get edismax to work in the subqueries (I need

Re: Dismax query parser and wildcards

2022-04-14 Thread Walter Underwood
I kind of doubt that anyone cares what dismax does. It has been eleven years since edismax was introduced. Unless someone must have backwards compatibility, nobody should use dismax. It probably should be deprecated. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/

Re: Dismax query parser and wildcards

2022-04-14 Thread Shawn Heisey
On 4/14/2022 7:12 PM, Jeremy Buckley - IQ-C wrote: qt=/select {!lucene df=mpno v='fo4a*'} returns lots of results {!dismax df=mpno v='fo4a*'} returns *zero *results {!edismax df=mpno v='fo4a*'} returns lots of results What is wrong with dismax? The dismax parser doesn't do everything. 

Re: Apache Solr 8.11.1 and Log4J Vulnerability

2022-04-14 Thread Shawn Heisey
On 4/14/2022 6:14 PM, Shawn Heisey wrote: If you need to check a compliance box saying you dealt with a nonexistent vulnerability, just replace the jars as I already said. If you want to get really adventurous, you could clone the git repo, check out branch_8_11, and build it yourself.  That

Dismax query parser and wildcards

2022-04-14 Thread Jeremy Buckley - IQ-C
qt=/select {!lucene df=mpno v='fo4a*'} returns lots of results {!dismax df=mpno v='fo4a*'} returns *zero *results {!edismax df=mpno v='fo4a*'} returns lots of results What is wrong with dismax?

Re: Apache Solr 8.11.1 and Log4J Vulnerability

2022-04-14 Thread Shawn Heisey
On 4/14/2022 11:59 AM, Tate, Justina (DTMB) wrote: Can you please explain how we can go about upgrading Log4J to greater than 2.16.0. Just replace the jars in the Solr install directory with newer versions obtained directly from the log4j project. But there's no need.  Solr is not

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Andy Webb
hi Fiz, I think the BooleanSimilarityFactory is what you're looking for here - see https://solr.apache.org/guide/8_11/other-schema-elements.html#similarity and https://solr.apache.org/docs/8_11_1/solr-core/index.html?org/apache/solr/search/similarities/BooleanSimilarityFactory.html (I added

Apache Solr 8.11.1 and Log4J Vulnerability

2022-04-14 Thread Tate, Justina (DTMB)
Hello, Can you please explain how we can go about upgrading Log4J to greater than 2.16.0. Thank you, Justina Tate , MBA Senior IT Business Analyst Michigan Department of Technology, Management & Budget Agency Services supporting Attorney General and MSHDA 201 N. Washington Square, Ste. 900,

can somebody unsubscribe this auto-responder *please*: cau-rep...@uca.es

2022-04-14 Thread dmitri maziuk
On 2022-04-14 10:21 AM, cau-rep...@uca.es wrote: No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos

Re: Upgrading log4j from v2.16.0 to 2.17.0

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: Upgrading log4j from v2.16.0 to 2.17.0

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: Upgrading log4j from v2.16.0 to 2.17.0

2022-04-14 Thread Shawn Heisey
On 4/14/22 03:47, Kunal Tidake wrote: We have upgraded solr to v8.11.1 which includes log4j v2.16.0. We want to upgrade log4j to v2.17.1. So is it possible to upgrade log4j from v2.16.0 to v2.17.0 , Please let us know. Yes.  Just replace all the log4j jars with newer ones. We are not

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Thomas Corthals
You can tweak the parameters of BM25 similarity: https://solr.apache.org/docs/8_1_1/solr-core/org/apache/solr/search/similarities/BM25SimilarityFactory.html IIRC, the similarity becomes a constant with k1 = 0. 0 Thomas Op do 14 apr. 2022 om 15:51 schreef Vincenzo D'Amore : >

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Vincenzo D'Amore
https://github.com/freedev/solr-constant-similarity this is just an implementation of what Markus was suggesting. Could be a good idea adding a constant similarity class into the solr standard distribution. On Thu, Apr 14, 2022 at 3:48 PM Vincenzo D'Amore wrote: > Hi, > > long time ago I

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Vincenzo D'Amore
Hi, long time ago I wrote this, just trying to handle cases where there is no need TF/IDF https://github.com/freedev/solr-constant-similarity There just two simple steps to follow: 1. Add this line in solrconfig.xml: 1. And add this line into schema.xml:

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Jeremy Buckley - IQ-C
You may be interested in the ^= modifier for queries. From the reference guide: Constant Score with "^=" Constant score queries are created with ^=, which sets the entire clause to the specified score for any documents matching that clause. This is desirable when you only care about matches for

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Markus Jelsma
Hello Fiz, Are you sure you are using TF*IDF? It is no longer the default function in Solr 8. Anyway, if you do, you can implement a custom TFIDFSimilarity [1] and return just 1.0 for the idf() and tf() functions. Regards, Markus [1]

SOLR TF/IDF factor removal.

2022-04-14 Thread Fiz N
Hello Experts, In our project we are using SOLR 8.11.1 in Standalone mode in Windows server box. We have implemented a search mechanism by using pure keyword match and boosting the keywords as per business needs. For each search result, match percentage is derived using the obtained SOLR

Re: Looking for online tutorials setting up SolrCloud replication with Solr 8.11.1

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: Looking for online tutorials setting up SolrCloud replication with Solr 8.11.1

2022-04-14 Thread Eric Pugh
Here is a local demo of three node Solr + three node ZK via Docker Compose….. Not quite what you are looking for…. https://github.com/querqy/chorus/blob/main/docker-compose.yml#L58 Look at Quickstart.sh. > On Apr 14,

Re: Looking for online tutorials setting up SolrCloud replication with Solr 8.11.1

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: Looking for online tutorials setting up SolrCloud replication with Solr 8.11.1

2022-04-14 Thread Ufuk YILMAZ
I'm using Docker with bitnami solr and official zookeeper images. Starting up 3 zookeepers, pointing solr to them and starting solr instances was very easy this way. In fact I don't know how to start a standalone solr instance. A small docker-compose example: version: '2' services: zoo-1:

Re: Upgrading log4j from v2.16.0 to 2.17.0

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Upgrading log4j from v2.16.0 to 2.17.0

2022-04-14 Thread Kunal Tidake
Hi, We have upgraded solr to v8.11.1 which includes log4j v2.16.0. We want to upgrade log4j to v2.17.1. So is it possible to upgrade log4j from v2.16.0 to v2.17.0 , Please let us know. Thanks and Regards, Kunal Tidake =-=-= Notice: The information contained in this e-mail