How to enumerate all terms in an index?


(Eric Jain) #1

This is simple enough with Lucene (IndexReader.terms); does Elasticsearch
expose anything like that?

--


(Ivan Brusic) #2

Take a look at Jörg's Termlist plugin:

The equivalent Lucene code is found here:
https://github.com/jprante/elasticsearch-index-termlist/blob/master/src/main/java/org/elasticsearch/action/termlist/TransportTermlistAction.java#L126

Cheers,

Ivan

On Mon, Aug 13, 2012 at 8:29 PM, Eric Jain eric.jain@gmail.com wrote:

This is simple enough with Lucene (IndexReader.terms); does Elasticsearch
expose anything like that?

--

--


(Eric Jain) #3

On Mon, Aug 13, 2012 at 9:58 PM, Ivan Brusic ivan@brusic.com wrote:

Take a look at Jörg's Termlist plugin:
https://github.com/jprante/elasticsearch-index-termlist

Thanks, that's just what I was looking for.

--


(system) #4