You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Nuno Santos (Jira)" <ji...@apache.org> on 2022/07/25 10:04:00 UTC
[jira] [Created] (OAK-9857) Spellcheck query with no descendants returns incorrect number of results on Elastic
Nuno Santos created OAK-9857:
--------------------------------
Summary: Spellcheck query with no descendants returns incorrect number of results on Elastic
Key: OAK-9857
URL: https://issues.apache.org/jira/browse/OAK-9857
Project: Jackrabbit Oak
Issue Type: Bug
Components: indexing
Reporter: Nuno Santos
With Elastic, a query without a root node ({{{}ISDESCENDANTNODE(...){}}}) is returning a maximum of 5 results. See the Elastic version of the test inĀ {{org.apache.jackrabbit.oak.plugins.index.IndexDescendantSpellcheckCommonTest.noDescendantSuggestsAll.}}
This seems to be related to:
[https://discuss.elastic.co/t/elasticsearch-suggestion-completes-return-incorrect-number-of-suggestions/214522]
Even increasing the suggester query size the number of max results seems to be fixed to 5.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)