> You need to watch both the positionincrementgap > (which, as I remember, gets added for each new field of the > same name you add to the document). Make it 0 rather than > whatever it is currently. You may have to create a new analyzer > by subclassing your favorite analyzer and overriding the > getPositionIncrementGap (?)
Well. I'm using GermanAnalyzer and this does not override getPositionIncrementGap in Analyzer. And in Analyzer getPositionIncrementGap returns 0. > Also, I'm not sure whether the term increment (see > get/setPositionIncrement) > needs to be taken into account. See the SynonymAnalyzer in > Lucene in Action. I cannot find the source of SynonymAnalyzer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]