|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xpn.xwiki.plugin.lucene.IndexFields
public abstract class IndexFields
Contains constants naming the Lucene index fields used by this Plugin and some helper methods for proper handling of special field values like dates.
| Field Summary | |
|---|---|
static String |
DATE_FORMAT
Format for date storage in the index, and therefore the format which has to be used for date-queries. |
static String |
DOCUMENT_AUTHOR
Last modifier |
static String |
DOCUMENT_CREATIONDATE
Date of creation |
static String |
DOCUMENT_CREATOR
Creator of the document |
static String |
DOCUMENT_DATE
Date of last modification |
static String |
DOCUMENT_FULLNAME
FullName of the document (example : Main.WebHome) |
static String |
DOCUMENT_ID
Keyword field, holds a string uniquely identifying a document across the index. |
static String |
DOCUMENT_LANGUAGE
Language of the document |
static String |
DOCUMENT_NAME
Name of the document |
static String |
DOCUMENT_SPACE
Name of the space the document belongs to |
static String |
DOCUMENT_TITLE
Title of the document |
static String |
DOCUMENT_TYPE
Type of a document, "attachment", "wikipage" or "objects", used to control presentation of searchresults. |
static String |
DOCUMENT_VERSION
Version of the document |
static String |
DOCUMENT_WEB
Deprecated. |
static String |
DOCUMENT_WIKI
Keyword field, holds the name of the virtual wiki a document belongs to |
static String |
FILENAME
Filename, only used for attachments |
static String |
FULLTEXT
Fulltext content, not stored (and can therefore not be restored from the index). |
static String |
KEYWORDS
not in use |
static String |
OBJECT
XWiki object type, only used for objects |
| Method Summary | |
|---|---|
static String |
dateToString(Date date)
|
static Date |
stringToDate(String dateValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DOCUMENT_ID
public static final String DOCUMENT_WIKI
public static final String DOCUMENT_TITLE
public static final String DOCUMENT_NAME
@Deprecated public static final String DOCUMENT_WEB
public static final String DOCUMENT_SPACE
public static final String DOCUMENT_FULLNAME
public static final String DOCUMENT_VERSION
public static final String DOCUMENT_LANGUAGE
public static final String DOCUMENT_TYPE
SearchResultand xdocs/searchResult.vm.
public static final String FILENAME
public static final String OBJECT
public static final String DOCUMENT_AUTHOR
public static final String DOCUMENT_CREATOR
public static final String DOCUMENT_DATE
public static final String DOCUMENT_CREATIONDATE
public static final String FULLTEXT
public static final String KEYWORDS
public static final String DATE_FORMAT
| Method Detail |
|---|
public static final String dateToString(Date date)
public static final Date stringToDate(String dateValue)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||