hermes-client-python 1.4.40__py3-none-any.whl → 1.4.42__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hermes_client_python/client.py +30 -0
- hermes_client_python/hermes_pb2.py +69 -67
- {hermes_client_python-1.4.40.dist-info → hermes_client_python-1.4.42.dist-info}/METADATA +1 -1
- hermes_client_python-1.4.42.dist-info/RECORD +8 -0
- hermes_client_python-1.4.40.dist-info/RECORD +0 -8
- {hermes_client_python-1.4.40.dist-info → hermes_client_python-1.4.42.dist-info}/WHEEL +0 -0
hermes_client_python/client.py
CHANGED
|
@@ -262,6 +262,8 @@ class HermesClient:
|
|
|
262
262
|
limit: int = 10,
|
|
263
263
|
offset: int = 0,
|
|
264
264
|
fields_to_load: list[str] | None = None,
|
|
265
|
+
reranker: tuple[str, list[float], int] | None = None,
|
|
266
|
+
reranker_combiner: str = "log_sum_exp",
|
|
265
267
|
) -> SearchResponse:
|
|
266
268
|
"""Search for documents.
|
|
267
269
|
|
|
@@ -279,6 +281,11 @@ class HermesClient:
|
|
|
279
281
|
limit: Maximum number of results
|
|
280
282
|
offset: Offset for pagination
|
|
281
283
|
fields_to_load: List of fields to include in results
|
|
284
|
+
reranker: L2 reranker as (field, query_vector, l1_limit) tuple.
|
|
285
|
+
Reranks L1 candidates by exact dense vector distance.
|
|
286
|
+
l1_limit=0 defaults to 10x the final limit.
|
|
287
|
+
reranker_combiner: Score combiner for reranker multi-value fields:
|
|
288
|
+
"log_sum_exp" (default), "max", "avg", "sum"
|
|
282
289
|
|
|
283
290
|
Returns:
|
|
284
291
|
SearchResponse with hits
|
|
@@ -325,12 +332,24 @@ class HermesClient:
|
|
|
325
332
|
combiner=combiner,
|
|
326
333
|
)
|
|
327
334
|
|
|
335
|
+
pb_reranker = None
|
|
336
|
+
if reranker is not None:
|
|
337
|
+
field_name, query_vector, l1_limit = reranker
|
|
338
|
+
reranker_combiner_value = _reranker_combiner_to_proto(reranker_combiner)
|
|
339
|
+
pb_reranker = pb.Reranker(
|
|
340
|
+
field=field_name,
|
|
341
|
+
vector=query_vector,
|
|
342
|
+
limit=l1_limit,
|
|
343
|
+
combiner=reranker_combiner_value,
|
|
344
|
+
)
|
|
345
|
+
|
|
328
346
|
request = pb.SearchRequest(
|
|
329
347
|
index_name=index_name,
|
|
330
348
|
query=query,
|
|
331
349
|
limit=limit,
|
|
332
350
|
offset=offset,
|
|
333
351
|
fields_to_load=fields_to_load or [],
|
|
352
|
+
reranker=pb_reranker,
|
|
334
353
|
)
|
|
335
354
|
|
|
336
355
|
response = await self._search_stub.Search(request)
|
|
@@ -522,6 +541,17 @@ def _combiner_to_proto(combiner: str) -> int:
|
|
|
522
541
|
return {"sum": 0, "max": 1, "avg": 2}.get(combiner.lower(), 0)
|
|
523
542
|
|
|
524
543
|
|
|
544
|
+
def _reranker_combiner_to_proto(combiner: str) -> int:
|
|
545
|
+
"""Convert reranker combiner string to proto MultiValueCombiner enum."""
|
|
546
|
+
return {
|
|
547
|
+
"log_sum_exp": 0,
|
|
548
|
+
"max": 1,
|
|
549
|
+
"avg": 2,
|
|
550
|
+
"sum": 3,
|
|
551
|
+
"weighted_top_k": 4,
|
|
552
|
+
}.get(combiner.lower(), 0)
|
|
553
|
+
|
|
554
|
+
|
|
525
555
|
def _build_query(
|
|
526
556
|
*,
|
|
527
557
|
term: tuple[str, str] | None = None,
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0chermes.proto\x12\x06hermes\"\x88\x02\n\x05Query\x12!\n\x04term\x18\x01 \x01(\x0b\x32\x11.hermes.TermQueryH\x00\x12\'\n\x07\x62oolean\x18\x02 \x01(\x0b\x32\x14.hermes.BooleanQueryH\x00\x12#\n\x05\x62oost\x18\x03 \x01(\x0b\x32\x12.hermes.BoostQueryH\x00\x12\x1f\n\x03\x61ll\x18\x04 \x01(\x0b\x32\x10.hermes.AllQueryH\x00\x12\x32\n\rsparse_vector\x18\x05 \x01(\x0b\x32\x19.hermes.SparseVectorQueryH\x00\x12\x30\n\x0c\x64\x65nse_vector\x18\x06 \x01(\x0b\x32\x18.hermes.DenseVectorQueryH\x00\x42\x07\n\x05query\"\xe2\x01\n\x11SparseVectorQuery\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x0f\n\x07indices\x18\x02 \x03(\r\x12\x0e\n\x06values\x18\x03 \x03(\x02\x12\x0c\n\x04text\x18\x04 \x01(\t\x12,\n\x08\x63ombiner\x18\x05 \x01(\x0e\x32\x1a.hermes.MultiValueCombiner\x12\x13\n\x0bheap_factor\x18\x06 \x01(\x02\x12\x1c\n\x14\x63ombiner_temperature\x18\x07 \x01(\x02\x12\x16\n\x0e\x63ombiner_top_k\x18\x08 \x01(\r\x12\x16\n\x0e\x63ombiner_decay\x18\t \x01(\x02\"\xd4\x01\n\x10\x44\x65nseVectorQuery\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x0e\n\x06vector\x18\x02 \x03(\x02\x12\x0e\n\x06nprobe\x18\x03 \x01(\r\x12\x15\n\rrerank_factor\x18\x04 \x01(\r\x12,\n\x08\x63ombiner\x18\x05 \x01(\x0e\x32\x1a.hermes.MultiValueCombiner\x12\x1c\n\x14\x63ombiner_temperature\x18\x06 \x01(\x02\x12\x16\n\x0e\x63ombiner_top_k\x18\x07 \x01(\r\x12\x16\n\x0e\x63ombiner_decay\x18\x08 \x01(\x02\"(\n\tTermQuery\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x0c\n\x04term\x18\x02 \x01(\t\"k\n\x0c\x42ooleanQuery\x12\x1b\n\x04must\x18\x01 \x03(\x0b\x32\r.hermes.Query\x12\x1d\n\x06should\x18\x02 \x03(\x0b\x32\r.hermes.Query\x12\x1f\n\x08must_not\x18\x03 \x03(\x0b\x32\r.hermes.Query\"9\n\nBoostQuery\x12\x1c\n\x05query\x18\x01 \x01(\x0b\x32\r.hermes.Query\x12\r\n\x05\x62oost\x18\x02 \x01(\x02\"\n\n\x08\x41llQuery\"
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0chermes.proto\x12\x06hermes\"\x88\x02\n\x05Query\x12!\n\x04term\x18\x01 \x01(\x0b\x32\x11.hermes.TermQueryH\x00\x12\'\n\x07\x62oolean\x18\x02 \x01(\x0b\x32\x14.hermes.BooleanQueryH\x00\x12#\n\x05\x62oost\x18\x03 \x01(\x0b\x32\x12.hermes.BoostQueryH\x00\x12\x1f\n\x03\x61ll\x18\x04 \x01(\x0b\x32\x10.hermes.AllQueryH\x00\x12\x32\n\rsparse_vector\x18\x05 \x01(\x0b\x32\x19.hermes.SparseVectorQueryH\x00\x12\x30\n\x0c\x64\x65nse_vector\x18\x06 \x01(\x0b\x32\x18.hermes.DenseVectorQueryH\x00\x42\x07\n\x05query\"\xe2\x01\n\x11SparseVectorQuery\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x0f\n\x07indices\x18\x02 \x03(\r\x12\x0e\n\x06values\x18\x03 \x03(\x02\x12\x0c\n\x04text\x18\x04 \x01(\t\x12,\n\x08\x63ombiner\x18\x05 \x01(\x0e\x32\x1a.hermes.MultiValueCombiner\x12\x13\n\x0bheap_factor\x18\x06 \x01(\x02\x12\x1c\n\x14\x63ombiner_temperature\x18\x07 \x01(\x02\x12\x16\n\x0e\x63ombiner_top_k\x18\x08 \x01(\r\x12\x16\n\x0e\x63ombiner_decay\x18\t \x01(\x02\"\xd4\x01\n\x10\x44\x65nseVectorQuery\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x0e\n\x06vector\x18\x02 \x03(\x02\x12\x0e\n\x06nprobe\x18\x03 \x01(\r\x12\x15\n\rrerank_factor\x18\x04 \x01(\r\x12,\n\x08\x63ombiner\x18\x05 \x01(\x0e\x32\x1a.hermes.MultiValueCombiner\x12\x1c\n\x14\x63ombiner_temperature\x18\x06 \x01(\x02\x12\x16\n\x0e\x63ombiner_top_k\x18\x07 \x01(\r\x12\x16\n\x0e\x63ombiner_decay\x18\x08 \x01(\x02\"(\n\tTermQuery\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x0c\n\x04term\x18\x02 \x01(\t\"k\n\x0c\x42ooleanQuery\x12\x1b\n\x04must\x18\x01 \x03(\x0b\x32\r.hermes.Query\x12\x1d\n\x06should\x18\x02 \x03(\x0b\x32\r.hermes.Query\x12\x1f\n\x08must_not\x18\x03 \x03(\x0b\x32\r.hermes.Query\"9\n\nBoostQuery\x12\x1c\n\x05query\x18\x01 \x01(\x0b\x32\r.hermes.Query\x12\r\n\x05\x62oost\x18\x02 \x01(\x02\"\n\n\x08\x41llQuery\"\xb4\x01\n\x08Reranker\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x0e\n\x06vector\x18\x02 \x03(\x02\x12\r\n\x05limit\x18\x03 \x01(\r\x12,\n\x08\x63ombiner\x18\x04 \x01(\x0e\x32\x1a.hermes.MultiValueCombiner\x12\x1c\n\x14\x63ombiner_temperature\x18\x05 \x01(\x02\x12\x16\n\x0e\x63ombiner_top_k\x18\x06 \x01(\r\x12\x16\n\x0e\x63ombiner_decay\x18\x07 \x01(\x02\"\x9c\x01\n\rSearchRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x1c\n\x05query\x18\x02 \x01(\x0b\x32\r.hermes.Query\x12\r\n\x05limit\x18\x03 \x01(\r\x12\x0e\n\x06offset\x18\x04 \x01(\r\x12\x16\n\x0e\x66ields_to_load\x18\x05 \x03(\t\x12\"\n\x08reranker\x18\x06 \x01(\x0b\x32\x10.hermes.Reranker\"\xca\x01\n\tSearchHit\x12\x0e\n\x06\x64oc_id\x18\x01 \x01(\r\x12\r\n\x05score\x18\x02 \x01(\x02\x12-\n\x06\x66ields\x18\x03 \x03(\x0b\x32\x1d.hermes.SearchHit.FieldsEntry\x12,\n\x0eordinal_scores\x18\x04 \x03(\x0b\x32\x14.hermes.OrdinalScore\x1a\x41\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.hermes.FieldValue:\x02\x38\x01\".\n\x0cOrdinalScore\x12\x0f\n\x07ordinal\x18\x01 \x01(\r\x12\r\n\x05score\x18\x02 \x01(\x02\"\xdb\x01\n\nFieldValue\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\r\n\x03u64\x18\x02 \x01(\x04H\x00\x12\r\n\x03i64\x18\x03 \x01(\x03H\x00\x12\r\n\x03\x66\x36\x34\x18\x04 \x01(\x01H\x00\x12\x15\n\x0b\x62ytes_value\x18\x05 \x01(\x0cH\x00\x12-\n\rsparse_vector\x18\x06 \x01(\x0b\x32\x14.hermes.SparseVectorH\x00\x12+\n\x0c\x64\x65nse_vector\x18\x07 \x01(\x0b\x32\x13.hermes.DenseVectorH\x00\x12\x14\n\njson_value\x18\x08 \x01(\tH\x00\x42\x07\n\x05value\"/\n\x0cSparseVector\x12\x0f\n\x07indices\x18\x01 \x03(\r\x12\x0e\n\x06values\x18\x02 \x03(\x02\"\x1d\n\x0b\x44\x65nseVector\x12\x0e\n\x06values\x18\x01 \x03(\x02\"V\n\x0eSearchResponse\x12\x1f\n\x04hits\x18\x01 \x03(\x0b\x32\x11.hermes.SearchHit\x12\x12\n\ntotal_hits\x18\x02 \x01(\r\x12\x0f\n\x07took_ms\x18\x03 \x01(\x04\"8\n\x12GetDocumentRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x0e\n\x06\x64oc_id\x18\x02 \x01(\r\"\x91\x01\n\x13GetDocumentResponse\x12\x37\n\x06\x66ields\x18\x01 \x03(\x0b\x32\'.hermes.GetDocumentResponse.FieldsEntry\x1a\x41\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.hermes.FieldValue:\x02\x38\x01\")\n\x13GetIndexInfoRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\"\x8d\x01\n\x14GetIndexInfoResponse\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x10\n\x08num_docs\x18\x02 \x01(\r\x12\x14\n\x0cnum_segments\x18\x03 \x01(\r\x12\x0e\n\x06schema\x18\x04 \x01(\t\x12)\n\x0cmemory_stats\x18\x05 \x01(\x0b\x32\x13.hermes.MemoryStats\"\x8c\x01\n\x0bMemoryStats\x12\x13\n\x0btotal_bytes\x18\x01 \x01(\x04\x12\x34\n\x0findexing_buffer\x18\x02 \x01(\x0b\x32\x1b.hermes.IndexingBufferStats\x12\x32\n\x0esegment_reader\x18\x03 \x01(\x0b\x32\x1a.hermes.SegmentReaderStats\"\xdf\x01\n\x13IndexingBufferStats\x12\x13\n\x0btotal_bytes\x18\x01 \x01(\x04\x12\x16\n\x0epostings_bytes\x18\x02 \x01(\x04\x12\x1c\n\x14sparse_vectors_bytes\x18\x03 \x01(\x04\x12\x1b\n\x13\x64\x65nse_vectors_bytes\x18\x04 \x01(\x04\x12\x16\n\x0einterner_bytes\x18\x05 \x01(\x04\x12\x1c\n\x14position_index_bytes\x18\x06 \x01(\x04\x12\x14\n\x0cpending_docs\x18\x07 \x01(\r\x12\x14\n\x0cunique_terms\x18\x08 \x01(\r\"\xb7\x01\n\x12SegmentReaderStats\x12\x13\n\x0btotal_bytes\x18\x01 \x01(\x04\x12\x1d\n\x15term_dict_cache_bytes\x18\x02 \x01(\x04\x12\x19\n\x11store_cache_bytes\x18\x03 \x01(\x04\x12\x1a\n\x12sparse_index_bytes\x18\x04 \x01(\x04\x12\x19\n\x11\x64\x65nse_index_bytes\x18\x05 \x01(\x04\x12\x1b\n\x13num_segments_loaded\x18\x06 \x01(\r\"8\n\x12\x43reateIndexRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t\"&\n\x13\x43reateIndexResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"=\n\nFieldEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.hermes.FieldValue\"3\n\rNamedDocument\x12\"\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x12.hermes.FieldEntry\"Z\n\x1a\x42\x61tchIndexDocumentsRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12(\n\tdocuments\x18\x02 \x03(\x0b\x32\x15.hermes.NamedDocument\"I\n\x1b\x42\x61tchIndexDocumentsResponse\x12\x15\n\rindexed_count\x18\x01 \x01(\r\x12\x13\n\x0b\x65rror_count\x18\x02 \x01(\r\"N\n\x14IndexDocumentRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\"\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x12.hermes.FieldEntry\"/\n\x16IndexDocumentsResponse\x12\x15\n\rindexed_count\x18\x01 \x01(\r\"#\n\rCommitRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\"3\n\x0e\x43ommitResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x10\n\x08num_docs\x18\x02 \x01(\r\"\'\n\x11\x46orceMergeRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\";\n\x12\x46orceMergeResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0cnum_segments\x18\x02 \x01(\r\"(\n\x12\x44\x65leteIndexRequest\x12\x12\n\nindex_name\x18\x01 \x01(\t\"&\n\x13\x44\x65leteIndexResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08*\x81\x01\n\x12MultiValueCombiner\x12\x18\n\x14\x43OMBINER_LOG_SUM_EXP\x10\x00\x12\x10\n\x0c\x43OMBINER_MAX\x10\x01\x12\x10\n\x0c\x43OMBINER_AVG\x10\x02\x12\x10\n\x0c\x43OMBINER_SUM\x10\x03\x12\x1b\n\x17\x43OMBINER_WEIGHTED_TOP_K\x10\x04\x32\xdb\x01\n\rSearchService\x12\x37\n\x06Search\x12\x15.hermes.SearchRequest\x1a\x16.hermes.SearchResponse\x12\x46\n\x0bGetDocument\x12\x1a.hermes.GetDocumentRequest\x1a\x1b.hermes.GetDocumentResponse\x12I\n\x0cGetIndexInfo\x12\x1b.hermes.GetIndexInfoRequest\x1a\x1c.hermes.GetIndexInfoResponse2\xce\x03\n\x0cIndexService\x12\x46\n\x0b\x43reateIndex\x12\x1a.hermes.CreateIndexRequest\x1a\x1b.hermes.CreateIndexResponse\x12P\n\x0eIndexDocuments\x12\x1c.hermes.IndexDocumentRequest\x1a\x1e.hermes.IndexDocumentsResponse(\x01\x12^\n\x13\x42\x61tchIndexDocuments\x12\".hermes.BatchIndexDocumentsRequest\x1a#.hermes.BatchIndexDocumentsResponse\x12\x37\n\x06\x43ommit\x12\x15.hermes.CommitRequest\x1a\x16.hermes.CommitResponse\x12\x43\n\nForceMerge\x12\x19.hermes.ForceMergeRequest\x1a\x1a.hermes.ForceMergeResponse\x12\x46\n\x0b\x44\x65leteIndex\x12\x1a.hermes.DeleteIndexRequest\x1a\x1b.hermes.DeleteIndexResponseb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,8 +35,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
35
35
|
_globals['_SEARCHHIT_FIELDSENTRY']._serialized_options = b'8\001'
|
|
36
36
|
_globals['_GETDOCUMENTRESPONSE_FIELDSENTRY']._loaded_options = None
|
|
37
37
|
_globals['_GETDOCUMENTRESPONSE_FIELDSENTRY']._serialized_options = b'8\001'
|
|
38
|
-
_globals['_MULTIVALUECOMBINER']._serialized_start=
|
|
39
|
-
_globals['_MULTIVALUECOMBINER']._serialized_end=
|
|
38
|
+
_globals['_MULTIVALUECOMBINER']._serialized_start=3675
|
|
39
|
+
_globals['_MULTIVALUECOMBINER']._serialized_end=3804
|
|
40
40
|
_globals['_QUERY']._serialized_start=25
|
|
41
41
|
_globals['_QUERY']._serialized_end=289
|
|
42
42
|
_globals['_SPARSEVECTORQUERY']._serialized_start=292
|
|
@@ -51,68 +51,70 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
51
51
|
_globals['_BOOSTQUERY']._serialized_end=943
|
|
52
52
|
_globals['_ALLQUERY']._serialized_start=945
|
|
53
53
|
_globals['_ALLQUERY']._serialized_end=955
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
54
|
+
_globals['_RERANKER']._serialized_start=958
|
|
55
|
+
_globals['_RERANKER']._serialized_end=1138
|
|
56
|
+
_globals['_SEARCHREQUEST']._serialized_start=1141
|
|
57
|
+
_globals['_SEARCHREQUEST']._serialized_end=1297
|
|
58
|
+
_globals['_SEARCHHIT']._serialized_start=1300
|
|
59
|
+
_globals['_SEARCHHIT']._serialized_end=1502
|
|
60
|
+
_globals['_SEARCHHIT_FIELDSENTRY']._serialized_start=1437
|
|
61
|
+
_globals['_SEARCHHIT_FIELDSENTRY']._serialized_end=1502
|
|
62
|
+
_globals['_ORDINALSCORE']._serialized_start=1504
|
|
63
|
+
_globals['_ORDINALSCORE']._serialized_end=1550
|
|
64
|
+
_globals['_FIELDVALUE']._serialized_start=1553
|
|
65
|
+
_globals['_FIELDVALUE']._serialized_end=1772
|
|
66
|
+
_globals['_SPARSEVECTOR']._serialized_start=1774
|
|
67
|
+
_globals['_SPARSEVECTOR']._serialized_end=1821
|
|
68
|
+
_globals['_DENSEVECTOR']._serialized_start=1823
|
|
69
|
+
_globals['_DENSEVECTOR']._serialized_end=1852
|
|
70
|
+
_globals['_SEARCHRESPONSE']._serialized_start=1854
|
|
71
|
+
_globals['_SEARCHRESPONSE']._serialized_end=1940
|
|
72
|
+
_globals['_GETDOCUMENTREQUEST']._serialized_start=1942
|
|
73
|
+
_globals['_GETDOCUMENTREQUEST']._serialized_end=1998
|
|
74
|
+
_globals['_GETDOCUMENTRESPONSE']._serialized_start=2001
|
|
75
|
+
_globals['_GETDOCUMENTRESPONSE']._serialized_end=2146
|
|
76
|
+
_globals['_GETDOCUMENTRESPONSE_FIELDSENTRY']._serialized_start=1437
|
|
77
|
+
_globals['_GETDOCUMENTRESPONSE_FIELDSENTRY']._serialized_end=1502
|
|
78
|
+
_globals['_GETINDEXINFOREQUEST']._serialized_start=2148
|
|
79
|
+
_globals['_GETINDEXINFOREQUEST']._serialized_end=2189
|
|
80
|
+
_globals['_GETINDEXINFORESPONSE']._serialized_start=2192
|
|
81
|
+
_globals['_GETINDEXINFORESPONSE']._serialized_end=2333
|
|
82
|
+
_globals['_MEMORYSTATS']._serialized_start=2336
|
|
83
|
+
_globals['_MEMORYSTATS']._serialized_end=2476
|
|
84
|
+
_globals['_INDEXINGBUFFERSTATS']._serialized_start=2479
|
|
85
|
+
_globals['_INDEXINGBUFFERSTATS']._serialized_end=2702
|
|
86
|
+
_globals['_SEGMENTREADERSTATS']._serialized_start=2705
|
|
87
|
+
_globals['_SEGMENTREADERSTATS']._serialized_end=2888
|
|
88
|
+
_globals['_CREATEINDEXREQUEST']._serialized_start=2890
|
|
89
|
+
_globals['_CREATEINDEXREQUEST']._serialized_end=2946
|
|
90
|
+
_globals['_CREATEINDEXRESPONSE']._serialized_start=2948
|
|
91
|
+
_globals['_CREATEINDEXRESPONSE']._serialized_end=2986
|
|
92
|
+
_globals['_FIELDENTRY']._serialized_start=2988
|
|
93
|
+
_globals['_FIELDENTRY']._serialized_end=3049
|
|
94
|
+
_globals['_NAMEDDOCUMENT']._serialized_start=3051
|
|
95
|
+
_globals['_NAMEDDOCUMENT']._serialized_end=3102
|
|
96
|
+
_globals['_BATCHINDEXDOCUMENTSREQUEST']._serialized_start=3104
|
|
97
|
+
_globals['_BATCHINDEXDOCUMENTSREQUEST']._serialized_end=3194
|
|
98
|
+
_globals['_BATCHINDEXDOCUMENTSRESPONSE']._serialized_start=3196
|
|
99
|
+
_globals['_BATCHINDEXDOCUMENTSRESPONSE']._serialized_end=3269
|
|
100
|
+
_globals['_INDEXDOCUMENTREQUEST']._serialized_start=3271
|
|
101
|
+
_globals['_INDEXDOCUMENTREQUEST']._serialized_end=3349
|
|
102
|
+
_globals['_INDEXDOCUMENTSRESPONSE']._serialized_start=3351
|
|
103
|
+
_globals['_INDEXDOCUMENTSRESPONSE']._serialized_end=3398
|
|
104
|
+
_globals['_COMMITREQUEST']._serialized_start=3400
|
|
105
|
+
_globals['_COMMITREQUEST']._serialized_end=3435
|
|
106
|
+
_globals['_COMMITRESPONSE']._serialized_start=3437
|
|
107
|
+
_globals['_COMMITRESPONSE']._serialized_end=3488
|
|
108
|
+
_globals['_FORCEMERGEREQUEST']._serialized_start=3490
|
|
109
|
+
_globals['_FORCEMERGEREQUEST']._serialized_end=3529
|
|
110
|
+
_globals['_FORCEMERGERESPONSE']._serialized_start=3531
|
|
111
|
+
_globals['_FORCEMERGERESPONSE']._serialized_end=3590
|
|
112
|
+
_globals['_DELETEINDEXREQUEST']._serialized_start=3592
|
|
113
|
+
_globals['_DELETEINDEXREQUEST']._serialized_end=3632
|
|
114
|
+
_globals['_DELETEINDEXRESPONSE']._serialized_start=3634
|
|
115
|
+
_globals['_DELETEINDEXRESPONSE']._serialized_end=3672
|
|
116
|
+
_globals['_SEARCHSERVICE']._serialized_start=3807
|
|
117
|
+
_globals['_SEARCHSERVICE']._serialized_end=4026
|
|
118
|
+
_globals['_INDEXSERVICE']._serialized_start=4029
|
|
119
|
+
_globals['_INDEXSERVICE']._serialized_end=4491
|
|
118
120
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hermes-client-python
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.42
|
|
4
4
|
Summary: Async Python client for Hermes search server
|
|
5
5
|
Project-URL: Homepage, https://github.com/SpaceFrontiers/hermes
|
|
6
6
|
Project-URL: Repository, https://github.com/SpaceFrontiers/hermes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
hermes_client_python/__init__.py,sha256=qUaFnTSVr4fSOXfRHJIu8ur5IJEChfIJPOqTC0MiIMw,282
|
|
2
|
+
hermes_client_python/client.py,sha256=EgAqbH9WR3e7K9WrxUoKw9sro3soxY7qMmyLbiqOAsc,21532
|
|
3
|
+
hermes_client_python/hermes_pb2.py,sha256=ZYckGkFGx3IgSJku_ylcA78ePCrk749JPRMRjhSkVIg,13554
|
|
4
|
+
hermes_client_python/hermes_pb2_grpc.py,sha256=aFn4mHdGUWnFBtfzHue9i-kATCNVlE1pjIeW9QXhXIA,17463
|
|
5
|
+
hermes_client_python/types.py,sha256=e6_amiC4F9AkOSzAB9woAfLf9gooN9Y-rzJShrR9YEo,954
|
|
6
|
+
hermes_client_python-1.4.42.dist-info/METADATA,sha256=SAlAVbQwfS0R6UHuzbVZMDlT1d2z1Os9guUGK-FjIks,6121
|
|
7
|
+
hermes_client_python-1.4.42.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
8
|
+
hermes_client_python-1.4.42.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
hermes_client_python/__init__.py,sha256=qUaFnTSVr4fSOXfRHJIu8ur5IJEChfIJPOqTC0MiIMw,282
|
|
2
|
-
hermes_client_python/client.py,sha256=FS2pWXvjvDY9xZuWkvwKoW4je5RZiU3ynP0rvcgfa6w,20345
|
|
3
|
-
hermes_client_python/hermes_pb2.py,sha256=M9vA7JKwon2Yz1fuSYpFgqPygymsBYj6sjXX9LuvFik,13037
|
|
4
|
-
hermes_client_python/hermes_pb2_grpc.py,sha256=aFn4mHdGUWnFBtfzHue9i-kATCNVlE1pjIeW9QXhXIA,17463
|
|
5
|
-
hermes_client_python/types.py,sha256=e6_amiC4F9AkOSzAB9woAfLf9gooN9Y-rzJShrR9YEo,954
|
|
6
|
-
hermes_client_python-1.4.40.dist-info/METADATA,sha256=eq1K8pVVxSHvEZRzLkItApbwAtCgfqqCH__Wo7NGh-4,6121
|
|
7
|
-
hermes_client_python-1.4.40.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
8
|
-
hermes_client_python-1.4.40.dist-info/RECORD,,
|
|
File without changes
|