:21 PM
Subject: Re: updating the index created for database search
On Monday 26 July 2004 13:31, lingaraju wrote:
If it is new record through which class we have to check that record is
present in the index
Just search for the id with a TermQuery. If you get a hit, the record
Dear All
I need help to update the index created for the database search
I created the index with three field mapping to the three column of
database(oid(primarykey),title, contents)
Then I created the document for each row and added to the writer
On Monday 26 July 2004 11:37, lingaraju wrote:
2) When I fetch the rows from the database in order to update or insert in
index how to know which record is modified in database and which record is
not present is index
Your database will need a last modified column. Then you can select those
- Original Message -
From: Daniel Naber [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Monday, July 26, 2004 3:35 PM
Subject: Re: updating the index created for database search
On Monday 26 July 2004 11:37, lingaraju wrote:
2) When I fetch the rows from the database
On Monday 26 July 2004 13:31, lingaraju wrote:
If it is new record through which class we have to check that record is
present in the index
Just search for the id with a TermQuery. If you get a hit, the record is in
the index already.
the index created for database search
On Monday 26 July 2004 13:31, lingaraju wrote:
If it is new record through which class we have to check that record is
present in the index
Just search for the id with a TermQuery. If you get a hit, the record is
in
the index already