elasticlunr.js
elasticlunr.js copied to clipboard
Search nested properties?
Thanks for elasticlunr.js — much appreciated! FWIW I've done an offline search demo at simpl.info/search/lunr.
Is it possible to search for nested properties, for an object like the following?
{
name: "foo",
properties: {
a: "bar",
b: "baz"
}
}
Curious if you found a solution to this problem. I would also like to search nested properties. My approach at the moment is to flatten the document before adding to the index.
I would love to know if you guys made any progress on this. I also might need to flatten the documents as well. Any response would be appreciated!
I am in the same boat. Did anyone get anywhere with this?