Re: Sentence and Paragraph searching

2005-07-01 Thread Paul Elschot
On Friday 01 July 2005 20:52, McCallie,David wrote: > > Couldn't you use SpanQuery for something like this? Put special > and tokens around each sentence, > and then search for the specific key words inside of the outer SPAN? Do > the same for paragraphs, sections, etc. > > I tried this once,

Re: Sentence and Paragraph searching

2005-07-01 Thread Paul Elschot
On Friday 01 July 2005 21:13, Dave Kor wrote: > Quoting Peter Laurinc <[EMAIL PROTECTED]>: > > > Hi, > > > > I'm newbie to lucene. > > I wan to ask, how to implement search for phrase that must be in > > sentence/paragraph. > > I did see som examples, that uses term position changing, but I think

Re: Sentence and Paragraph searching

2005-07-01 Thread Dave Kor
Quoting Peter Laurinc <[EMAIL PROTECTED]>: > Hi, > > I'm newbie to lucene. > I wan to ask, how to implement search for phrase that must be in > sentence/paragraph. > I did see som examples, that uses term position changing, but I think > that this is not the way, because it breaks classic proximit

RE: Sentence and Paragraph searching

2005-07-01 Thread McCallie,David
ce penalty of the SPAN overhead. --david -Original Message- From: Peter Laurinc [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 10:46 AM To: java-user@lucene.apache.org Subject: RE: Sentence and Paragraph searching Maybe the solution is have to each term not only position but also

RE: Sentence and Paragraph searching

2005-07-01 Thread Peter Laurinc
u only set what portion of vector must be same. Is this the way? -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 4:04 PM To: java-user@lucene.apache.org Subject: Re: Sentence and Paragraph searching On Jul 1, 2005, at 8:16 AM, Peter Laurinc wr

Re: Sentence and Paragraph searching

2005-07-01 Thread Erik Hatcher
On Jul 1, 2005, at 8:16 AM, Peter Laurinc wrote: Hi, I'm newbie to lucene. I wan to ask, how to implement search for phrase that must be in sentence/paragraph. I did see som examples, that uses term position changing, but I think that this is not the way, because it breaks classic proximity se