chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Warren (Commented) (JIRA)" <>
Subject [jira] [Commented] (CMIS-508) CMISLib does not support syntax highlighting
Date Mon, 27 Feb 2012 08:14:49 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message