Ah. You're right. Looks like the current highlighter api doesn't offer you that degree of control.
The way to fix it is probably to tweak the list of WeightedTerms you give the highlighter: [psuedo code follows...] terms=QueryTermExtractor.getTerms(query); bodyQueryTerms=new ArrayList(); for all terms { if terms[i].getField().equals("body") bodyQueryTerms.add(terms[i]); } highlighter=new Highlighter(new QueryScorer(bodyQueryTerms.toarray)) highlighter.getBestFragments(bodyTokenStream, bodyText..... [end psuedo code] Hope this helps Mark ___________________________________________________________ Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]