jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miroslav Smiljanic (Jira)" <j...@apache.org>
Subject [jira] [Closed] (OAK-9400) oak-search-elastic: avoid to index non-trimmed values in full-text fields
Date Thu, 03 Jun 2021 14:54:06 GMT

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

Miroslav Smiljanic closed OAK-9400.
-----------------------------------

> oak-search-elastic: avoid to index non-trimmed values in full-text fields
> -------------------------------------------------------------------------
>
>                 Key: OAK-9400
>                 URL: https://issues.apache.org/jira/browse/OAK-9400
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Fabrizio Fortino
>            Assignee: Fabrizio Fortino
>            Priority: Minor
>             Fix For: 1.40.0
>
>
> We currently allow non-trimmed values in full-text fields. Although this does not cause
any issues, it would be better to clean it up the index from these unnecessary values.
>  
> {code:java}
>     {
>         "_index" : "elastic",
>         "_type" : "_doc",
>         "_id" : "/content/some_document.pdf",
>         "_score" : 1.0,
>         "_source" : {
>           ":path" : "/content/some_document.pdf",
>           ":fulltext" : [
>             "some_document.pdf",
>             """ 
> """
>           ],
>           ":suggest" : [
>             {
>               "value" : "some_document.pdf"
>             }
>           ],
>           ":depth" : 3,
>           "jcr:created" : "2020-05-29T15:09:52.210Z",
>           ":ancestors" : "/content",
>           ":nodeName" : "some_document.pdf"
>         }
>       }
> {code}
>  



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

Mime
View raw message