lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <daniel.na...@t-online.de>
Subject Re: Lucene "cuts" the search results ?
Date Tue, 15 Feb 2005 14:04:35 GMT
On Tuesday 15 February 2005 09:39, Pierre VANNIER wrote:

>          String fragment = highlighter.getBestFragment(stream,
> introduction);

The highlighter breaks up text into same-size chunks (100 characters by 
default). If the matching term now appears just at the end or at the start of 
such a chunk you'll get no context and it looks as if text was cut off.

Regards
 Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message