How do I add my own Streaming Expressions?

2019-11-15 Thread Eric Pugh
What is the process for adding new Streaming Expressions? It appears that the org.apache.solr.client.solrj.io.Lang method statically loads all the streaming expressions? Eric ___ Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensour

Upgrade solr from 7.2.1 to 8.2

2019-11-15 Thread Rahul Goswami
Hello, We are planning to upgrade our SolrCloud cluster from 7.2.1 (hosted on Windows server) to 8.2. I read the documentation which mentions that I need to be on Solr 7.3 and higher to be able to upgrade

Re: $deleteDocByQuery and $deleteDocByID

2019-11-15 Thread Dominique Bejean
Hi Paresh, Due to deleteDocByQuery impact on commits and searcher reopen, if a lot of deletions are done it is preferable when possible to use deletebyid . Regards Dominique Le mar. 12 nov. 2019 à 07:03, Paresh a écrit : > Hi Erik, > > I am also looking for some example of deleteDocByQuery. H

Fetch parent and child document in solr 8.2

2019-11-15 Thread Gajjar, Jigar
Hello, I am trying to fetch parent and child document together in one Solr query, I was able to do that in solr 7.4 but same query does not work in solr 8.2. Are there any major changes in the way that we are fetching children? My requirement is to fetch parent and children both in one call. I

attempting to get an exact match on a textField

2019-11-15 Thread rhys J
I am trying to use the API to get an exact match on clt_ref_no. At one point, I was using ""s to enclose the text such as: clt_ref_no: "OWL-2924-8", and I was getting 5 results. Which is accurate. Now when I use it, I only get one match. If I try to build the url in perl, and then post the url,

Re: When does Solr write in Zookeeper ?

2019-11-15 Thread Dominique Bejean
Thank you Erick for this fast answer Why is it a best practice to set the zookeeper connection timeout to 3 instead the default 15000 value? Regards Dominique Le ven. 15 nov. 2019 à 18:36, Erick Erickson a écrit : > Dominique: > > In a word, “yes”. You’ve got it. A common misunderstanding

Re: using NOT or - to exclude results with a textField type

2019-11-15 Thread Shawn Heisey
On 11/15/2019 10:15 AM, rhys J wrote: I'm trying to exclude results based on the documentation about the boolean NOT symbol, but I keep getting errors. I've tried: http://localhost:8983/solr/debt/select?q=clt_ref_no:-”owl-2924-8” and http://localhost:8983/solr/debt/select?q=clt_ref_no:NOT”owl

Re: When does Solr write in Zookeeper ?

2019-11-15 Thread Erick Erickson
Dominique: In a word, “yes”. You’ve got it. A common misunderstanding is that ZK is actively involved in queries/updates/whatever. Basically, what ZK is responsible for is maintaining collection-wide resources, i.e. the current state of all the replicas, config files, etc., your “global configu

Re: using NOT or - to exclude results with a textField type

2019-11-15 Thread Erick Erickson
On of Solr’s little quirks… Solr does _not_ implement Boolean logic. See: https://lucidworks.com/post/why-not-and-or-and-not/ What you want is something like: ../select/q=*:* -clt_ref_no:“owl-2924-8” Best, Erick > On Nov 15, 2019, at 12:15 PM, rhys J wrote: > > I'm trying to exclude results b

using NOT or - to exclude results with a textField type

2019-11-15 Thread rhys J
I'm trying to exclude results based on the documentation about the boolean NOT symbol, but I keep getting errors. I've tried: http://localhost:8983/solr/debt/select?q=clt_ref_no:-”owl-2924-8” and http://localhost:8983/solr/debt/select?q=clt_ref_no:NOT”owl-2924-8” I have tried with and without

When does Solr write in Zookeeper ?

