Closed jimkohl closed 3 years ago
Lunr 0.6.0 has been released including support for metadata whitelisting.
Let me know how you get on π
Veray thanks for doing this! Itβs on my list for today. Jim
Sent from my iPhone
On Apr 22, 2021, at 6:22 AM, Yeray Diaz Diaz @.***> wrote:
ο»Ώ Lunr 0.6.0 has been released including support for metadata whitelisting.
Let me know how you get on π
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
lunr.js supports metadata whitelisting look under the TOKEN META-DATA section.
This is useful for adding fields into the index so that when a search matches, more info the key is available for presentation or other purposes.
For example, can return some things like type of thing found (so you could display an icon) or a creation date for sorting results, etc.
Looks like there is another issue for pipeline support; this would also require pipeline support.
Thanks for a great tool. jim