}
if !ok {
currentSA = &commonpb.SearchAttributes{}
v.SA = NewDataField(mutableContext, currentSA)
}
currentSA.GetIndexedFields(),
customSearchAttributes,
)
if len(currentSA.IndexedFields) == 0 {
v.SA = NewEmptyField[*commonpb.SearchAttributes]()
}
}