Closed miguelgrinberg closed 4 months ago
Instances of InstrumentedField might pop up in queries and aggregations, for example:
InstrumentedField
s = s.query('knn', field=QuoteDoc.embedding, query_vector=model.encode(q).tolist()) s.aggs.bucket('tags', 'terms', field=QuoteDoc.tags, size=100)
With this change they are handled appropriately.
Instances of
InstrumentedField
might pop up in queries and aggregations, for example:With this change they are handled appropriately.