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 > > Nothing was returned. What might be w

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.