Re: Starting Solr automatically

2019-12-16 Thread Paras Lehana
Hi Anuj, Firstly, you should be checking into the logs for the reason of Solr getting stopped. We had started Solr since a year ago and it's still up. I guess OOM in your case. Secondly, there are many ways to restart solr. For example, if it's registered as a service, make a cron to restart

Re: updating documents via csv

2019-12-16 Thread Paras Lehana
Hi Rhys, I use CDATA for XMLs: There should be a similar solution for JSON though I couldn't find the specific one on the internet. If you are okay to use XMLs for indexing, you can use this. On Tue, 17 Dec 2019 at 01:40, rhys J wrote: > Is there a way to update documents already

Starting Solr automatically

2019-12-16 Thread Anuj Bhargava
Often solr stops working. We have to then go to the root directory and give the command *'service solr start*' Is there a way to automatically start solr when it stops. Regards, Anuj >

updating documents via csv

2019-12-16 Thread rhys J
Is there a way to update documents already stored in the solr cores via csv? The reason I am asking is because I am running into a problem with updating via script with single quotes embedded into the field itself. Example: curl http://localhost:8983/solr/dbtr/update?commit=true -d '[{ "id":

Re: need for re-indexing when using managed schema

2019-12-16 Thread Erick Erickson
That’s a little overstated, a full explanation of what’s safe and what’s not is several pages and depends on what you mean by “safe”. Any modification to a schema, even if they don’t cause something to outright break, may leave the index in an inconsistent state. For instance, remember that

Re: backing up and restoring

2019-12-16 Thread rhys J
On Mon, Dec 16, 2019 at 1:42 AM Paras Lehana wrote: > Looks like a write lock. Did reloading the core fix that? I guess it would > have been fixed by now. I guess you had run the delete query few moments > after restoring, no? > > Restoring setting the name parameter only worked the once. This

Re: [EXTERNAL] Re: Autoscaling simulation error

2019-12-16 Thread Cao, Li
Hi Andrzej , I have put the JSONs produced by "save" commands below: autoscalingState.json - https://pastebin.com/CrR0TdLf clusterState.json - https://pastebin.com/zxuYAMux nodeState.json https://pastebin.com/hxqjVUfV statistics.json https://pastebin.com/Jkaw8Y3j The simulate command is:

Re: unable to update using empty strings or 'null' in value

2019-12-16 Thread rhys J
On Mon, Dec 16, 2019 at 2:51 AM Paras Lehana wrote: > Hey Rhys, > > > Short Answer: Try using "set": null and not "set": "null". > > Thank you, this worked! Rhys

need for re-indexing when using managed schema

2019-12-16 Thread Joseph Lorenzini
Hi all, I have question about the managed schema functionality. According to the docs, "All changes to a collection’s schema require reindexing". This would imply that if you use a managed schema and you use the schema API to update the schema, then doing a full re-index is necessary each time.

SolrTextTagger with multiple fields

2019-12-16 Thread Atita Arora
Hi, I went through the SolrTextTagger in Solr, more than it sounds interesting, I am wondering what are the implications of using multiple tag fields? The idea is to identify different types of fields in the user query and use them as filters. Can anyone direct me to some examples? Can we