Proximity Search between phrases

2008-12-28 Thread Vasudevan Comandur
Hello, I am new to using Lucene Indexing Server and to query syntax as well. I went through the documentation about using proximity searches between 2 words. But I would like to use proximity searches between two phrases. How do I construct the Query for Lucene to fetch the relevant docum

Re: Proximity Search between phrases

2008-12-28 Thread Aaron Schon
Take a look at SpanQuery and SpanNearQuery. - Original Message From: Vasudevan Comandur To: java-user@lucene.apache.org Sent: Sunday, December 28, 2008 3:20:47 PM Subject: Proximity Search between phrases Hello, I am new to using Lucene Indexing Server and to query syntax as well.

Proximity Search between phrases

2008-12-28 Thread Vasudevan Comandur
Hello, I am new to using Lucene Indexing Server and to query syntax as well. I went through the documentation about using proximity searches between 2 words. But I would like to use proximity searches between two phrases. How do I construct the Query for Lucene to fetch the relevant docum

Re: Re: Re: Field Not Present In Document

2008-12-28 Thread tom
AUTOMATIC REPLY LUX is closed until 5th January 2009 - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: Re: Field Not Present In Document

2008-12-28 Thread tom
AUTOMATIC REPLY LUX is closed until 5th January 2009 - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: Field Not Present In Document

2008-12-28 Thread Grant Ingersoll
How do you know that document in question has an id of 1, as in when you do: Document documentFromIndex = indexReader.document(1) I would fire up Luke (http://www.getopt.org/luke) against your index and see what is inside of it. On Dec 26, 2008, at 3:19 PM, Amin Mohammed-Coleman wrote: