CMIS Search for Plone
collective.cmissearch的Python项目详细描述
内容
Presentation
collective.cmissearch是一个plone 3.2+扩展,允许您搜索 从plone进入CMIS文档存储库。
这并没有在功能上集成plone搜索和外部
` CMIS“数据
此扩展依赖于collective.cmisbrowser。每个cmis 浏览器将指示搜索的起点 完成。
Installation
Update buildout profile
更新您的构建配置文件以包含以下eggs和zcml:
eggs += ... collective.cmisbrowser collective.cmissearch zcml += ... collective.cmisbrowser collective.cmissearch
重要:
在使用python 2.4.x时,还需要添加httpsproxy\u urllib2 就像一个鸡蛋。
Install the extension
可通过ZMI或PLONE控制面板安装延长件。
Through the ZMI
- Go to the portal quickinstaller in the ZMI.
- Check the extension collective.cmissearch.
- Click the install button.
Through the Plone control panel
- Go to Site Setup.
- Choose Add-on products.
- Check the extension collective.cmissearch.
- Click the Install button.
Configuration
- Go to the desired CMIS browser of which you would like to set the search settings.
- Click on the tab Search Settings
这将带您进入编辑搜索设置表单 以下参数:
- Activate search in this connector? Check this option to activate the search.
- Priority of the search results (Required). Add a numeric value to set the priority. The higher the priority will be, the lower the result block will be displayed in the search results.
- Activate CMIS-SCORE function to sort the results. Some CMIS server don’t support this functionality. To be able to search content in such a server, you must deactivate this option.
- Quote quote characters in the search terms. This option quotes the quote characters in the search terms. This is not defined by the CMIS standard but all CMIS server supports this functionality.
Adding a CMIS Search portlet
- Go to Manage portlets in your Plone site were you would like to add a CMIS search portlet.
- Select CMIS Search portlet from the Add portlet… drop-down menu.