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,
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
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
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
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
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