searchMeta method
Additive metadata-first low-level search lane.
Implementation
Future<SearchMetaResult> searchMeta(
String query, {
int topK = 10,
double vectorWeight = kDefaultVectorWeight,
double bm25Weight = kDefaultBm25Weight,
List<int>? sourceIds,
int adjacentChunks = 0,
String? collectionId,
}) async {
final service = await _serviceForCollection(collectionId);
await _flushIndex(collectionId: collectionId);
return service.searchMeta(
query,
topK: topK,
vectorWeight: vectorWeight,
bm25Weight: bm25Weight,
sourceIds: sourceIds,
adjacentChunks: adjacentChunks,
);
}