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)

Reply via email to