How to index word-pairs and phrases

2008-02-18 Thread Ghinwa Choueiter
Hi, I am new to Lucene and have been reading the documentation. I would like to use Lucene to query a song database by lyrics. The query could potentially contain typos, or even wrong words, word contractions (can't versus cannot), etc.. I would like to create an inverted list by word pairs and

RE: How to index word-pairs and phrases

2008-02-19 Thread Ghinwa Choueiter
sues you bring up. Hope that helps, Grant On Feb 18, 2008, at 7:36 PM, Ghinwa Choueiter wrote: Hi, I am new to Lucene and have been reading the documentation. I would like to use Lucene to query a song database by lyrics. The query could potentially contain typos, or even wrong words, word cont

searching for "Nothing"

2008-03-01 Thread Ghinwa Choueiter
Hi, I am trying to do a search as follows (this is a very simplified example): I want to search for: (1) the little boy or (2) one little boy or (3) little boy Can I write the query as: "the OR one OR "" " AND "little" AND "boy" note that what I mean by "" is "Nothing". thank you, -Ghinwa PS

Re: searching for "Nothing"

2008-03-02 Thread Ghinwa Choueiter
27;ll show you exactly what the effect of different analyzers and the exact structure of the resulting query. Offhand, I don't think your rewrite will work. Best Erick On Sat, Mar 1, 2008 at 4:06 PM, Ghinwa Choueiter <[EMAIL PROTECTED]> wrote: Hi, I am trying to do a search as follo

Scoring a query with OR's

2008-03-09 Thread Ghinwa Choueiter
Hi, I had a look at the scoring equation and read the scoring online document: http://lucene.apache.org/java/docs/scoring.html#Scoring It is clear to me how the scoring equation would work for a query that contains AND: http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache

Re: Scoring a query with OR's

2008-03-09 Thread Ghinwa Choueiter
n the document? -Ghinwa - Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: Sent: Sunday, March 09, 2008 1:22 PM Subject: Re: Scoring a query with OR's On Mar 9, 2008, at 12:39 PM, Ghinwa Choueiter wrote: but what exactly happens when there are OR&#

Re: Scoring a query with OR's

2008-03-19 Thread Ghinwa Choueiter
tively think that sharing more terms between document and query is more important than sharing fewer very highly weighted terms. So basically, coord is just trying to reorder things a bit based on reported user expectations. - Mark Ghinwa Choueiter wrote: but shouldn't the coord factor kic