Create a new IReader instance with given index path and schema.
Create a new IReader instance with given index path and schema.
the path for index directory
the schema
Close the index.
Close the index.
Returns the number of documents that have at least one term for this field, or -1 if this measure isn't stored by the codec.
Returns the number of documents that have at least one term for this field, or -1 if this measure isn't stored by the codec.
the field name
Returns the number of documents containing the term in the given field.
Returns the number of documents containing the term in the given field.
the field name
the string representation for the term
Returns the Document instance for the given document id.
Returns the FieldInfo instance holding information of the field with given field name.
Returns the analyzer for given field name.
Returns the analyzer for given field name.
the field name
the analyzer or None if the requested field does not exist
Returns the field type for given field name.
Returns the field type for given field name.
the field name
the field type or None if the requested field does not exist
Returns the TermVector for the given document id and field name.
Returns the TermVector for the given document id and field name.
the document id
the field name
a new TermVector instance or None if the term vector is not stored in the index
Returns true if any documents have been deleted.
Returns true if any documents have been deleted.
Returns one greater than the largest possible document number.
Returns one greater than the largest possible document number.
Returns the number of deleted documents.
Returns the number of deleted documents.
Returns the number of documents in this index.
Returns the number of documents in this index.
the path for index directory
the path for index directory
Returns index subset with given filter.
Returns index subset with given filter.
the Filter instance
a new DocSet instance
Returns the sum of document frequency for all terms in this field, or -1 if this measure isn't stored by the codec.
Returns the sum of document frequency for all terms in this field, or -1 if this measure isn't stored by the codec.
the field name
Returns the sum of total term frequencies for all terms in this field, or -1 if this measure isn't stored by the codec (or if this fields omits term freq and positions).
Returns the sum of total term frequencies for all terms in this field, or -1 if this measure isn't stored by the codec (or if this fields omits term freq and positions).
the field name
Returns the TermDocs instance holding document ids (and optionally, positions/offsets information) associated to given field and term.
Returns the TermDocs instance holding document ids (and optionally, positions/offsets information) associated to given field and term.
the field name
the string representation for the term.
the TermDocs instance or None if the corresponding term does not exist
Returns top high frequent terms (based document frequencies) and associated frequencies.
Returns top high frequent terms (based document frequencies) and associated frequencies.
the field name
max terms to be returned
the Tuple of the term, document frequency, total term frequency associated to this term)
Returns top high frequent terms (based total term frequencies) and associated frequencies.
Returns top high frequent terms (based total term frequencies) and associated frequencies.
the field name
max terms to be returned
the Tuple of the term, document frequency, total term frequency associated to this term)
Returns the total number of occurrences of term across all documents.
Returns the total number of occurrences of term across all documents.
the field name
the string representation for the term
Returns whole index as DocSet.
Returns whole index as DocSet.
a new DocSet instance holding all document ids in the index
Class representing schema-aware index reader. This is a RawReader with a Schema instance.