Re: Phrase indexing and searching with Lucene

2009-02-23 Thread Chris Hostetter
: Subject: Phrase indexing and searching with Lucene : References: <499be497.2060...@mapmyindia.com> : <18248.30864...@web26005.mail.ukl.yahoo.com> http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do no

Re: Phrase indexing and searching with Lucene

2009-02-19 Thread Erick Erickson
> 898 7567 1 (relevant) > > > In this example, Lucene matches document 7567 to be relevant to he query > (since it contains all query terms), however bright here is relative to > Sirius (what we need is to get "sun bright"). > > > > > Best &g

RE: Phrase indexing and searching with Lucene

2009-02-19 Thread Nada Mimouni
kson [mailto:erickerick...@gmail.com] Sent: Wed 2/18/2009 3:24 PM To: java-user@lucene.apache.org Subject: Re: Phrase indexing and searching with Lucene I'm still not clear why the built-in phrase query syntax won't work. If I index the following terms (erick, erickson, thinks, small, th

Re: Phrase indexing and searching with Lucene

2009-02-18 Thread Erick Erickson
; What I need to do: > - Index phrases ("multi" words) in addition to terms (single words) > - Search for both : phrases and terms > > > Is there any idea on how to proceed? > > Regards > Nada > > > -Original Message- > From: Erick Erickson [mailto

RE: Phrase indexing and searching with Lucene

2009-02-18 Thread Nada Mimouni
.com] Sent: Wed 2/18/2009 2:10 PM To: java-user@lucene.apache.org Subject: Re: Phrase indexing and searching with Lucene Have you tried the built-in phrase processing with double quotes? e.g. "this is a phrase"? See the Term section at http://lucene.apache.org/java/2_4_0/queryparsers

Re: Phrase indexing and searching with Lucene

2009-02-18 Thread Erick Erickson
Have you tried the built-in phrase processing with double quotes? e.g. "this is a phrase"? See the Term section at http://lucene.apache.org/java/2_4_0/queryparsersyntax.html Best Erick On Wed, Feb 18, 2009 at 5:57 AM, Nada Mimouni < mimo...@tk.informatik.tu-darmstadt.de> wrote: > > > Hello ever