Re: Creating a document blurb when nothing is returned from highlight feature

2007-08-09 Thread Sean Timm
It should probably be configurable: (1) return nothing if no match, (2) substitute with an alternate field, (3) return first sentence or N number of tokens. -Sean Yonik Seeley wrote on 8/9/2007, 5:50 PM: > On 8/9/07, Benjamin Higgins <[EMAIL PROTECTED]> wrote: > > Thanks Mike. I didn't thin

Re: Creating a document blurb when nothing is returned from highlight feature

2007-08-09 Thread Yonik Seeley
On 8/9/07, Benjamin Higgins <[EMAIL PROTECTED]> wrote: > Thanks Mike. I didn't think of creating a blurb beforehand, but that's > a great solution. I'll probably do that. Yonik, I can still add a JIRA > issue if you'd like, though. Always 10 different ways to tackle the same problem in the sear

RE: Creating a document blurb when nothing is returned from highlight feature

2007-08-09 Thread Benjamin Higgins
09, 2007 2:32 PM To: solr-user@lucene.apache.org Subject: Re: Creating a document blurb when nothing is returned from highlight feature On 9-Aug-07, at 2:10 PM, Benjamin Higgins wrote: > Hi all, I'd like to provide a blurb of documents matching a search in > the case when there is no te

Re: Creating a document blurb when nothing is returned from highlight feature

2007-08-09 Thread Mike Klaas
On 9-Aug-07, at 2:10 PM, Benjamin Higgins 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. M

Re: Creating a document blurb when nothing is returned from highlight feature

2007-08-09 Thread Yonik Seeley
On 8/9/07, Benjamin Higgins <[EMAIL PROTECTED]> 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 does

Creating a document blurb when nothing is returned from highlight feature

2007-08-09 Thread Benjamin Higgins
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 docume