lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark harwood <markharw...@yahoo.co.uk>
Subject RE: Highlighter apply to Japanese
Date Tue, 06 Sep 2005 10:21:41 GMT
Try change TokenGroup.isDistinct();

Maybe the offset test code should be >= rather than >
ie

	boolean isDistinct(Token token)
	{
		return token.startOffset()>=endOffset;
	}

I've just tried the change with the Junit test and all
seems well still with the non CJK tests.



		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
http://uk.security.yahoo.com

---------------------------------------------------------------------
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