View Source Haystack.Index.Document (Haystack v0.1.0)
A module for preparing documents to be stored.
Link to this section Summary
Link to this section Types
@type t() :: %Haystack.Index.Document{ fields: %{required(String.t()) => [Haystack.Tokenizer.Token.t()]}, ref: String.t() }
Link to this section Functions
Create a new document.