I'm using Kuromoji plugin and for this plugin you can provide a user dictionary, maybe similar system for all language plugin.
My problem is when I need to update the dictionary, as I read somewhere I don't know where , after updating the dictionary file I need to open close the index, until last week on a small index it was ok (mean fast enough so I didn't receive 10k of 5xx errors mail ClusterBlockException[blocked by: [FORBIDDEN/4/index closed) but now I have 2 choices wake up at 3:00 in the morning when the traffic is low to open close or do it during the day and receive 1K of errors mails and lost some traffic (choice is limited to option 1).
- For confirmation is it the only way to do it?
- Also I have several nodes, can I only open close for one node, actually I made a script 127.0.0.1:9200/my_index/_close and open just after. I was surprised to see that all the nodes are open closed not only the one I'm connected on. So I can't open close a first one, then a second one etc.... to avoid loosing the connection?
- Or I need to handle it in the client side, with something like a time-out?
Thanks for any help or advice.