Elasticlunr.Index (Elasticlunr v0.6.6) View Source
Link to this section Summary
Link to this section Types
Specs
Specs
Specs
search_result() :: any()
Specs
t() :: %Elasticlunr.Index{ documents_size: integer(), fields: map(), name: atom() | binary(), on_conflict: atom(), pipeline: Elasticlunr.Pipeline.t(), ref: Elasticlunr.Field.document_ref(), store_documents: boolean(), store_positions: boolean() }
Link to this section Functions
Specs
add_field(t(), document_field(), keyword()) :: t()
Specs
all(t()) :: [Elasticlunr.Field.document_ref()]
Specs
analyze(t(), document_field(), any(), keyword()) :: Elasticlunr.Token.t() | [Elasticlunr.Token.t()]
Specs
get_field(t(), document_field()) :: Elasticlunr.Field.t()
Specs
get_fields(t()) :: [Elasticlunr.Field.document_ref() | document_field()]
Specs
Specs
remove_documents(t(), [Elasticlunr.Field.document_ref()]) :: t()
Specs
Specs
search(t(), search_query(), map() | nil) :: [search_result()]
Specs
Specs
Specs
update_field(t(), document_field(), Elasticlunr.Field.t()) :: t()