Reading Content using ISHRemote API

Hi,

We encountered a potential use case from using the ISHRemote module. Would it be possible to check for specific words within the objects that we pull in, or set a filter on pulling in topics that contain certain words using the ISHRemote module? In other words, if an object contained the word "Power" in its content, is there a way to iterate through objects searching for objects containing that word?

Thank you,

Aakash Saravanan

Parents
  • Hi Aakash,

    I would consider the following options, there is however no magic

    1. Client side filter, so where ISHRemote runs. Meaning, retrieve every file and parse locally for your keyword.
    2. Client side with filter, using a MetadataFilter you could reduce the result set server-side. And still retrieve the file and parse locally for your keyword. Another filter is if you really need to parse every version (or only Latest) and every language.
    3. Server side filter, using the Search API. The full-text-index is the only place where we actually look inside the xml content; unless you extracted it to a metadata field (so scenario 2). However, "Search-ISHDocumentObj" is not implemented yet but the most simple design is on Add cmdlet Search-IshDocumentObj · Issue #52 · sdl/ISHRemote ... happy to accept contributions.

    -Dave

Reply
  • Hi Aakash,

    I would consider the following options, there is however no magic

    1. Client side filter, so where ISHRemote runs. Meaning, retrieve every file and parse locally for your keyword.
    2. Client side with filter, using a MetadataFilter you could reduce the result set server-side. And still retrieve the file and parse locally for your keyword. Another filter is if you really need to parse every version (or only Latest) and every language.
    3. Server side filter, using the Search API. The full-text-index is the only place where we actually look inside the xml content; unless you extracted it to a metadata field (so scenario 2). However, "Search-ISHDocumentObj" is not implemented yet but the most simple design is on Add cmdlet Search-IshDocumentObj · Issue #52 · sdl/ISHRemote ... happy to accept contributions.

    -Dave

Children