elasticsearch searching for files code example
Example: apply elastic search to file system
---name: "myjob"fs: url: "c:\\tmp\\es" update_rate: "5s" excludes: - "*/~*" json_support: false filename_as_id: false add_filesize: true remove_deleted: true add_as_inner_object: false store_source: false index_content: true attributes_support: false raw_metadata: false xml_support: false index_folders: true lang_detect: false continue_on_error: true ocr: language: "eng" enabled: true pdf_strategy: "ocr_and_text" follow_symlinks: falseelasticsearch: nodes: - url: "http://192.168.58.251:9200" bulk_size: 100 flush_interval: "5s" byte_size: "10mb"