lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qaz zaq <>
Subject Analyzer.getPositionIncrementGap question
Date Thu, 26 Oct 2006 03:32:01 GMT
I have multiple values want to add to the same FIELD, and I also want to add non-zero but NON
CONSTANT position increment gap among those values.  e.g., gap between "value1" and "value2"
is 10, but gap between "value2" and "value3" is 100. is there any how can I achieve that?
  d.add(new Field ("fld", "value1");
  d.add(new Field ("fld", "value2");
  d.add(new Field ("fld", "value3");

 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message