|
|||||||||
| Home >> All >> org >> apache >> lucene >> [ document overview ] | PREV NEXT | ||||||||
A
- add(Field) - Method in class org.apache.lucene.document.Document
- Adds a field to a document.
B
- boost - Variable in class org.apache.lucene.document.Document
- boost - Variable in class org.apache.lucene.document.Field
D
- DATE_LEN - Static variable in class org.apache.lucene.document.DateField
- DateField - class org.apache.lucene.document.DateField.
- Provides support for converting dates to strings and vice-versa.
- DateField() - Constructor for class org.apache.lucene.document.DateField
- Document - class org.apache.lucene.document.Document.
- Documents are the unit of indexing and search.
- Document() - Constructor for class org.apache.lucene.document.Document
- Constructs a new document with no fields.
- dateToString(Date) - Static method in class org.apache.lucene.document.DateField
- Converts a Date to a string suitable for indexing.
- doAssert(Document, boolean) - Method in class org.apache.lucene.document.TestDocument
F
- Field - class org.apache.lucene.document.Field.
- A field is a section of a Document.
- Field(String, String, boolean, boolean, boolean) - Constructor for class org.apache.lucene.document.Field
- Create a field by specifying all parameters except for
storeTermVector, which is set tofalse. - Field(String, String, boolean, boolean, boolean, boolean) - Constructor for class org.apache.lucene.document.Field
- Field(String, Reader) - Constructor for class org.apache.lucene.document.Field
- fields - Variable in class org.apache.lucene.document.Document
- fields() - Method in class org.apache.lucene.document.Document
- Returns an Enumeration of all the fields in a document.
G
- get(String) - Method in class org.apache.lucene.document.Document
- Returns the string value of the field with the given name if any exist in this document, or null.
- getBoost() - Method in class org.apache.lucene.document.Document
- Returns the boost factor for hits on any field of this document.
- getBoost() - Method in class org.apache.lucene.document.Field
- Returns the boost factor for hits on any field of this document.
- getField(String) - Method in class org.apache.lucene.document.Document
- Returns a field with the given name if any exist in this document, or null.
- getFields(String) - Method in class org.apache.lucene.document.Document
- Returns an array of Fields with the given name.
- getValues(String) - Method in class org.apache.lucene.document.Document
- Returns an array of values of the field specified as the method parameter.
I
- isIndexed - Variable in class org.apache.lucene.document.Field
- isIndexed() - Method in class org.apache.lucene.document.Field
- True iff the value of the field is to be indexed, so that it may be searched on.
- isStored - Variable in class org.apache.lucene.document.Field
- isStored() - Method in class org.apache.lucene.document.Field
- True iff the value of the field is to be stored in the index for return with search hits.
- isTermVectorStored() - Method in class org.apache.lucene.document.Field
- True iff the term or terms used to index this field are stored as a term
vector, available from IndexReader.getTermFreqVector(int,String)>
IndexReader.getTermFreqVector(int,String)55 . - isTokenized - Variable in class org.apache.lucene.document.Field
- isTokenized() - Method in class org.apache.lucene.document.Field
- True iff the value of the field should be tokenized as text prior to indexing.
K
- Keyword(String, String) - Static method in class org.apache.lucene.document.Field
- Constructs a String-valued Field that is not tokenized, but is indexed and stored.
- Keyword(String, Date) - Static method in class org.apache.lucene.document.Field
- Constructs a Date-valued Field that is not tokenized and is indexed, and stored in the index, for return with hits.
M
- MAX_DATE_STRING() - Static method in class org.apache.lucene.document.DateField
- MIN_DATE_STRING() - Static method in class org.apache.lucene.document.DateField
- makeDocumentWithFields() - Method in class org.apache.lucene.document.TestDocument
N
- name - Variable in class org.apache.lucene.document.Field
- name() - Method in class org.apache.lucene.document.Field
- The name of the field (e.g., "date", "subject", "title", or "body") as an interned string.
O
- org.apache.lucene.document - package org.apache.lucene.document
R
- readerValue - Variable in class org.apache.lucene.document.Field
- readerValue() - Method in class org.apache.lucene.document.Field
- The value of the field as a Reader, or null.
- removeField(String) - Method in class org.apache.lucene.document.Document
- Removes field with the specified name from the document.
- removeFields(String) - Method in class org.apache.lucene.document.Document
- Removes all fields with the given name from the document.
S
- setBoost(float) - Method in class org.apache.lucene.document.Document
- Sets a boost factor for hits on any field of this document.
- setBoost(float) - Method in class org.apache.lucene.document.Field
- Sets the boost factor hits on this field.
- storeTermVector - Variable in class org.apache.lucene.document.Field
- stringToDate(String) - Static method in class org.apache.lucene.document.DateField
- Converts a string-encoded date into a Date object.
- stringToTime(String) - Static method in class org.apache.lucene.document.DateField
- Converts a string-encoded date into a millisecond time.
- stringValue - Variable in class org.apache.lucene.document.Field
- stringValue() - Method in class org.apache.lucene.document.Field
- The value of the field as a String, or null.
T
- TestDocument - class org.apache.lucene.document.TestDocument.
- Tests Document class.
- TestDocument() - Constructor for class org.apache.lucene.document.TestDocument
- Text(String, String) - Static method in class org.apache.lucene.document.Field
- Constructs a String-valued Field that is tokenized and indexed, and is stored in the index, for return with hits.
- Text(String, String, boolean) - Static method in class org.apache.lucene.document.Field
- Constructs a String-valued Field that is tokenized and indexed, and is stored in the index, for return with hits.
- Text(String, Reader) - Static method in class org.apache.lucene.document.Field
- Constructs a Reader-valued Field that is tokenized and indexed, but is not stored in the index verbatim.
- Text(String, Reader, boolean) - Static method in class org.apache.lucene.document.Field
- Constructs a Reader-valued Field that is tokenized and indexed, but is not stored in the index verbatim.
- testGetValuesForIndexedDocument() - Method in class org.apache.lucene.document.TestDocument
- Tests
Document#getValues()method for a Document retrieved from an index. - testGetValuesForNewDocument() - Method in class org.apache.lucene.document.TestDocument
- Tests
Document#getValues()method for a brand new Document that has not been indexed yet. - testRemoveForNewDocument() - Method in class org.apache.lucene.document.TestDocument
- Tests
Document#remove()method for a brand new Document that has not been indexed yet. - timeToString(long) - Static method in class org.apache.lucene.document.DateField
- Converts a millisecond time to a string suitable for indexing.
- toString() - Method in class org.apache.lucene.document.Document
- Prints the fields of a document for human consumption.
- toString() - Method in class org.apache.lucene.document.Field
- Prints a Field for human consumption.
U
- UnIndexed(String, String) - Static method in class org.apache.lucene.document.Field
- Constructs a String-valued Field that is not tokenized nor indexed, but is stored in the index, for return with hits.
- UnStored(String, String) - Static method in class org.apache.lucene.document.Field
- Constructs a String-valued Field that is tokenized and indexed, but that is not stored in the index.
- UnStored(String, String, boolean) - Static method in class org.apache.lucene.document.Field
- Constructs a String-valued Field that is tokenized and indexed, but that is not stored in the index.
A B D F G I K M N O R S T U
|
|||||||||
| Home >> All >> org >> apache >> lucene >> [ document overview ] | PREV NEXT | ||||||||