Structs§
- Documents
Batch Builder - The
DocumentsBatchBuilder
provides a way to build a documents batch in the intermediary format used by milli. - Documents
Batch Cursor - A forward cursor over the documents in a
DocumentsBatchReader
. - Documents
Batch Index - A bidirectional map that links field ids to their name in a document batch.
- Documents
Batch Reader - The
DocumentsBatchReader
provides a way to iterate over documents that have been created with aDocumentsBatchWriter
. - Enriched
Document - Enriched
Documents Batch Cursor - Enriched
Documents Batch Reader - The
EnrichedDocumentsBatchReader
provides a way to iterate over documents that have been created with aDocumentsBatchWriter
and, for the enriched data, a simplegrenad::Reader<File>
.
Enums§
- Document
IdExtraction Error - Documents
Batch Cursor Error - The possible error thrown by the
DocumentsBatchCursor
when iterating on the documents. - Error
- Primary
Key - A type that represent the type of primary key that has been set for this index, a classic flat one or a nested one.
Constants§
- DEFAULT_
PRIMARY_ KEY - The default primary that is used when not specified.
Traits§
- Field
IdMapper - Trait for objects that can map the name of a field to its
FieldId
.
Functions§
- documents_
batch_ reader_ from_ objects - mmap_
from_ objects - objects_
from_ json_ value - obkv_
to_ object - Helper function to convert an obkv reader into a JSON object.
- validate_
document_ id_ str - validate_
document_ id_ value