Hi Jack,
Thank you for report this bug.
Sensei doesn't return offsets and positions info, now I have done a fix in sensei 2.0.1-SNAPSHOT and bobo 4.0.1-SNAPSHOT.
Before the fix sensei only return term and frequency in Map<String, List<TermFrequency>>.
Now sensei will return termvector in Map<String, List<FieldTerm>>, while FieldTerm contains:
private String term;
private Integer freq;
private List<Integer> positions;
private List<Integer> startOffsets;
private List<Integer> endOffsets;
If index option is termvector="YES" , then positions, startOffsets and endOffsets are null.
If index option is termvector="WITH_POSITIONS" , then positions have real value while startOffsets and endOffsets are all -1.
If index option is termvector="WITH_OFFSETS" , then positions are all -1 while startOffsets and endOffsets are real value.
If index option is termvector="WITH_POSITIONS_OFFSETS" , then positions startOffsets and endOffsets are all real value.
Which version are you using now, I can prepare a fixed version for you.