See Lucene Fields and Term Vectors for details.
The human-readable index data generated by the sample code is shown in this file. See the _v.pst
section for token index data. See the _v.vec
section for term vector index data.
The output generated by the Java code is:
Search term: [ipsum]
Parsed query: [body:ipsum]
Found:
0.131 - doc one
> offset: 8-13
> offset: 30-35
token: ipsum
> offset: 8-13
> offset: 30-35
amet
dolor
ipsum
lorem
sit