Dear Carsten,

abstract of your post:
you need the offset to perform your search/ranking like the position is needed 
for phrase queries.
You are using reader.getTermFreqVector to get the offset. 
This is to slow for your application and you think about a switch to version 4.0


imho you should using payloads.
You also could switch to version 4 because in version you can store the offset 
to each term like the position in version 3x.
But this is basically the same as the use of payloads:
 * http://lucene.apache.org/core/3_6_0/fileformats.html#Positions
 * 
http://lucene.apache.org/core/4_0_0-ALPHA/core/org/apache/lucene/codecs/lucene40/Lucene40PostingsFormat.html#Positions


Best regards
  Karsten

P.S. in context:
http://lucene.472066.n3.nabble.com/Offsets-in-3-6-4-0-td3994830.html


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to