Hi guys,

Is there a possibility to get the current id of a new document in the index?
For example something like this:

$index->addDocument($doc);
$docid = $doc->id;

Because I need these ids to synchronisize my database (There is a column
with lucene_id) with the index.
This is needed if i want to edit/delete something in the database and update
the index.
Or is ther another possibility to do this?

Best regards
Dino
-- 
View this message in context: 
http://www.nabble.com/Zend_Search_Lucene%2C-getting-%24doc-id-while-indexing-tf4406453s16154.html#a12571173
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to