On Fri, Dec 01, 2006 at 04:24:44PM +0100, Henrik Zagerholm wrote:
> Hi list,
> 
> I wonder if it is possible to specify my own doc_id?
> I want to have the same doc_id as my fulltexts tables primary keys.

no, that's not possible. the doc_id of documents may change over time
(as deletions and index optimization take place) and is only guaranteed
to be consistent if used with the IndexReader instance that first
retrieved it.

Jens
 

-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to