Skip to content

Configurable id property on full-text search: Lunr2 integration #75

@Letrab

Description

@Letrab

As documented in https://github.com/itemsapi/itemsjs/blob/master/docs/lunr2-integration.md it is possible to use Lunr2 for full-text searching.

I want to try to use this, because I need nested/deep object search (which is possible via the extractor of a field https://lunrjs.com/docs/lunr.Builder.html#field )

But, my data set has no id property, but e.g. a unique property uuid. So it would be nice to make this property configurable in order to be more flexible on this.

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