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
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
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
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
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
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
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.
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
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]
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
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
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
12 matches
Mail list logo