KinoSearch::Docs::DocIDs man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

KinoSearch::Docs::DocIUser)Contributed Perl DocumenKinoSearch::Docs::DocIDs(3)

NAME
       KinoSearch::Docs::DocIDs - Characteristics of KinoSearch document ids.

DESCRIPTION
   Document ids are signed 32-bit integers
       Document ids in KinoSearch start at 1.  Because 0 is never a valid doc
       id, we can use it as a sentinel value:

	   while ( my $doc_id = $posting_list->next ) {
	       ...
	   }

   Document ids are ephemeral
       The document ids used by KinoSearch are associated with a single index
       snapshot.  The moment an index is updated, the mapping of document ids
       to documents is subject to change.

       Since IndexReader objects represent a point-in-time view of an index,
       document ids are guaranteed to remain static for the life of the
       reader.	However, because they are not permanent, KinoSearch document
       ids cannot be used as foreign keys to locate records in external data
       sources.	 If you truly need a primary key field, you must define it and
       populate it yourself.

       Furthermore, the order of document ids does not tell you anything about
       the sequence in which documents were added to the index.

COPYRIGHT AND LICENSE
       Copyright 2008-2010 Marvin Humphrey

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.14.1			  2011-06-20	   KinoSearch::Docs::DocIDs(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net