【对象版本】
intra-mart Accel Platform 2013 Summer
※此现象在intra-mart Accel Platform 2013 Autumn中已被改进。
【原因】
在导入了IM-ContentsSearch for Accel Collaboration模块的环境中将会发生。
为了在IM-ContentsSearch根据权限筛选全文搜索结果,在Apache Solr中使用了OR搜索。
在Apache Solr中此OR搜索的条件数量设置了限制值,通过配置文件可以更改。
在Solr安装工具分发的配置文件中,此OR搜索的限制值为1024个。
因此,通过安装有可能使用大量权限的 IM-ContentsSearch for Accel Collaboration,使用权限(OR搜索)的数量超过限制的1024个的用户进行全文搜索就会失败。
【确认方法】
通过确认此现象原因的设置,可以确认是否有可能发生此现象。
用任意的编辑器打开Apache Solr的配置文件solrconfig.xml 。(标准是存在于${Solr的安装位置}/solr/default/conf 的下级。)
请确认<config>/<query> 标签内的<maxBooleanClauses>标签的设置值。
有可能发生现象的设置值:
<maxBooleanClauses>1024</maxBooleanClauses>
符合的情况下需要参阅以下处理方法进行解决。
【解决方法】
请通过以下2种处理方法的任意一种方法来解决。
1. 改写Apache Solr的配置文件。
用任意的文本编辑器打开已安装的Apache Solr的配置文件solrconfig.xml ,通过修改以下地方来更改OR条件的限制值。
更改前:
<maxBooleanClauses>1024</maxBooleanClauses>
更改后:
<maxBooleanClauses>2147483647</maxBooleanClauses>
修改后,重启Apache Solr。
2. 用最新的Solr安装工具重新安装Solr
在最新的Solr安装工具中进行了上述1.的修改,因此通过使用最新版可以规避。
【备注】
最新的Solr安装工具:
https://www.intra-mart.jp/download/product/iap/im_contents_search/solr_setup.zip
intra-mart Accel Platform / Solr管理员指南 - 安装Solr
https://www.intra-mart.jp/document/library/iap/public/im_contents_search/solr_administrator_guide/texts/setup/index.html
-- 适用对象 ---------------------------------------------------------------
iAP/Accel Platform/2013 Summer(Damask)
-------------------------------------------------------------------------------
FAQID:404
全文搜索页面中显示“搜索失败。”