I have search the code but currently it's not possible. The only thing the ISearchableTree does is setting a AdditionalData on the node with searchable true.
But in de angular search service content, media and members are the only searchable trees.
the search for content, media and members in umbraco use an specific examine index for each of these sections. I think you must create an own examine index during first initialization of your custom tree and then update your examine index on every change of your custom tree nodes with an event.
Search Custom Trees
Does anybody know when it will be possible to search custom trees?
I seen something like ISearchableTree in de source code but it looks likes it's not connected to anything.
thanks, Marcel
Maybe you can have a look at the source code and try to figure out how it works in content, media or members ?
Dave
I have search the code but currently it's not possible. The only thing the ISearchableTree does is setting a AdditionalData on the node with searchable true.
But in de angular search service content, media and members are the only searchable trees.
hopefully this will be posible in the future.
thanks
Hi Marcel,
the search for content, media and members in umbraco use an specific examine index for each of these sections. I think you must create an own examine index during first initialization of your custom tree and then update your examine index on every change of your custom tree nodes with an event.
Hope this helps.
Sören
Hey Sören,
Ja that's correct but the search is currently hardcoded in de angular search service..
So currently there is no way to do it..
May be can a core member confirm this..
is working on a reply...