You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Mark Warren (Commented) (JIRA)" <ji...@apache.org> on 2012/02/27 09:14:49 UTC

[jira] [Commented] (CMIS-508) CMISLib does not support syntax highlighting

    [ https://issues.apache.org/jira/browse/CMIS-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217098#comment-13217098 ] 

Mark Warren commented on CMIS-508:
----------------------------------

When I say context highlighting, perhaps I am not clear. When you do a full text search/query in CMISLib, I would expect the API to support "search context results". 
IE: show you where in the document the search term matched. See below for an example.

query = "select * from cmis:document where contains('test')"
rs = repo.query(query)
print rs[0].search_context 
>> "this is a good api with lots of <strong>test</strong> programs written for it"


This information is in the SOLR API, you could pass it through to ther CMISLib API. 
This is something that I believe should really be supported. 
                
> CMISLib does not support syntax highlighting 
> ---------------------------------------------
>
>                 Key: CMIS-508
>                 URL: https://issues.apache.org/jira/browse/CMIS-508
>             Project: Chemistry
>          Issue Type: New Feature
>          Components: python-cmislib
>            Reporter: Mark Warren
>
> This is currently supported in SOLR, so I dont see why it is not in the CMISLib. If anyone is using CMISLib for search functionality this is a big sticking point.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira