Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 6df737d

Browse files
committed
Adding comments
1 parent 8675bc3 commit 6df737d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

quesma/quesma/schema_transformer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ func (s *SchemaCheckPass) applyWildcardExpansion(indexSchema schema.Schema, quer
463463

464464
cols := make([]string, 0, len(indexSchema.Fields))
465465
for _, col := range indexSchema.Fields {
466+
// Take only fields that are ingested
466467
if col.Origin == schema.FieldSourceIngest {
467468
cols = append(cols, col.InternalPropertyName.AsString())
468469
}
@@ -493,6 +494,7 @@ func (s *SchemaCheckPass) applyFullTextField(indexSchema schema.Schema, query *m
493494

494495
for _, field := range indexSchema.Fields {
495496
if field.Type.IsFullText() {
497+
// Take only fields that are ingested
496498
if field.Origin == schema.FieldSourceIngest {
497499
fullTextFields = append(fullTextFields, field.InternalPropertyName.AsString())
498500
}

0 commit comments

Comments
 (0)