lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wang" <john.w...@gmail.com>
Subject term index
Date Sat, 17 Jun 2006 02:45:26 GMT
Hi:

   I have been playing with Lucene's term postings, e.g. iterating
over TermEnums etc.

   For a field, say F, with values: {a, b, c, d, e}, is there a way to
get the index of a value, e.g. for a, return 0, and for c, return 2.
In a way, I am interested in getting the distance between Term("F","")
and Term("F","d") for example.

Thanks

-John

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


Mime
View raw message