Skip to content

Commit

Permalink
Fix leftover "ElasticSearch" (#17163)
Browse files Browse the repository at this point in the history
  • Loading branch information
Piedone authored Dec 8, 2024
1 parent 156a8d0 commit 05f9100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ private Document CreateLuceneDocument(DocumentIndex documentIndex, LuceneIndexSe
doc.Add(new TextField(entry.Name, stringValue, store));
}

// This is for ElasticSearch Queries compatibility since a keyword field is always indexed
// by default when indexing without explicit mapping in ElasticSearch.
// This is for Elasticsearch Queries compatibility since a keyword field is always indexed
// by default when indexing without explicit mapping in Elasticsearch.
// Keyword ignore above 256 chars by default.
if (store == Field.Store.NO && !entry.Options.HasFlag(DocumentIndexOptions.Keyword) && stringValue.Length <= 256)
{
Expand Down

0 comments on commit 05f9100

Please sign in to comment.