Re: Search result snippets?

2006-01-08 Thread Dan Frankowski
Koji Sekiguchi wrote: Hi Dan, I've experienced same error you are facing. Check out: http://www.gossamer-threads.com/lists/lucene/java-user/28554?search_string=T ermVectorOffsetInfo;#28554 Hope this helps. Koji Thanks! That helped! I put all this in the FAQ entry: http://wiki.apache.o

Re: Search result snippets?

2006-01-06 Thread Otis Gospodnetic
Dan, Grab the highlighter Jar that comes with Lucene in Action code - http://www.lucenebook.com/ . That will work with Lucene 1.4.3. Otis --- Dan Frankowski <[EMAIL PROTECTED]> wrote: > Chris, > > Thanks, I have signed up for the wiki and will put in the answer when > I > fully understand it

RE: Search result snippets?

2006-01-06 Thread Koji Sekiguchi
urday, January 07, 2006 8:00 AM > To: java-user@lucene.apache.org > Subject: Re: Search result snippets? > > > Chris, > > Thanks, I have signed up for the wiki and will put in the answer when I > fully understand it. > > Otis, > > So, I downloaded the Highlighter

Re: Search result snippets?

2006-01-06 Thread Dan Frankowski
Chris, Thanks, I have signed up for the wiki and will put in the answer when I fully understand it. Otis, So, I downloaded the Highlighter code with svn checkout http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/ Then I tried

Re: Search result snippets?

2006-01-04 Thread Chris Hostetter
: Thanks for this tip! This should be in the FAQ. Is there a way to get it : in there? I can't edit the wiki, I think. 1) People who create a Wiki account can edit the FAQ. 2) the FAQ already includes a refrence to Highlighter, I think it's the FAQ entry you mentioned... http://wiki.apache.org/

Re: Search result snippets?

2006-01-04 Thread Dan Frankowski
ssage From: Dan Frankowski <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wed Jan 4 18:04:33 2006 Subject: Search result snippets? Folks, I'm a Lucene newbie, and I've been searching awhile today to answer this question. Googled, read Lucene FAQ, looked at Javadoc f

Re: Search result snippets?

2006-01-04 Thread Otis Gospodnetic
Look for the Highlighter in contrib/ to get this effect: http://www.lucenebook.com/search?query=highlighter+fragment Otis - Original Message From: Dan Frankowski <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wed Jan 4 18:04:33 2006 Subject: Search result snippets?

Search result snippets?

2006-01-04 Thread Dan Frankowski
Folks, I'm a Lucene newbie, and I've been searching awhile today to answer this question. Googled, read Lucene FAQ, looked at Javadoc for Document and Hits, etc. How would you implement "snippets" with Lucene? A snippet is some text around parts of the text that caused a match, with the sear