Re: Unable to do exact search with Lucene.

2009-07-17 Thread prashant ullegaddi
Actually, the format of the query for which it worked was: "\"Apache jakarta\""~10. Thanks for the help. Prashant. On Fri, Jul 17, 2009 at 7:13 PM, Siraj Haider wrote: > Try doing a single word search, instead of a phrase. I once had a similar > problem when I indexed using Field.setOmitTf(tr

Re: Unable to do exact search with Lucene.

2009-07-17 Thread Siraj Haider
Try doing a single word search, instead of a phrase. I once had a similar problem when I indexed using Field.setOmitTf(true) which removed all the positional information from index, which is required to do phrase searches. -siraj Erick Erickson wrote: The first thing I'd do is get a copy of

Re: Unable to do exact search with Lucene.

2009-07-16 Thread Erick Erickson
The first thing I'd do is get a copy of Luke and look in my index to see exactly what's there. Nothing in your e-mails indicates that you *should* get any hits. Although I admin not getting jakarta lucene in 50M pages seems unlikely. But Ian's suggestion that you start with a smaller index is spot

Re: Unable to do exact search with Lucene.

2009-07-16 Thread Ian Lea
You might like to start with a smaller index ... There are many suggestions in the "Why am I getting no hits / incorrect hits?" of the Lucene FAQ at http://wiki.apache.org/lucene-java/LuceneFAQ. Maybe if you work through those you'll find the problem. -- Ian. On Thu, Jul 16, 2009 at 1:42 PM,

Re: Unable to do exact search with Lucene.

2009-07-16 Thread prashant ullegaddi
50 million HTML pages (part of clueweb09 dataset for TREC) were indexed using Hadoop into 56 indexes. 56 indexes were merged into a single index. Analyzer is the StandardAnalyzer. On Thu, Jul 16, 2009 at 6:07 PM, Anshum wrote: > Hi Prashant, > > What did you index? how did you index? what anal

Re: Unable to do exact search with Lucene.

2009-07-16 Thread Anshum
Hi Prashant, What did you index? how did you index? what analyzer did you use? without all of these, perhaps it'd be difficult to figure out the issue. -- Anshum Gupta Naukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yo

Re: Unable to do exact search with Lucene.

2009-07-16 Thread prashant ullegaddi
Sorry, subject should have been: Unable to do proximity search. Also, how to do exact search in Lucene? ~ Prashant On Thu, Jul 16, 2009 at 6:04 PM, prashant ullegaddi < prashullega...@gmail.com> wrote: > Hi, > > I tried searching: > "Apache Jakarta"~10 > > N

Unable to do exact search with Lucene.

2009-07-16 Thread prashant ullegaddi
Hi, I tried searching: "Apache Jakarta"~10 Nothing was returned. What might be wrong? Regards, Prashant.

Re: how to exact search?

2007-05-26 Thread Erick Erickson
ant understand > when > > the query is field1:Test getFieldQuery() method will be called but when > > the > > query is field1:"Test" (with double quotes) neither of methods will be > > called!!! > > > > what happen when I use ( " ) in the query

Re: how to exact search?

2007-05-26 Thread Mohammad Norouzi
Query() method will be called but when > the > query is field1:"Test" (with double quotes) neither of methods will be > called!!! > > what happen when I use ( " ) in the query? and how can I catch it to use a > PhraseQuery to exact search? > > > Thank you ve

Re: how to exact search?

2007-05-26 Thread Erick Erickson
s field1:Test getFieldQuery() method will be called but when the query is field1:"Test" (with double quotes) neither of methods will be called!!! what happen when I use ( " ) in the query? and how can I catch it to use a PhraseQuery to exact search? Thank you very m

how to exact search?

2007-05-26 Thread Mohammad Norouzi
quot; (with double quotes) neither of methods will be called!!! what happen when I use ( " ) in the query? and how can I catch it to use a PhraseQuery to exact search? Thank you very much -- Regards, Mohammad -- see my blog: http://brainable.blogspot.com/

Re: Exact Search

2006-03-06 Thread Erik Hatcher
-user@lucene.apache.org Subject: Re: Exact Search Could you please provide an example of some sample text, the terms that are emitted by the analyzer, and a query you'd like to work? Erik On Mar 6, 2006, at 5:50 AM, Waleed Tayea wrote: Dear All. How can I perform an exact search on an index c

RE: Exact Search

2006-03-06 Thread Waleed Tayea
able to know wheather the original text exactly matches my query or not. Thanks. Waleed, -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 1:31 PM To: java-user@lucene.apache.org Subject: Re: Exact Search Could you please provide an example of

Re: Exact Search

2006-03-06 Thread Erik Hatcher
Could you please provide an example of some sample text, the terms that are emitted by the analyzer, and a query you'd like to work? Erik On Mar 6, 2006, at 5:50 AM, Waleed Tayea wrote: Dear All. How can I perform an exact search on an index constructed with a morpholo

Exact Search

2006-03-06 Thread Waleed Tayea
Dear All. How can I perform an exact search on an index constructed with a morphological analyzer. Thanks in advance Waleed,