提交 d02c191d authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix building of documentation

上级 42e33ea1
...@@ -431,8 +431,9 @@ public class FullTextLucene extends FullText { ...@@ -431,8 +431,9 @@ public class FullTextLucene extends FullText {
int maxResults = (limit == 0 ? 100 : limit) + offset; int maxResults = (limit == 0 ? 100 : limit) + offset;
TopDocs docs = searcher.search(query, maxResults); TopDocs docs = searcher.search(query, maxResults);
if (limit == 0) { if (limit == 0) {
// TopDocs.totalHits is long now (https://issues.apache.org/jira/browse/LUCENE-7872) // TopDocs.totalHits is long now
// but in this context it's save to cast // (https://issues.apache.org/jira/browse/LUCENE-7872)
// but in this context it's safe to cast
limit = (int)docs.totalHits; limit = (int)docs.totalHits;
} }
for (int i = 0, len = docs.scoreDocs.length; i < limit for (int i = 0, len = docs.scoreDocs.length; i < limit
......
...@@ -801,3 +801,4 @@ partitioned tri partitions ...@@ -801,3 +801,4 @@ partitioned tri partitions
discard enhancements nolock surefire logarithm discard enhancements nolock surefire logarithm
qualification opportunity jumping exploited unacceptable vrs duplicated qualification opportunity jumping exploited unacceptable vrs duplicated
queryparser tokenized freeze
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论