From lucene-user Tue Feb 15 14:04:35 2005 From: Daniel Naber Date: Tue, 15 Feb 2005 14:04:35 +0000 To: lucene-user Subject: Re: Lucene "cuts" the search results ? Message-Id: <200502151504.35671.daniel.naber () t-online ! de> X-MARC-Message: https://marc.info/?l=lucene-user&m=110847628511585 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