Solr.log is not getting created

2022-01-04 Thread Reej Nayagam
Hi All, We have created a powershell script to run solr service in windows. When running the service from the command line, the solr.log is created at the configured path - SOLR_LOGS_DIR in solr.in.cmd file But when starting as a service, even if there is a solr.log file, it gets renamed to solr.

Re: Solr.log is not getting created

2022-01-04 Thread Jan Høydahl
Check the error log from the PS script, or stdout log from Solr. Probably the environment used by PS script is different from running it locally. We need some more info on your exact setup in order to guess. Jan > 4. jan. 2022 kl. 12:42 skrev Reej Nayagam : > > Hi All, > > We have created a p

Re: Non equi-joins with streaming expressions

2022-01-04 Thread Damiano Albani
Hi, Just a quick note to mention that I've managed to implement what I wanted in terms of non equi-joins. Should someone be interested, I've put my code on https://github.com/dalbani/solr-streaming-expressions. By the way, I happened to need a startsWith function and I implemented it quite easily

Re: Non equi-joins with streaming expressions

2022-01-04 Thread Eric Pugh
That looks great! I love how (relatively) simple it all is to write your own logic. One of the reasons that we added packages (bin/solr package) to Solr is so that if someone wants to add something like a java() evaluator, they can! > On Jan 4, 2022, at 11:40 AM, Damiano Albani wrote: > > Hi

Re: Non equi-joins with streaming expressions

2022-01-04 Thread David Smiley
I'd prefer to use Lucene's "expressions" module and thus do JavaScript. This is more accessible to a wider audience, and I believe makes safety/security easier (though I have not checked). ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Tue, Jan 4, 2

Re: Solr 6 Replication - Trouble Shooting

2022-01-04 Thread mtn search
Hi Shawn, Thanks for your reply! We are running Solr 6.4.3 and run multiple instances of standalone Solr on a server modifying the port for each. We run many such servers. *solrconfig.xml* commit startup ${enable.slave:false} http://${MASTER_CORE_URL} 00:00:60 We have used the Replicat

Re: Non equi-joins with streaming expressions

2022-01-04 Thread Damiano Albani
Hello, It's the first time that I hear about those Lucene expressions written in JavaScript. Good to learn about it! I suppose you're referring to https://lucene.apache.org/core/9_0_0/expressions/org/apache/lucene/expressions/js/package-summary.html ? I couldn't find much information about how to

Re: Solr 6 Replication - Trouble Shooting

2022-01-04 Thread Shawn Heisey
On 1/4/22 2:15 PM, mtn search wrote: Currently we restart Solr or rebuild the core to resolve the replication issue. However, I am thinking of trying a core reload, to see if it will reset the replication state information. That way I can create a script to detect the replication error and atte

Re: Non equi-joins with streaming expressions

2022-01-04 Thread Dennis Gove
My recollection from working on this code years ago is that other definitions of "equal" can be supported by creating new implementations of the Equalitor class ( https://github.com/apache/solr/blob/main/solr/solrj/src/java/org/apache/solr/client/solrj/io/eq/Equalitor.java#L27-L30). The purpose of