Considering the vocabulary:
If you do a search (via autosuggest or lookup) by B, the result will be:
If you search for A::B, you will get no result. This means that even if you accept a suggestion/lookup, an immediate search of the recently filled field will yield no results.
This is due the fact that the search is done by XPath, and it's constructed by the template:
It will replace "%s" with A::B, and nothing will match the "::B"
The fix is simple:
- Split the string by the delimiter
- concatenate multiple xpathTemplate (so it will search nested nodes)
Here's an example of the current behavior:
Here's the expected behavior:
The expression will search for nodes that contain B and are childs of nodes that contain A.
I have a fix in my environment. I'll create a PR when I get around to it.