Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Add suggestions for auto-complete during indexing #40

@anupdhml

Description

@anupdhml

To improve auto-complete queries, we can add suggestions when indexing documents.

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html#indexing

Start by tokenizing author/title fields and adding them as suggestions. Eg: we should get a match on "Bhairab Aryal" when querying for just "Aryal" (under current implementation, queries have to start with "Bhairab").

This can be later extended to support things like synonyms as a suggestion.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions