lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <karl.wet...@gmail.com>
Subject Re: Lucene index on relational data
Date Fri, 11 Apr 2008 23:47:10 GMT
Rajesh parab skrev:

>  https://issues.apache.org/jira/browse/LUCENE-879
> <<Rajesh>>
> As per the hack you mentioned inside JIRA, if some of
> the documents are deleted and re-inserted into
> secondary index, the other documents inside the index
> do not change their doc id. However, the newly added
> documents will have different doc ids and hence, we
> will have to sync them with primary index doc ids. Is
> my understanind correct? If this is the case, then we
> will have to update both the indexes every time
> something inside secondary index changes.

 From the JIRA comments to the second patch in there:

This new patch allows consumer to, based on a primary key, delete a 
document and add a new document with the same document number as the 
deleted. The events will occur on merging.


     karl

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message