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 "Miroslav Smiljanic (Jira)" <ji...@apache.org> on 2021/06/03 14:54:06 UTC
[jira] [Closed] (OAK-9400) oak-search-elastic: avoid to index
non-trimmed values in full-text fields
[ 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)