Posts

Showing posts with the label elk-stack

Elastic Search missing some documents while creating index from another index

Elastic Search missing some documents while creating index from another index I have created one index in elastic search name as documents_local and load data from Oracle Database via logstash. This index containing following values. documents_local "FilePath" : "Path of the file", "FileName" : "filename.pdf", "Language" : "Language_name" Then, i want to index those file contents also, so i have created one more index in elastic search named as document_attachment and using the following Java code, i fetched FilePath & FileName from the index documents_local with the help of the filepath i retrived file will is available in my local drive and i have index those file contents using ingest-attachment plugin processor. document_attachment FilePath FileName documents_local filepath Please find my java code below, where am indexing the files. private final static String INDEX = "documents_local"; //Documents...