From oak-issues-return-82312-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Thu Jun 3 14:54:19 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 102B6180643 for ; Thu, 3 Jun 2021 16:54:19 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 0343861C98 for ; Thu, 3 Jun 2021 14:54:17 +0000 (UTC) Received: (qmail 92385 invoked by uid 500); 3 Jun 2021 14:54:11 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 91618 invoked by uid 99); 3 Jun 2021 14:54:09 -0000 Received: from ec2-52-204-25-47.compute-1.amazonaws.com (HELO mailrelay1-ec2-va.apache.org) (52.204.25.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2021 14:54:09 +0000 Received: from jira2-he-de.apache.org (jira2-he-de.apache.org [168.119.33.54]) by mailrelay1-ec2-va.apache.org (ASF Mail Server at mailrelay1-ec2-va.apache.org) with ESMTPS id 50E0F421DB for ; Thu, 3 Jun 2021 14:54:09 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 959E9C81EBC for ; Thu, 3 Jun 2021 14:54:06 +0000 (UTC) Date: Thu, 3 Jun 2021 14:54:06 +0000 (UTC) From: "Miroslav Smiljanic (Jira)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (OAK-9400) oak-search-elastic: avoid to index non-trimmed values in full-text fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-9400?page=3Dcom.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. > =C2=A0 > {code:java} > { > "_index" : "elastic", > "_type" : "_doc", > "_id" : "/content/some_document.pdf", > "_score" : 1.0, > "_source" : { > ":path" : "/content/some_document.pdf", > ":fulltext" : [ > "some_document.pdf", > """=20 > """ > ], > ":suggest" : [ > { > "value" : "some_document.pdf" > } > ], > ":depth" : 3, > "jcr:created" : "2020-05-29T15:09:52.210Z", > ":ancestors" : "/content", > ":nodeName" : "some_document.pdf" > } > } > {code} > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)