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 = D

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 org.apach

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 org.apache.lucene.analysis.standa

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

2008-01-02 Thread anjana m
ED]> > 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 <[E

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: Retain the index

2008-01-26 Thread anjana m
vecname.add(doc.get("filename")); //System.out.println(doc.get("filename")); //System.out.println(hits.length()); } /** Creates a new instance of ContentSearcher */ return vecname; } -- On Jan 25, 2008 1

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 &g

Re: Retain the index

2008-01-30 Thread anjana m
; Erick > > On Jan 27, 2008 5:11 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 <

Re: Retain the index

2008-01-31 Thread anjana m
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-01-31 Thread anjana m
f 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: > > > with

Re: Retain the index

2008-02-13 Thread anjana m
AIL 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 McCan

Re: Retain the index

2008-02-20 Thread anjana m
gt; which you shouldn't 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 s

how do i search clause

2008-03-02 Thread anjana m
"Rats give clue to smokingi want to search with this clause my serach is serachinf or a single input word. How do i enhacne it to serach for a cluase. please provide me nfo and classes that i need to use. thanks and regards anjnan