Solr 6.6.1 Log4J fix

2021-12-29 Thread Rajath Banagi Ravindra
Hi, Currently our application uses Solr 6.6.1 version which uses Log4j version 1.2.17 in it. Can we upgrade it to new version of Log4J. Can we just update Log4j JAR file(1.2.17 version) with a new version of Log4J JAR file instead of updating Solr. Will this work? Kindly confirm. Regards-Rajat

Non equi-joins with streaming expressions

2021-12-29 Thread Damiano Albani
Hello, I'm new to streaming expressions, so I'm trying to understand their features and limitations. In particular the so-called "stream operators" implementing join operations. Like "innerJoin", "leftOuterJoin", etc. I see that they support a "on" parameter, defining the *equality* check to be p

Re: Solr 6.6.1 Log4J fix

2021-12-29 Thread Aman Tandon
You should be safe with log4j1.x version On Wed, 29 Dec 2021, 16:01 Rajath Banagi Ravindra, wrote: > Hi, > > Currently our application uses Solr 6.6.1 version which uses Log4j version > 1.2.17 in it. Can we upgrade it to new version of Log4J. > > Can we just update Log4j JAR file(1.2.17 version)

Re: Non equi-joins with streaming expressions

2021-12-29 Thread Eric Pugh
Damiano, I don’t really have a direct answer for you. However, one of the aspects of Streaming that I really like is that it’s relatively easy to create your own operators and add them to Solr. I find that I often just create my own operator to fill in the gap of what is available. I do th

Re: Non equi-joins with streaming expressions

2021-12-29 Thread Damiano Albani
Hi Eric, Thanks for your feedback, I highly appreciate it. I don't mind going the route of implementing something myself. I will have a try. By any chance, apart from looking at the official codebase, do you know of any examples out there I could draw my inspiration from? Regards, On Wed, Dec 29

Re: Non equi-joins with streaming expressions

2021-12-29 Thread Eric Pugh
https://github.com/epugh/playing-with-solr-streaming-expressions/tree/master/streaming_expressions/src/main/java/com/o19s/solr/streaming has an example of parsing JSONL formatted docs and an example of using atomic updates ;-) https://github.com/epugh/playing-with-solr-streaming-expressions/blob

Re: What happens when a streaming expression is sent to an alias

2021-12-29 Thread Joel Bernstein
Streaming expressions are alias aware inside of the stream source only. If you send a streaming expression to an alias it will likely end up on one of the stream handlers within that alias, but will have no effect on what the stream sources actually do, that's controlled by the collection parameter

Re: Non equi-joins with streaming expressions

2021-12-29 Thread Joel Bernstein
As you mentioned currently only the equi-join is supported. But you could pretty quickly adapt an existing join to do what you want. https://github.com/apache/solr/blob/main/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/LeftOuterJoinStream.java Joel Bernstein http://joelsolr.blogspot