i have one index (same structure) in 3 elasticsearch instances (1,2,3) and all works fine , my issue is : when i delete a document from the index in ES instance 1 , i want also delete the same document from the index in other ES instances (2,3) or how i can make a query in ES instance 1 to get all documents that exists in ES instance 2 and 3 and dosn't exists in ES instance 1 (where i execute my query).
yes i mean a node (this is the terminology in elasticsearch website : Any time that you start an instance of Elasticsearch, you are starting a node)
so i have 3 nodes , each node in a different server. and after delete document from node 1 i want to delete the same documents from the other nodes or how i can query all doocuments in node 2 or 3 that not exists in node 1
yes in 3 servers (vm )and i can accees to documents using curl -XGET 'http://IP:9200/book/books/564'?pretty , i can for example get document in node 3 from node 1.. but i want to know which documents exists in n1 and not in n2 or n3 something like IN NOT IN in sql
in the fact the use cas is that there is a web application deployed in 3 servers (vm) (load balancing ..)and the webapp is connected to the ES node that is deplyoed in the same vm , the issue is when the app in the vm 1 for example delete a document i want to keep the other nodes updated i mean delete the document from the other nodes
i got the OK to change the design of this architecture do you have please any suggestions to keep all the 3 nodes updated and have the same documents even they are installed in different servers.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.