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.
Cheers,
Henrik
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.
Cheers,
Henrik
On Fri, Dec 01, 2006 at 04:24:44PM +0100, Henrik Z. 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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs