>Isn't that what Query.extractTerms is for? Isn't it >implimented by all primitive Queries?..
As of last week, yes. I changed the SpanQueries to implement this method and then refactored the Highlighter package's QueryTermExtractor to make use of this (it radically simplified the code in there). This change to rely on extractTerms also means that the highlighter now works properly with classes like FilteredQuery. Cheers, Mark ___________________________________________________________ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]