Re: sorting on a non english based locale field

2004-12-30 Thread Erik Hatcher
On Dec 29, 2004, at 12:36 PM, Praveen Peddi wrote: Hi fellow luceners, I was looking at the lucene sorting code and it looks like lucene does consider locale into account while sorting. So I assume lucene already handles for strings. But in my case, I wrote my own SortComparator

problem indexing large document collction on windows xp

2004-12-30 Thread Thilo Will
Hello I encoutered a problem when i tried to index large document collections (about 20 mio documents). The indexing failed with the IOException: Cannot delete deletables I tried different times (with the same document collection) and allways received the error, but after a different number of

Re: problem indexing large document collction on windows xp

2004-12-30 Thread Bernhard Messer
Thilo, thanks for your effort. Could you please open a new entry in Bugzilla, mark it as [PATCH] and add the diff file with your changes. This ensures that the sources and the information will not get lost in the huge universe of mailing lists. As soon there is time, one of the comitters will

Deleting index for DB indexing

2004-12-30 Thread mahaveer jain
Hi All, I am using lucene for my DB indexing. I have 2 columns which are Keyword. Now I want to delete my index based on this 2 keyword. Is it possible ? If no. What is other alternative ? Thanks Mahaveer - Do you Yahoo!? Yahoo! Mail

Re: Deleting index for DB indexing

2004-12-30 Thread Paul
Alternative: create a hashed value which is unique within your DB (e.g. use md5). Afterwards you can delete documents from the index with the IndexReader(Term). Without that additional field you can use the IndexSearcher to retrieve your documents from the index and then use IndexReader(DocNum) to

Search not working properly. Bug !!!!!!

2004-12-30 Thread Mohamed Ebrahim Faisal
Hi all I have written a simple program to test Indexing Search. After indexing couple of documents, I Searched for the same, but i didn't get Successfull matches. I don't know whether it is a bug in Lucene or in the code. I have enclosed the code for your review. But when i used Lucene for

Re: Deleting index for DB indexing

2004-12-30 Thread mahaveer jain
I am indexing more that 5 tables. And each for them have autoincrement and that is the primary key. So if I do find DocNum, it may so happen that it may delete document I don't want to delete. Paul [EMAIL PROTECTED] wrote: Alternative: create a hashed value which is unique within your DB (e.g.

Re: Search not working properly. Bug !!!!!!

2004-12-30 Thread mahaveer jain
try this objQuery = QueryParser.parse(John, name , objAnalyzer); or objQuery = QueryParser.parse(Engineer, designation, objAnalyzer); I should work. The second parameter is the column name you pass. So if you are search for name, it will look for only name column. Hope this help you

Re: Search not working properly. Bug !!!!!!

2004-12-30 Thread Mike Snare
You appear to be searching for the word Engineer in the name field. Shouldn't this query be directed at the designation field? The only terms in the name field would be Ebrahim, Faisal, John, and Smith, wouldn't they? On Thu, 30 Dec 2004 22:06:46 +0530, Mohamed Ebrahim Faisal [EMAIL PROTECTED]

Re: Deleting index for DB indexing

2004-12-30 Thread Morus Walter
mahaveer jain writes: I am using lucene for my DB indexing. I have 2 columns which are Keyword. Now I want to delete my index based on this 2 keyword. Is it possible ? If no. What is other alternative ? You can delete documents based on document number from an index reader. You can get

Fatal error on Windows

2004-12-30 Thread Steve Rajavuori
I am getting a fatal exception on Windows 2000 Server when performing a search. Upon call to IndexSearcher.search( ) with a large query I see this error from the JVM: Unexpected Signal : EXCEPTION_FLT_STACK_CHECK (0xc092) occurred at PC=0xA2D4 16 Function=[Unknown.] Library=(N/A) NOTE: We

Re: Deleting index for DB indexing

2004-12-30 Thread mahaveer jain
Thanks Paul, You idea seems to be good. I ll try that. I have one more question. Should the new key what I create have to be keyword ? or Can it be just a column in the index ? Mahaveer Paul [EMAIL PROTECTED] wrote: On Thu, 30 Dec 2004 08:36:04 -0800 (PST), mahaveer jain wrote: I am