Fabrizio Fortino created OAK-9400:
-------------------------------------
Summary: 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
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)