4

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

Thank you.

Cherven
  • 1,101
  • 3
  • 17
  • 26

1 Answers1

2

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

athena
  • 5,579
  • 8
  • 30
  • 31