lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Creating a document blurb when nothing is returned from highlight feature
Date Thu, 09 Aug 2007 21:16:54 GMT
On 8/9/07, Benjamin Higgins <bhiggins2@seattletimes.com> wrote:
> 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?

Hmmm, that does sound like a reasonable thing, and I guess it belongs
in/with the highlighter functionallity?

Could you open a JIRA issue to track this?

-Yonik

Mime
View raw message