{
objDocument = objHits.doc(nStart);
System.out.println(" address
"+objDocument.get("address"));
}
objIndexSearcher.close();
objIndexSearcher = null;
}
publi
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 inde
On Thu, 30 Dec 2004 08:36:04 -0800 (PST), mahaveer jain
<[EMAIL PROTECTED]> wrote:
> 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.
you need to cre
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
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
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 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 -