$hybrid in collections
You can use the $hybrid
shorthand to populate the $vectorize
and $lexical
fields.
This is useful if you want to use the same string for both the $vectorize
and $lexical
fields.
A $hybrid
field is not added to the document.
Only collections that have vectorize and lexical enabled support the $hybrid
shorthand.
For more information, see Create a collection.