WSO2 APIM: Taking long time for retrieving applications list

最后都变了- 提交于 2019-12-11 08:53:03

问题


I'm using WSO2-APIM-2.1.0. Which internally uses solr 5.2.1.
Inside WSO2-APIM-2.1.0, I've added around 2087 applications. Wso2 internally generating the solr OR query which has around 2087 OR clauses of 121825 characters.

When I tried to get application list though the API call:
curl -k -H "Authorization: Bearer access_token" "https://localhost:9443/api/am/publisher/v0.11/subscriptions?apiId=apiId&limit=2200"
(It took around 6 minutes, which is too long.)

Using the link https://localhost:9443/store (by clicking on applications), it's not loading application list.(as browser is timing out)

I was getting exception of maxBooleanClauses. Then I made following changes:
I've modified the file repository/conf/solr/registry-indexing/conf/solrconfig.xml and modified the property: <maxBooleanClauses>16000</maxBooleanClauses>.

How can I speed-up the response ?

来源:https://stackoverflow.com/questions/49150542/wso2-apim-taking-long-time-for-retrieving-applications-list

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!