Elasticlunr.Index (Elasticlunr v0.1.1) View Source
Link to this section Summary
Link to this section Types
Specs
Specs
Specs
Specs
search_result() :: any()
Specs
t() :: %Elasticlunr.Index{ documents_size: integer(), fields: map(), name: atom() | binary(), pipeline: Elasticlunr.Pipeline.t(), ref: document_ref(), store_documents: boolean(), store_positions: boolean() }
Link to this section Functions
Specs
Specs
add_field(t(), document_field(), keyword()) :: t()
Specs
all(t()) :: [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()) :: [document_ref() | document_field()]
Specs
Specs
remove_documents(t(), [document_ref()]) :: t()
Specs
Specs
search(t(), search_query(), keyword() | nil) :: [search_result()]
Specs
Specs
Specs
update_field(t(), document_field(), Elasticlunr.Field.t()) :: t()