search method
Future<List<ArrowRecordBatch>>
search(
{ - required String table,
- String? text,
- List<double>? vector,
- Object? where,
- int? offset,
- int? limit,
- List<String>? select,
- List<String>? namespace,
- String? branch,
- int? version,
})
Implementation
Future<List<ArrowRecordBatch>> search({
required String table,
String? text,
List<double>? vector,
Object? where,
int? offset,
int? limit,
List<String>? select,
List<String>? namespace,
String? branch,
int? version,
}) async {
final rows = <ArrowRecordBatch>[];
await for (final chunk in searchStream(
table: table,
text: text,
vector: vector,
where: where,
offset: offset,
limit: limit,
select: select,
namespace: namespace,
branch: branch,
version: version,
)) {
rows.add(chunk);
}
return rows;
}