cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving relevant context when searching for content

fpvolquind
Champ in-the-making
Champ in-the-making

Hi!

I am using Alfresco Community 201707 x64. My application is querying the repository via CMIS, using Apache Chemistry Open CMIS 1.1.

The question, as the title suggests, is: when querying the repository for document content (using the CONTAINS predicate on the search query), how do I retrieve a document's relevant context? Can I do it using CMIS?

For example, in Alfresco Share, when a user searches the repository for documents containing some word, the relevant results are displayed with a snippet of the document's content with said word highlighted.

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

CMIS does not support the notion of match highlighting in the query API, so that feature is simply not accessible.