Re: Beginning with Lucene

2012-12-04 Thread Mohammad Tariq
Thank you so much for the quick response guys. Got it working. I had to add two more jars along with lucene-core-4.0.0.jar. Thanks again. Regards, Mohammad Tariq On Tue, Dec 4, 2012 at 8:48 PM, BIAGINI Nathan wrote: > Le 04/12/12 16:06, Mohammad Tariq a écrit : > > H

Re: Beginning with Lucene

2012-12-04 Thread Mohammad Tariq
I can. :) Thank you all. Regards, Mohammad Tariq On Wed, Dec 5, 2012 at 12:05 AM, Yann-Erwan Perio wrote: > On Tue, Dec 4, 2012 at 4:32 PM, Mohammad Tariq wrote: > > Hi, > > > Thank you so much for the quick response guys. Got it working. I had to > add > > two more j

Re: Beginning with Lucene

2012-12-04 Thread Mohammad Tariq
beneficial. Is there any other good resource which could help a beginner like me(And based on Lucene-4.0.0)? Thank you. Regards, Mohammad Tariq On Wed, Dec 5, 2012 at 12:46 AM, Mohammad Tariq wrote: > Hello Yann-Erwan, > > That might be a reason or perhaps something was mi

Re: Beginning with Lucene

2012-12-05 Thread Mohammad Tariq
Thank you for the tip Ian. Regards, Mohammad Tariq On Wed, Dec 5, 2012 at 3:10 PM, Ian Lea wrote: > Read Lucene in Action. The fundamental concepts and techniques haven't > changed. You can keep a copy of the release notes and migration > guides for later ve

Re: Optimal way to index

2013-02-11 Thread Mohammad Tariq
ds ending being tens of > thousands, or more. > > > > > -- > Ian. > > On Mon, Feb 11, 2013 at 3:14 PM, Mohammad Tariq > wrote: > > Hello list, > > > > I have a scenario wherein I need an in-memory index as I need > > faster search. The p

Re: Optimal way to index

2013-02-12 Thread Mohammad Tariq
ory*? I have to run the entire process everytime I want to search something. Also, I have added a dot(.) before and after after each word before adding it to the document so that I can do *exact match search*. Is my approach correct or is there any other OOTB feature available in Lucene whi

Re: Optimal way to index

2013-02-12 Thread Mohammad Tariq
, you'll need to reload on startup. You don't have to recreate for > each search though - create and populate the RAMDirectory on startup > and create an IndexSearcher and use that for all searches. > > Depending on your app it might be easier to use a normal disk based >

Re: Optimal way to index

2013-02-12 Thread Mohammad Tariq
A"? > Sounds surprising. > > > -- > Ian. > > > On Tue, Feb 12, 2013 at 6:32 PM, Mohammad Tariq > wrote: > > Thanks again Ian. I'll make the changes suggested by you. And I am using > > dots because if I search for 'AA' it was g