JIRA Fails to Display Filtered Issues Due to Lucene Search Limit

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

JIRA portlets display the following error message when displaying issues:

org.apache.lucene.search.BooleanQuery$TooManyClauses
    at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:79)
    at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:71)
    at org.apache.lucene.search.RangeQuery.rewrite(RangeQuery.java:99)
    at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:243)
    at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:166)
    ...
    ...

原因

The total amount of results returned by the filter criteria is greater than the one set in jira-application.properties.

ソリューション

Increase the value for jira.search.maxclauses in <atlassian-jira>/WEB-INF/classes/jira-application.properties.

# Set this to higher than your expected number of issues, if you want date range searches across all issues to work. 
jira.search.maxclauses=65000

See JRASERVER-3127 - Getting issue details... STATUS  for more information.

最終更新日 2017 年 6 月 21 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.