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 "Fabrizio Fortino (Jira)" <ji...@apache.org> on 2020/09/21 08:44:00 UTC

[jira] [Updated] (OAK-9214) oak-search-elastic: remove duplications in :suggest

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

Fabrizio Fortino updated OAK-9214:
----------------------------------
    Description: 
:suggest currently allows duplicated texts. Eg:
{code:java}
":suggest":{ 
  "suggestion": [ "car here", "car here" ] 
}
{code}
 

This happens when the index definition has more than one property with "useInSuggest=true" with the same content.

  was:
:suggest currently allows duplicated texts. Eg:
":suggest": {
  "suggestion": [
    "car here",
    "car here"
  ]
}
This happens when the index definition has more than one property with "useInSuggest=true" with the same content.


> oak-search-elastic: remove duplications in :suggest
> ---------------------------------------------------
>
>                 Key: OAK-9214
>                 URL: https://issues.apache.org/jira/browse/OAK-9214
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Fabrizio Fortino
>            Assignee: Fabrizio Fortino
>            Priority: Major
>
> :suggest currently allows duplicated texts. Eg:
> {code:java}
> ":suggest":{ 
>   "suggestion": [ "car here", "car here" ] 
> }
> {code}
>  
> This happens when the index definition has more than one property with "useInSuggest=true" with the same content.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)