Re: Range Query Sombody HELP please

2004-05-31 Thread Ype Kingma
Karthik, On Monday 31 May 2004 06:12, Karthik N S wrote: Hey Ype ... My Question now is, If I want to Use Range Query to get search hits between fileName B10181_P702 and B10181_P355 only Instead of all the 67 hits , In this case there is no need to override range query, just use

Range Query Sombody HELP please

2004-05-31 Thread Karthik N S
Hey YPE Apologies again I did as per u'r mail but see the ERROR... Search Keyword : +king+filename:[b10181_p702 TO b01081_p355] Source path [ E:/po/ ] : e:/indexer3/b10181 The Exception Raised file = SearchFiles.searchIndx0 java.lang.NegativeArraySizeException at

Range Query Sombody HELP please

2004-05-31 Thread Karthik N S
Hey Ype Sorry Once again Apologies for my last mail I re indexed my folder 10181 [Seem's to be corrupted] Now I am getting the hits as D:\JAVA\lucene\src\demojava org.lucene.src.indexer.search.SearchFiles Search Keyword : +button+filename:[B10181_P702 TO B01081_P355] Source path [

indexreader throwing IOException with lock obtain timed out

2004-05-31 Thread Sebastian Ho
hi i am updating the index and therefore need to delete documents before adding the updated version. This is how I delete the document which is working fine. - int deleteDoc = 0; deleteDoc = IndexReader.open(dstDir).delete(new

Re: indexreader throwing IOException with lock obtain timed out

2004-05-31 Thread Sebastian Ho
Sorry guys I have solved it. I should do this. int deleteDoc = 0; IndexReader reader = IndexReader.open(dstDir); deleteDoc = reader.delete(new Term(url, url)); reader.close(); Just need to use the same instance of reader. anyway lucene should just overwrite the old document during updating

Re: Range Query Sombody HELP please

2004-05-31 Thread Ype Kingma
On Monday 31 May 2004 11:09, Karthik N S wrote: ... I re indexed my folder 10181 [Seem's to be corrupted] Was the index writer closed? Now I am getting the hits as D:\JAVA\lucene\src\demojava org.lucene.src.indexer.search.SearchFiles Search Keyword : +button+filename:[B10181_P702 TO

RE: Range Query Sombody HELP please

2004-05-31 Thread Karthik N S
Hey Ype... 1) I switched Off the Multi search Senerio. 2) Changing the Field type from Text to Keyword will fail When I search for the the Field type filename so,I still maintained it to be Text D:\JAVA\lucene\src\demojava org.lucene.src.indexer.search.SearchFiles Search Keyword :

Re: Newbie Questions: Site Scoping, Page Type Filtering/Sorting, Localization, Clustering

2004-05-31 Thread Erik Hatcher
On May 30, 2004, at 10:34 PM, Sasha Haghani wrote: I am a newbie to Lucene and I'm considering using it in an upcoming project. I've read through the documentation but I still have a number of questions: I'll do my best with some pointers below... 1. SEGMENTING AN INDEX QUERIES BY SITE SCOPE In

Re: Range Query Sombody HELP please

2004-05-31 Thread Erik Hatcher
Try my AnalysisDemo code on some filename field samples: http://wiki.apache.org/jakarta-lucene/AnalysisParalysis You mentioned earlier, I think, that you are using a custom analyzer. Give us the output of AnalysisDemo on some samples so we can see what is coming out. If you can put

Re: Range Query Sombody HELP please

2004-05-31 Thread Ype Kingma
Karthik, On Monday 31 May 2004 13:47, Karthik N S wrote: Hey Ype... 1) I switched Off the Multi search Senerio. 2) Changing the Field type from Text to Keyword will fail When I search for the the Field type filename so,I still maintained it to be Text Just make sure the file name

similarity of two texts

2004-05-31 Thread uddam chukmol
Hi, I'm a newbie to Lucene and heard that it helps in the information retrieval process. However, my problem is not really related to the information retrieval but to the comparison of two texts. I think Lucene may help resolving it. I would like to have a clue on how to compare two given

Lockfile Problem Solved

2004-05-31 Thread Terry Steichen
Just thought I'd pass on some info I just discovered. I've been successfully using the CVS head version of Lucene as of about 2 months ago. I then got the formal release (1.4-rc3) and tried it with my application, but it failed. I tried it with some commandline test routines and they worked

Re: similarity of two texts

2004-05-31 Thread Stefan Groschupf
Lucene can't help you. Search for text classification or text clustering. Browse the tools section @ www.text-mining.org there you will found may be tools that can help you with this task. In general some key words for your further search: Feature extraction from text. Data mining algorithms