How to get a list of all tokens from the Solr / Lucene index?

I am wondering if there is a way to get all tokens from a specific record in the Lucene / Solr index?

Thank.

+3
source share
1 answer

You can use IndexReader.terms () to get an enumeration of all terms that appear in an inverted index. This method returns TermEnum.

+2
source

Source: https://habr.com/ru/post/1778531/


All Articles