I use blocks as steps in a tutorial on a page. The steps reside in a contentarea and I want them to be indexed as individual index entries where SearchUrl is the page url + #step + placement order in the contentarea and SearchTitle is PageTitle + BlockTitle.
I have a solution where I find the page where the block is used when indexing the block and collect page url, placement order in contentarea and page title.
The problem with this solution is if a block is used on multiple pages. Then the block only gets indexed for one of those places.
Somebody got any idées?
Hi Jesper, Have you try this way?
client.Search<T>(Language.Swedish).For("SearchTitle").InField(x => x.PageTitle).InField(x => x.BlockTitle);