2019-11-15 Thread Dominique Bejean
Hi, I would like to be certain to understand how Solr use Zookeeper and more precisely when Solr write into Zookeeper. Solr stores various informations in ZK - globale configuration (autoscaling, security.json) - collection configuration (configs) - collections state (state.json, leader

Re: 2 Async exceptions during distributed update

2019-11-15 Thread Fiz N
Thanks for your response. attaching the screenshot of physical memory and cpu. Please let me know your thoughts on the below issue. On Fri, Nov 15, 2019 at 2:18 AM Jörn Franke wrote: > Do you use a updateprocess factory? How does it look like? > > What is the physical memory size and CPU

Possible bug in cluster status - > solr 8.3

2019-11-15 Thread Jacek Kikiewicz
I found interesting situation, I've created a collection with only one replica. Then I scaled solr-cloud cluster, and run 'addreplica' call to add 2 more. So I have a collection with 3 tlog replicas, cluster status page shows them but shows also this: "core_node2":{ "

Re: Solr process taking a long time before taking commands after restart

2019-11-15 Thread Jörn Franke
Do you have some suggester or so that is possible automatically rebuilding after restore? > Am 15.11.2019 um 16:36 schrieb Koen De Groote : > > Greetings all, > > I was testing some backup/restore scenarios. > > 1 of them is Solr7.6 in a docker container(7.6.0-slim), set up as > SolrCloud, wi

Re: Solr process taking a long time before taking commands after restart

2019-11-15 Thread Erick Erickson
It’d be interesting to see a thread dump during that time, sounds like everything’s blocked until the restore is done, although 10 minutes for 20G seems excessive. Best, Erick > On Nov 15, 2019, at 10:35 AM, Koen De Groote > wrote: > > Greetings all, > > I was testing some backup/restore sc

Solr process taking a long time before taking commands after restart

2019-11-15 Thread Koen De Groote
Greetings all, I was testing some backup/restore scenarios. 1 of them is Solr7.6 in a docker container(7.6.0-slim), set up as SolrCloud, with zookeeper. Deleting the data folder on the host, restarting the container, resetting the data folder and restoring. It all works fine, except it took abou

Re: daily SolrCloud collection wipes

2019-11-15 Thread Erick Erickson
Werner: Who is sending the delete-by-query? What I’m really wondering is if it’s done by something internal to Solr (in which case I’d like to track it down) or something outside Solr in which case we don’t need to be concerned... Thanks, Erick > On Nov 15, 2019, at 1:38 AM, Werner Detter wro

Re: NPE during spell checking when result collapsing is activated and local parameters are used

2019-11-15 Thread Tomás Fernández Löbbe
Would you create a Jira issue anyway tu fix the fact that it NPE instead of throwing a bad request? On Fri, Nov 15, 2019 at 2:31 AM Stefan Walter wrote: > Indeed, you are right. Interestingly, it generally worked with the two {! > ..} in the filter query - besides the problem with the collations

RE: Anyway to encrypt admin user plain text password in Solr

2019-11-15 Thread Kommu, Vinodh K.
Thanks Jason for sharing the details. Regards, Vinodh -Original Message- From: Jason Gerlowski Sent: Friday, November 15, 2019 12:54 AM To: solr-user@lucene.apache.org Subject: Re: Anyway to encrypt admin user plain text password in Solr ATTENTION! This email originated outside of DTC

RE: Anyway to encrypt admin user plain text password in Solr

2019-11-15 Thread Kommu, Vinodh K.
Thanks Jorn - will check out these options. Regards, Vinodh Kumar K Middleware Cache and Search Engineering DTCC Chennai -Original Message- From: Jörn Franke Sent: Friday, November 15, 2019 1:00 AM To: solr-user@lucene.apache.org Subject: Re: Anyway to encrypt admin user plain text pas

Re: NPE during spell checking when result collapsing is activated and local parameters are used

2019-11-15 Thread Stefan Walter
Indeed, you are right. Interestingly, it generally worked with the two {! ..} in the filter query - besides the problem with the collations, of course. Therefore I never questioned it... Thank you! Stefan Am 15. November 2019 um 00:01:52, Tomás Fernández Löbbe ( tomasflo...@gmail.com) schrieb: