We have received a request in order to do a suggestive search service that fetch a list of pages based on a String received in a parameter ( the searched word). The problem came when a pages has a content fragment inside it. The word received needs to be searched into the content fragment inside. For example:
Calling service -> localhost:4502/bin/service.json?searchedString=My text
Searching the string My text into the next structure
The cardinality is one page to one content fragment. The code is ready to search under /content. The problem is how to get the data property of each content fragment assoiated to that page in the same search. I mean, basically by searching in the same oak index. We have created our custom Index in order to index some properties.
We would want to create a custom index with the assosiation mentionned. The data of the content fragment referenced to a page.