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 "Nitin Gupta (Jira)" <ji...@apache.org> on 2022/12/21 03:40:00 UTC

[jira] [Closed] (OAK-9912) elastic: Spellcheck query with no descendants returns incorrect number of results

     [ https://issues.apache.org/jira/browse/OAK-9912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nitin Gupta closed OAK-9912.
----------------------------

> elastic: Spellcheck query with no descendants returns incorrect number of results
> ---------------------------------------------------------------------------------
>
>                 Key: OAK-9912
>                 URL: https://issues.apache.org/jira/browse/OAK-9912
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: elastic-search, indexing
>            Reporter: Fabrizio Fortino
>            Assignee: Fabrizio Fortino
>            Priority: Major
>             Fix For: 1.46.0
>
>
> 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.}}
> Also see other ignored tests in - 
> (oak-search/src/test/java/org/apache/jackrabbit/oak/plugins/index/IndexDescendantSpellcheckCommonTest.java)
> 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)