Re: Retain the index

2008-02-20 Thread anjana m
do. Always pass false to that. (Newer versions of Lucene have deprecated the create flag to FSDirectory, leaving it entirely to IndexWriter). On the lock obtain timed out, probably that's a left over lock file, so you should just remove it if you're sure it is. Mike anjana m wrote

Re: Retain the index

2008-02-13 Thread anjana m
PROTECTED] wrote: Physically delete the file, or, use IndexReader.unlock static method. Mike On Jan 31, 2008, at 4:26 AM, anjana m wrote: How do i remove the locks..? On Jan 31, 2008 2:49 PM, Michael McCandless [EMAIL PROTECTED] wrote: It looks like you are passing true

Re: Retain the index

2008-01-31 Thread anjana m
to FSDirectory, leaving it entirely to IndexWriter). On the lock obtain timed out, probably that's a left over lock file, so you should just remove it if you're sure it is. Mike anjana m wrote: with true: i finding a serious problem when i need new index please help.. but how can ikeep

Re: Retain the index

2008-01-31 Thread anjana m
, leaving it entirely to IndexWriter). On the lock obtain timed out, probably that's a left over lock file, so you should just remove it if you're sure it is. Mike anjana m wrote: with true: i finding a serious problem when i need new index please help.. but how can ikeep chnaging

Re: Retain the index

2008-01-30 Thread anjana m
AM, anjana m [EMAIL PROTECTED] wrote: yes i dont want the old index to be deletd since its running on my app server.. any suggestion..? On Jan 27, 2008 3:07 PM, Daniel Naber [EMAIL PROTECTED] wrote: On Sonntag, 27. Januar 2008, anjana m wrote: IndexWriter writer

Re: Retain the index

2008-01-27 Thread anjana m
yes i dont want the old index to be deletd since its running on my app server.. any suggestion..? On Jan 27, 2008 3:07 PM, Daniel Naber [EMAIL PROTECTED] wrote: On Sonntag, 27. Januar 2008, anjana m wrote: IndexWriter writer = new IndexWriter(indexDir, new StandardAnalyzer(), true

Re: Retain the index

2008-01-26 Thread anjana m
of ContentSearcher */ return vecname; } -- On Jan 25, 2008 1:35 PM, anjana m [EMAIL PROTECTED] wrote: I want to retain the older index. I dont want to delete the older index. Please help me. Does the recent release has the option

Retain the index

2008-01-25 Thread anjana m
I want to retain the older index. I dont want to delete the older index. Please help me. Does the recent release has the option to update the indexes without deleting it. I am ruuning the indexer on my sun application server. and its thorwing exceptions like cannot delete indexex. now every time

Re: Getting Start to LUCENE 2.2.0 - How to Indexing a Directory of Your WebSite.

2008-01-02 Thread anjana m
Hope this info will help.. i have just finished the task... run the indexer then run the seracher.. check the mail completly these are the steps that i ahve followed.. t search directories.. * Indexer.java* import org.apache.lucene.index.IndexWriter; import

Re: Getting Start to LUCENE 2.2.0 - How to Indexing a Directory of Your WebSite.

2008-01-02 Thread anjana m
to 1.9 and then to 2.0. Erick On Jan 2, 2008 9:31 AM, Jesiel Trevisan [EMAIL PROTECTED] wrote: Thanks. I'm seeing many chances in this Lucene version 1.3 to 2.2.0 For example, does exists Field.Text() ... .KeyWork()... etc On Jan 2, 2008 10:39 AM, anjana m [EMAIL

Re: FuzzyQuery - rounding bug?

2007-12-17 Thread anjana m
how to i use lucene search to serach files of the local system On Dec 17, 2007 2:11 PM, Helmut Jarausch [EMAIL PROTECTED] wrote: Hi, according to the LiA book the FuzzyQuery distance is computed as 1- distance / min(textlen,targetlen) Given def addDoc(text, writer): doc = Document()

Re: FuzzyQuery + QueryParser - I'm puzzled

2007-12-17 Thread anjana m
hey i amnot bale to comple packages are not found.. i download..the luncene package.. help me.. .lucene.search.Hits; import org.apache.lucene.search.Query; import org.apache.lucene.document.Field; import org.apache.lucene.search.Searcher; import org.apache.lucene.index.IndexWriter; import