I'm beyond impressed guys. I was wondering though, are there special considerations that need to be taken when indexing a Grid that uses this package (or for that matter, a Grid that uses the Nested Content package too--or both).
Yea, that is one of the downsides to using the grid in general. Unfortunately there is not as yet an easy way to index grid content. I know it's an item hi on cores priority list so once we have an idea on how the core is intending to tackle it, we can adapt DTGE / NC to follow suit. Until then it is unfortunately a case of rolling your own, parsing the raw json value, and indexing the fields you need.
Sorry there is no easy solution to this, but when you are breaking new ground, it's difficult to cover every base.
I'm new to Umbraco and I'm using the Doc Type Grid Editor (which is great btw).
I have a content document page, that contains a Doc Type Grid Editor, that mainly contains other Document Types, and I need to index the content of these "embedded" doctypes so the user can search for them.
Is this possible to do, and can any of you point me in the right direction, to help me get started with this?
I have looked at the link above, and also found something about GatherNodeTypeData event. However the content of my grid points to another document type, and it is the content of these document types that I want to put into the index so it is searchable.
I can't seem to figure out how to do this,
If you could provide any hints or help, it would be greatly appreciated.
Examine Search Example?
I'm beyond impressed guys. I was wondering though, are there special considerations that need to be taken when indexing a Grid that uses this package (or for that matter, a Grid that uses the Nested Content package too--or both).
This seems like a good starting point: https://gist.github.com/abjerner/bdd89e0788d274ec5a33
But I wonder if the recursive nature of Doc Type Grid Editor (and/or Nested Content) make the indexing process different than usual?
Thanks!
Hi Shola,
Yea, that is one of the downsides to using the grid in general. Unfortunately there is not as yet an easy way to index grid content. I know it's an item hi on cores priority list so once we have an idea on how the core is intending to tackle it, we can adapt DTGE / NC to follow suit. Until then it is unfortunately a case of rolling your own, parsing the raw json value, and indexing the fields you need.
Sorry there is no easy solution to this, but when you are breaking new ground, it's difficult to cover every base.
Matt
Hi,
I'm new to Umbraco and I'm using the Doc Type Grid Editor (which is great btw).
I have a content document page, that contains a Doc Type Grid Editor, that mainly contains other Document Types, and I need to index the content of these "embedded" doctypes so the user can search for them.
Is this possible to do, and can any of you point me in the right direction, to help me get started with this?
I have looked at the link above, and also found something about GatherNodeTypeData event. However the content of my grid points to another document type, and it is the content of these document types that I want to put into the index so it is searchable.
I can't seem to figure out how to do this,
If you could provide any hints or help, it would be greatly appreciated.
Thanks,
David
is working on a reply...