I want to directly access low level ElasticSearch (or in other words
Lucene) index from a plugin, so that I can say iterate through an inverted
index of a keyword in the plugin. I know from ElasticSearch source code one
can access the ContextIndexSearcher instance (which has an IndexReader
member) from SearchService to directly access the inverted index. However,
I could not figure out how to get the handle to either the
ContextIndexSearcher instance or the SearchService instance from a plugin.
Any suggestion here will be highly appreciated!
I want to directly access low level Elasticsearch (or in other words Lucene) index from a plugin, so that I can say iterate through an inverted index of a keyword in the plugin. I know from Elasticsearch source code one can access the ContextIndexSearcher instance (which has an IndexReader member) from SearchService to directly access the inverted index. However, I could not figure out how to get the handle to either the ContextIndexSearcher instance or the SearchService instance from a plugin. Any suggestion here will be highly appreciated!
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.