Hi all, I'd like to provide a blurb of documents matching a search in
the case when there is no text highlighted.  I assumed that perhaps the
highlighter would give me back the first few words in a document if this
occurred, but it doesn't.  My conundrum is that I'd rather not grab the
whole document body field because some of them are large.  Is there some
way I can request from Lucene the first N words or lines from a field?

 

Thanks.

 

Ben

Reply via email to