Indexing content picker
# help-with-umbraco
m
We have a component in the Block Grid that contains a content picker and it's used to display other pages into the current one. Is there a way to index those subpages' content as part of the 'host' page's content? I'm checking the values that come on the TransformingIndexValues event and the block grid content shows the Udis of the page's picked on the content picker, but not the content itself. Any suggestions?
m
I asked somwthing similare a while ago (imdex content peinted via a mutinode picker) and was pointed to thsi doc. It may help in your case https://dev.to/jemayn/the-problem-of-referenced-content-in-examine-indexing-umbraco-11-4355
I also ran across a package that might be helpful for dealing with this type of searching. I have not looked to much unto it yet but it might help https://marketplace.umbraco.com/package/our.umbraco.fulltextsearch
m
Awesome, thank you, I'll take a look. Full text search looks interesting. The difference with the first link is that, in my case, the property to index is the block grid, which itself extracts the content from its components. Not sure how to how up into that process to extract the nodes content. I have found a few classes that do this process but they are all internal so I can't extend them.
That Full Text Search is what I need :). It just indexes whatever renders on the screen.
m
Glad it has helped. Also glad to hear it indexs what is render on the screen. That is the solution I was going to be looking for once I deal with a few other things but you saved me the trouble of more digging.
5 Views