RE: Contrib Highlighter and Phrase search

2008-03-19 Thread Itamar Syn-Hershko
(since I'm inflating the query). Does this make sense? Itamar. -Original Message- From: Daniel Noll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 12:44 AM To: java-user@lucene.apache.org Subject: Re: Contrib Highlighter and Phrase search On Wednesday 19 March 2008 18:28:15 Ita

Re: Contrib Highlighter and Phrase search

2008-03-19 Thread Daniel Noll
On Wednesday 19 March 2008 18:28:15 Itamar Syn-Hershko wrote: > 1. Build a Radix tree (PATRICIA) and populate it with all search terms. > Phrase queries will be considered as one big string, regardless their > spaces. > > 2. Iterate through your text ignoring spaces and punctuation marks, and for >

RE: Contrib Highlighter and Phrase search

2008-03-19 Thread Itamar Syn-Hershko
t color. This allows for fast and exact highlighting of large texts as well as smaller ones. I would love to hear any comments on the above. Itamar. -Original Message- From: Mark Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 10:51 PM To: java-user@lucene.apache.org Subject: R

Re: Contrib Highlighter and Phrase search

2008-03-18 Thread markharw00d
See https://issues.apache.org/jira/browse/LUCENE-794 Spencer Tickner wrote: Hi List, Thanks in advance for any help. I'm working with the contrib highlighting class and am having issues when doing searches with a phrase. I've been able to duplicate this behaviour in the HighlighterTest class.

Re: Contrib Highlighter and Phrase search

2008-03-18 Thread Spencer Tickner
Thanks, I'll give that a try. Cheers, Spencer On Tue, Mar 18, 2008 at 1:50 PM, Mark Miller <[EMAIL PROTECTED]> wrote: > The contrib Highlighter is not position sensitive. You can try out the > patch I have been working here if you are interested: > https://issues.apache.org/jira/browse/LUCENE-

Re: Contrib Highlighter and Phrase search

2008-03-18 Thread Mark Miller
The contrib Highlighter is not position sensitive. You can try out the patch I have been working here if you are interested: https://issues.apache.org/jira/browse/LUCENE-794 Spencer Tickner wrote: Hi List, Thanks in advance for any help. I'm working with the contrib highlighting class and am

Contrib Highlighter and Phrase search

2008-03-18 Thread Spencer Tickner
Hi List, Thanks in advance for any help. I'm working with the contrib highlighting class and am having issues when doing searches with a phrase. I've been able to duplicate this behaviour in the HighlighterTest class. When calling the testGetBestFragmentsPhrase() method I get the correct: John K

Re: highlighter and phrase search

2005-03-10 Thread markharw00d
The short answer is "no", there is not support for this currently. Implementing this support is possible but fiddly- there is a related discussion here which outlines some of the challenges : http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg12435.html Cheers, Mark --

highlighter and phrase search

2005-03-10 Thread Yura Smolsky
Hello, java-user. I have two documents: 1. content:A V A B 2. content:A B C D When I do search for content:"A B" (exact phrase search) and StandardAnalyzer(), when I use Highlighter I receive following highlighted results: 1. _A_ V _A B_ 2. _A B_ C D Actually "A" in the first result does not nee