Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Letrab opened this issue Apr 22, 2021 · 1 comment
Closed

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

Letrab opened this issue Apr 22, 2021 · 1 comment

Comments

@Letrab
Copy link
Contributor

Letrab commented Apr 22, 2021

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.

@cigolpl
Copy link
Member

cigolpl commented Jul 29, 2022

It's done. More details in PR tests or integration examples in docs.

@cigolpl cigolpl closed this as completed Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants