net.grcomputing.opencms.search.lucene
Interface I_DocumentConstants

All Known Implementing Classes:
BodylessDocument, JspDocument, PageDocument, PlainDocument, TaggedPlainDocument

public interface I_DocumentConstants

Constants for building Lucene Documents, Searches and Indexers.

FIELD_ vars represent data that is put in Documents as Field attributes An implementation ought to try to include as many of these fields as is applicable.

Author:
Matt Butcher mbutcher@grcomputing.net
See Also:
http://grcomputing.net

Field Summary
static java.lang.String FIELD_BODY
          body is the body of the file .
static java.lang.String FIELD_DESC
          description is property "description" from file
static java.lang.String FIELD_INITIAL_ADD
          initial_add is DateAdded of CmsFile
static java.lang.String FIELD_KEYWORDS
          keywords is "keywords" property from file.
static java.lang.String FIELD_LAST_MOD
          last_modified is DateLastModified of CmsFile
static java.lang.String FIELD_PATH
          abs_path is absolute VFS path.
static java.lang.String FIELD_TITLE
          title is property "title" from file
 

Field Detail

FIELD_PATH

public static final java.lang.String FIELD_PATH
abs_path is absolute VFS path. An attempt is made to add each "FIELD_" constant to the index.

See Also:
Constant Field Values

FIELD_INITIAL_ADD

public static final java.lang.String FIELD_INITIAL_ADD
initial_add is DateAdded of CmsFile

See Also:
Constant Field Values

FIELD_LAST_MOD

public static final java.lang.String FIELD_LAST_MOD
last_modified is DateLastModified of CmsFile

See Also:
Constant Field Values

FIELD_TITLE

public static final java.lang.String FIELD_TITLE
title is property "title" from file

See Also:
Constant Field Values

FIELD_DESC

public static final java.lang.String FIELD_DESC
description is property "description" from file

See Also:
Constant Field Values

FIELD_KEYWORDS

public static final java.lang.String FIELD_KEYWORDS
keywords is "keywords" property from file.

See Also:
Constant Field Values

FIELD_BODY

public static final java.lang.String FIELD_BODY
body is the body of the file .

See Also:
Constant Field Values


Copyright © 2003 Matt Butcher of Global Resources for Computing. Reporoduction and modification of this documents are allowed as in accordance with the GPL v2. Refer to COPYING.txt for information on acceptible use