Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.lucene.document: Javadoc index of package org.apache.lucene.document.


Package Samples:

org.apache.lucene.document

Classes:

Document: Documents are the unit of indexing and search. A Document is a set of fields. Each field has a name and a textual value. A field may be stored 55 with the document, in which case it is returned with search hits on the document. Thus each document should typically contain one or more stored fields which uniquely identify it. Note that fields which are not stored 55 are not available in documents retrieved from the index, e.g. with Hits.doc(int) > Hits.doc(int) 55 , Searchable.doc(int) > Searchable.doc(int) 55 or IndexReader.document(int) > IndexReader.document(int) 55 .
DateField: Provides support for converting dates to strings and vice-versa. The strings are structured so that lexicographic sorting orders by date, which makes them suitable for use as field values and search terms. Note that you do not have to use this class, you can just save your dates as strings if lexicographic sorting orders them by date. This is the case for example for dates like yyyy-mm-dd hh:mm:ss (of course you can leave out the delimiter characters to save some space). The advantage with using such a format is that you can easily save dates with the required granularity, e.g. leaving out seconds. ...
Field: A field is a section of a Document. Each field has two parts, a name and a value. Values may be free text, provided as a String or as a Reader, or they may be atomic keywords, which are not further processed. Such keywords may be used to represent dates, urls, etc. Fields are optionally stored in the index, so that they may be returned with hits on the document.
TestDocument: Tests Document class.

Home | Contact Us | Privacy Policy | Terms of Service