Skip to content

Changing the search engine #2141

@Hetarth02

Description

@Hetarth02

Issue #1457, Issue #1749 This addresses the problem of getting insufficient or non-ideal search results after the search.

Issue #1832: This issue also proposes the idea of using a different search engine instead of LunrJs to reduce initial lag which happens during the building of the indexes.

Moreover, lunrjs repo has been stale for some time.

I mostly suggest minisearchjs.

  • It is designed for memory-constrained cases.
  • Is inspired by Lunrjs, so it will be easier to shift to it by not having to re-implement the entire search logic.
  • Supports suggestions if you want to improve the search UI in future.

16 June, 2023
For anyone wanting to test it out, here is the link to compare both results from both engines.

Compare Searches

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions