Main Page | Data Structures | Directories | File List | Data Fields | Globals

lcn_document.h File Reference

Routines for manipulating lucene documents. More...

#include "lcn_types.h"
#include "lcn_field.h"

Go to the source code of this file.

Typedefs

typedef lcn_document_t lcn_document_t
 Opaque structure representing a document in the index.

Functions

lcn_document_tlcn_document_create (apr_pool_t *pool)
 Create an empty document, allocated from pool.
apr_uint32_t lcn_document_numfields (lcn_document_t *doc)
 Return the number of fields in document doc.
void lcn_document_add_field (lcn_document_t *doc, lcn_field_t *field)
 Add field to doc.
const lcn_field_tlcn_document_field_by_num (const lcn_document_t *doc, apr_uint32_t num)
 Return field number num from doc, or NULL if it does not exist.
const lcn_field_tlcn_document_field_by_name (const lcn_document_t *doc, const lcn_char_t *name)
 Return field name from doc, or NULL if it does not exist.


Detailed Description

Routines for manipulating lucene documents.

Definition in file lcn_document.h.


Generated on Sat Mar 26 08:12:11 2005 for Lucene4c by  doxygen 1.4.0