nucliadb-protos 6.3.7.post4116__py3-none-any.whl → 6.3.7.post4119__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.
- build.py +0 -3
- nucliadb_protos/audit_pb2.py +25 -38
- nucliadb_protos/knowledgebox_pb2.py +91 -97
- nucliadb_protos/knowledgebox_pb2.pyi +41 -20
- nucliadb_protos/train_pb2.py +0 -32
- nucliadb_protos/train_pb2.pyi +3 -1
- nucliadb_protos/train_pb2_grpc.pyi +3 -1
- nucliadb_protos/writer_pb2.py +135 -155
- nucliadb_protos/writer_pb2.pyi +4 -53
- nucliadb_protos/writer_pb2_grpc.pyi +3 -27
- {nucliadb_protos-6.3.7.post4116.dist-info → nucliadb_protos-6.3.7.post4119.dist-info}/METADATA +1 -1
- {nucliadb_protos-6.3.7.post4116.dist-info → nucliadb_protos-6.3.7.post4119.dist-info}/RECORD +14 -24
- nucliadb_protos/nodereader_pb2.py +0 -179
- nucliadb_protos/nodereader_pb2.pyi +0 -1523
- nucliadb_protos/nodereader_pb2_grpc.py +0 -579
- nucliadb_protos/nodereader_pb2_grpc.pyi +0 -288
- nucliadb_protos/noderesources_pb2.py +0 -155
- nucliadb_protos/noderesources_pb2.pyi +0 -993
- nucliadb_protos/nodewriter_pb2.py +0 -90
- nucliadb_protos/nodewriter_pb2.pyi +0 -348
- nucliadb_protos/nodewriter_pb2_grpc.py +0 -571
- nucliadb_protos/nodewriter_pb2_grpc.pyi +0 -256
- {nucliadb_protos-6.3.7.post4116.dist-info → nucliadb_protos-6.3.7.post4119.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.3.7.post4116.dist-info → nucliadb_protos-6.3.7.post4119.dist-info}/entry_points.txt +0 -0
@@ -1,179 +0,0 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
-
# source: nucliadb_protos/nodereader.proto
|
5
|
-
# Protobuf Python Version: 5.29.0
|
6
|
-
"""Generated protocol buffer code."""
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
11
|
-
from google.protobuf.internal import builder as _builder
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
14
|
-
5,
|
15
|
-
29,
|
16
|
-
0,
|
17
|
-
'',
|
18
|
-
'nucliadb_protos/nodereader.proto'
|
19
|
-
)
|
20
|
-
# @@protoc_insertion_point(imports)
|
21
|
-
|
22
|
-
_sym_db = _symbol_database.Default()
|
23
|
-
|
24
|
-
|
25
|
-
from nucliadb_protos import noderesources_pb2 as nucliadb__protos_dot_noderesources__pb2
|
26
|
-
try:
|
27
|
-
nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_noderesources__pb2.nucliadb__protos_dot_utils__pb2
|
28
|
-
except AttributeError:
|
29
|
-
nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_noderesources__pb2.nucliadb_protos.utils_pb2
|
30
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
31
|
-
from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
|
32
|
-
|
33
|
-
from nucliadb_protos.noderesources_pb2 import *
|
34
|
-
from nucliadb_protos.utils_pb2 import *
|
35
|
-
|
36
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n nucliadb_protos/nodereader.proto\x12\nnodereader\x1a#nucliadb_protos/noderesources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bnucliadb_protos/utils.proto\"\x82\x01\n\x0cStreamFilter\x12\x39\n\x0b\x63onjunction\x18\x01 \x01(\x0e\x32$.nodereader.StreamFilter.Conjunction\x12\x0e\n\x06labels\x18\x02 \x03(\t\"\'\n\x0b\x43onjunction\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\x12\x07\n\x03NOT\x10\x02\"\x19\n\x07\x46\x61\x63\x65ted\x12\x0e\n\x06labels\x18\x01 \x03(\t\"\xc3\x01\n\x07OrderBy\x12\x11\n\x05\x66ield\x18\x01 \x01(\tB\x02\x18\x01\x12+\n\x04type\x18\x02 \x01(\x0e\x32\x1d.nodereader.OrderBy.OrderType\x12/\n\x07sort_by\x18\x03 \x01(\x0e\x32\x1e.nodereader.OrderBy.OrderField\"\x1e\n\tOrderType\x12\x08\n\x04\x44\x45SC\x10\x00\x12\x07\n\x03\x41SC\x10\x01\"\'\n\nOrderField\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\")\n\x0b\x46\x61\x63\x65tResult\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\r\n\x05total\x18\x02 \x01(\x05\"=\n\x0c\x46\x61\x63\x65tResults\x12-\n\x0c\x66\x61\x63\x65tresults\x18\x01 \x03(\x0b\x32\x17.nodereader.FacetResult\",\n\x0bResultScore\x12\x0c\n\x04\x62m25\x18\x01 \x01(\x02\x12\x0f\n\x07\x62ooster\x18\x02 \x01(\x02\"e\n\x0e\x44ocumentResult\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12&\n\x05score\x18\x03 \x01(\x0b\x32\x17.nodereader.ResultScore\x12\r\n\x05\x66ield\x18\x04 \x01(\t\x12\x0e\n\x06labels\x18\x05 \x03(\t\"\xbb\x02\n\x16\x44ocumentSearchResponse\x12\r\n\x05total\x18\x01 \x01(\x05\x12+\n\x07results\x18\x02 \x03(\x0b\x32\x1a.nodereader.DocumentResult\x12>\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\x0b\x32..nodereader.DocumentSearchResponse.FacetsEntry\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\x12\r\n\x05query\x18\x06 \x01(\t\x12\x11\n\tnext_page\x18\x07 \x01(\x08\x12\x0c\n\x04\x62m25\x18\x08 \x01(\x08\x1aG\n\x0b\x46\x61\x63\x65tsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.nodereader.FacetResults:\x02\x38\x01\"\xf8\x01\n\x0fParagraphResult\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05\x66ield\x18\x03 \x01(\t\x12\r\n\x05start\x18\x04 \x01(\x04\x12\x0b\n\x03\x65nd\x18\x05 \x01(\x04\x12\x11\n\tparagraph\x18\x06 \x01(\t\x12\r\n\x05split\x18\x07 \x01(\t\x12\r\n\x05index\x18\x08 \x01(\x04\x12&\n\x05score\x18\t \x01(\x0b\x32\x17.nodereader.ResultScore\x12\x0f\n\x07matches\x18\n \x03(\t\x12\x32\n\x08metadata\x18\x0b \x01(\x0b\x32 .noderesources.ParagraphMetadata\x12\x0e\n\x06labels\x18\x0c \x03(\t\"\xe8\x02\n\x17ParagraphSearchResponse\x12\x16\n\x0e\x66uzzy_distance\x18\n \x01(\x05\x12\r\n\x05total\x18\x01 \x01(\x05\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.nodereader.ParagraphResult\x12?\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\x0b\x32/.nodereader.ParagraphSearchResponse.FacetsEntry\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\x12\r\n\x05query\x18\x06 \x01(\t\x12\x11\n\tnext_page\x18\x07 \x01(\x08\x12\x0c\n\x04\x62m25\x18\x08 \x01(\x08\x12\x10\n\x08\x65matches\x18\t \x03(\t\x1aG\n\x0b\x46\x61\x63\x65tsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.nodereader.FacetResults:\x02\x38\x01\"&\n\x18\x44ocumentVectorIdentifier\x12\n\n\x02id\x18\x01 \x01(\t\"\x98\x01\n\x0e\x44ocumentScored\x12\x34\n\x06\x64oc_id\x18\x01 \x01(\x0b\x32$.nodereader.DocumentVectorIdentifier\x12\r\n\x05score\x18\x02 \x01(\x02\x12\x31\n\x08metadata\x18\x03 \x01(\x0b\x32\x1f.noderesources.SentenceMetadata\x12\x0e\n\x06labels\x18\x04 \x03(\t\"s\n\x14VectorSearchResponse\x12-\n\tdocuments\x18\x01 \x03(\x0b\x32\x1a.nodereader.DocumentScored\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\"B\n\x1cRelationPrefixSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\"\x88\x0b\n\nGraphQuery\x12.\n\x04path\x18\x01 \x01(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\xf4\x04\n\x04Node\x12\x12\n\x05value\x18\x01 \x01(\tH\x01\x88\x01\x01\x12\x34\n\tnode_type\x18\x02 \x01(\x0e\x32\x1c.utils.RelationNode.NodeTypeH\x02\x88\x01\x01\x12\x19\n\x0cnode_subtype\x18\x03 \x01(\tH\x03\x88\x01\x01\x12=\n\nmatch_kind\x18\x04 \x01(\x0e\x32%.nodereader.GraphQuery.Node.MatchKindB\x02\x18\x01\x12\x37\n\x05\x65xact\x18\x05 \x01(\x0b\x32&.nodereader.GraphQuery.Node.ExactMatchH\x00\x12\x37\n\x05\x66uzzy\x18\x06 \x01(\x0b\x32&.nodereader.GraphQuery.Node.FuzzyMatchH\x00\x1a\x45\n\nExactMatch\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).nodereader.GraphQuery.Node.MatchLocation\x1aW\n\nFuzzyMatch\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).nodereader.GraphQuery.Node.MatchLocation\x12\x10\n\x08\x64istance\x18\x02 \x01(\r\"7\n\tMatchKind\x12\x14\n\x10\x44\x45PRECATED_EXACT\x10\x00\x12\x14\n\x10\x44\x45PRECATED_FUZZY\x10\x01\"B\n\rMatchLocation\x12\x08\n\x04\x46ULL\x10\x00\x12\n\n\x06PREFIX\x10\x01\x12\t\n\x05WORDS\x10\x02\x12\x10\n\x0cPREFIX_WORDS\x10\x03\x42\x10\n\x0enew_match_kindB\x08\n\x06_valueB\x0c\n\n_node_typeB\x0f\n\r_node_subtype\x1at\n\x08Relation\x12\x12\n\x05value\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x38\n\rrelation_type\x18\x02 \x01(\x0e\x32\x1c.utils.Relation.RelationTypeH\x01\x88\x01\x01\x42\x08\n\x06_valueB\x10\n\x0e_relation_type\x1a\xe3\x01\n\x04Path\x12\x30\n\x06source\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x00\x88\x01\x01\x12\x36\n\x08relation\x18\x02 \x01(\x0b\x32\x1f.nodereader.GraphQuery.RelationH\x01\x88\x01\x01\x12\x35\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x02\x88\x01\x01\x12\x12\n\nundirected\x18\x04 \x01(\x08\x42\t\n\x07_sourceB\x0b\n\t_relationB\x0e\n\x0c_destination\x1a?\n\tBoolQuery\x12\x32\n\x08operands\x18\x01 \x03(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\t\x1a\x97\x02\n\tPathQuery\x12+\n\x04path\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.PathH\x00\x12\x34\n\x08\x62ool_not\x18\x02 \x01(\x0b\x32 .nodereader.GraphQuery.PathQueryH\x00\x12\x34\n\x08\x62ool_and\x18\x03 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x07\x62ool_or\x18\x04 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x05\x66\x61\x63\x65t\x18\x05 \x01(\x0b\x32\".nodereader.GraphQuery.FacetFilterH\x00\x42\x07\n\x05query\"\xc1\x02\n\x12GraphSearchRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12%\n\x05query\x18\x02 \x01(\x0b\x32\x16.nodereader.GraphQuery\x12\x36\n\x04kind\x18\x03 \x01(\x0e\x32(.nodereader.GraphSearchRequest.QueryKind\x12\r\n\x05top_k\x18\x04 \x01(\r\x12&\n\x08security\x18\x05 \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x06 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\"/\n\tQueryKind\x12\x08\n\x04PATH\x10\x00\x12\t\n\x05NODES\x10\x01\x12\r\n\tRELATIONS\x10\x02\x42\x0b\n\t_securityB\x0f\n\r_field_filter\"\xbe\x03\n\x13GraphSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\x12;\n\trelations\x18\x02 \x03(\x0b\x32(.nodereader.GraphSearchResponse.Relation\x12\x33\n\x05graph\x18\x03 \x03(\x0b\x32$.nodereader.GraphSearchResponse.Path\x1aN\n\x08Relation\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\r\n\x05label\x18\x02 \x01(\t\x1a\xc0\x01\n\x04Path\x12\x0e\n\x06source\x18\x01 \x01(\r\x12\x10\n\x08relation\x18\x02 \x01(\r\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\r\x12.\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.utils.RelationMetadataH\x00\x88\x01\x01\x12\x1e\n\x11resource_field_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x06 \x03(\tB\x0b\n\t_metadataB\x14\n\x12_resource_field_id\"\xfa\x07\n\x10\x46ilterExpression\x12\x45\n\x08\x62ool_and\x18\x01 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x44\n\x07\x62ool_or\x18\x02 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x30\n\x08\x62ool_not\x18\x03 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x12?\n\x08resource\x18\x04 \x01(\x0b\x32+.nodereader.FilterExpression.ResourceFilterH\x00\x12\x39\n\x05\x66ield\x18\x05 \x01(\x0b\x32(.nodereader.FilterExpression.FieldFilterH\x00\x12=\n\x07keyword\x18\x06 \x01(\x0b\x32*.nodereader.FilterExpression.KeywordFilterH\x00\x12<\n\x04\x64\x61te\x18\x07 \x01(\x0b\x32,.nodereader.FilterExpression.DateRangeFilterH\x00\x12\x39\n\x05\x66\x61\x63\x65t\x18\x08 \x01(\x0b\x32(.nodereader.FilterExpression.FacetFilterH\x00\x1a\x46\n\x14\x46ilterExpressionList\x12.\n\x08operands\x18\x01 \x03(\x0b\x32\x1c.nodereader.FilterExpression\x1a%\n\x0eResourceFilter\x12\x13\n\x0bresource_id\x18\x01 \x01(\t\x1a\x45\n\x0b\x46ieldFilter\x12\x12\n\nfield_type\x18\x01 \x01(\t\x12\x15\n\x08\x66ield_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_field_id\x1a\xf4\x01\n\x0f\x44\x61teRangeFilter\x12\x45\n\x05\x66ield\x18\x01 \x01(\x0e\x32\x36.nodereader.FilterExpression.DateRangeFilter.DateField\x12.\n\x05since\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12.\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\"&\n\tDateField\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x42\x08\n\x06_sinceB\x08\n\x06_until\x1a \n\rKeywordFilter\x12\x0f\n\x07keyword\x18\x01 \x01(\t\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\tB\x06\n\x04\x65xpr\"\x84\x06\n\rSearchRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\"\n\x05order\x18\x05 \x01(\x0b\x32\x13.nodereader.OrderBy\x12$\n\x07\x66\x61\x63\x65ted\x18\x06 \x01(\x0b\x32\x13.nodereader.Faceted\x12\x13\n\x0bpage_number\x18\x07 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x08 \x01(\x05\x12\x0e\n\x06vector\x18\n \x03(\x02\x12\x11\n\tvectorset\x18\x0f \x01(\t\x12\x11\n\tparagraph\x18\x0c \x01(\x08\x12\x10\n\x08\x64ocument\x18\r \x01(\x08\x12\x17\n\x0fwith_duplicates\x18\x0e \x01(\x08\x12\x14\n\x0conly_faceted\x18\x10 \x01(\x08\x12\x1b\n\x0e\x61\x64vanced_query\x18\x12 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\x12min_score_semantic\x18\x17 \x01(\x02\x12\x16\n\x0emin_score_bm25\x18\x19 \x01(\x02\x12&\n\x08security\x18\x18 \x01(\x0b\x32\x0f.utils.SecurityH\x01\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x1a \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x02\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x1b \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x03\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\x1c \x01(\x0e\x32\x1a.nodereader.FilterOperator\x12;\n\x0cgraph_search\x18\x1d \x01(\x0b\x32%.nodereader.SearchRequest.GraphSearch\x1a\x34\n\x0bGraphSearch\x12%\n\x05query\x18\x01 \x01(\x0b\x32\x16.nodereader.GraphQueryB\x11\n\x0f_advanced_queryB\x0b\n\t_securityB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filterJ\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16\"\xad\x02\n\x0eSuggestRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12-\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1b.nodereader.SuggestFeatures\x12\x37\n\x0c\x66ield_filter\x18\x07 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x08 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\t \x01(\x0e\x32\x1a.nodereader.FilterOperatorB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filter\"2\n\x0fRelatedEntities\x12\x10\n\x08\x65ntities\x18\x01 \x03(\t\x12\r\n\x05total\x18\x02 \x01(\r\"\xb1\x01\n\x0fSuggestResponse\x12\r\n\x05total\x18\x01 \x01(\x05\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.nodereader.ParagraphResult\x12\r\n\x05query\x18\x03 \x01(\t\x12\x10\n\x08\x65matches\x18\x04 \x03(\t\x12@\n\x0e\x65ntity_results\x18\x06 \x01(\x0b\x32(.nodereader.RelationPrefixSearchResponse\"\xe6\x01\n\x0eSearchResponse\x12\x34\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\".nodereader.DocumentSearchResponse\x12\x36\n\tparagraph\x18\x02 \x01(\x0b\x32#.nodereader.ParagraphSearchResponse\x12\x30\n\x06vector\x18\x03 \x01(\x0b\x32 .nodereader.VectorSearchResponse\x12.\n\x05graph\x18\x05 \x01(\x0b\x32\x1f.nodereader.GraphSearchResponseJ\x04\x08\x04\x10\x05\"\x1b\n\x0cIdCollection\x12\x0b\n\x03ids\x18\x01 \x03(\t\"Q\n\x0cRelationEdge\x12/\n\tedge_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x10\n\x08property\x18\x02 \x01(\t\"2\n\x08\x45\x64geList\x12&\n\x04list\x18\x01 \x03(\x0b\x32\x18.nodereader.RelationEdge\"N\n\x0fGetShardRequest\x12(\n\x08shard_id\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x11\n\tvectorset\x18\x02 \x01(\t\"+\n\rParagraphItem\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06labels\x18\x02 \x03(\t\";\n\x0c\x44ocumentItem\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05\x66ield\x18\x02 \x01(\t\x12\x0e\n\x06labels\x18\x03 \x03(\t\"c\n\rStreamRequest\x12(\n\x08shard_id\x18\x03 \x01(\x0b\x32\x16.noderesources.ShardId\x12(\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x18.nodereader.StreamFilter\"(\n\x14GetShardFilesRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\"5\n\rShardFileList\x12$\n\x05\x66iles\x18\x02 \x03(\x0b\x32\x15.nodereader.ShardFile\"0\n\tShardFile\x12\x15\n\rrelative_path\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\"C\n\x18\x44ownloadShardFileRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x15\n\rrelative_path\x18\x02 \x01(\t\"-\n\x0eShardFileChunk\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\r\n\x05index\x18\x02 \x01(\x05*!\n\x0e\x46ilterOperator\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01*/\n\x0fSuggestFeatures\x12\x0c\n\x08\x45NTITIES\x10\x00\x12\x0e\n\nPARAGRAPHS\x10\x01\x32\xdf\x06\n\nNodeReader\x12?\n\x08GetShard\x12\x1b.nodereader.GetShardRequest\x1a\x14.noderesources.Shard\"\x00\x12\x41\n\x0b\x44ocumentIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12\x42\n\x0cParagraphIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12\x43\n\tVectorIds\x12\x1a.noderesources.VectorSetID\x1a\x18.nodereader.IdCollection\"\x00\x12\x41\n\x0bRelationIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12?\n\rRelationEdges\x12\x16.noderesources.ShardId\x1a\x14.nodereader.EdgeList\"\x00\x12\x41\n\x06Search\x12\x19.nodereader.SearchRequest\x1a\x1a.nodereader.SearchResponse\"\x00\x12\x44\n\x07Suggest\x12\x1a.nodereader.SuggestRequest\x1a\x1b.nodereader.SuggestResponse\"\x00\x12\x46\n\nParagraphs\x12\x19.nodereader.StreamRequest\x1a\x19.nodereader.ParagraphItem\"\x00\x30\x01\x12\x44\n\tDocuments\x12\x19.nodereader.StreamRequest\x1a\x18.nodereader.DocumentItem\"\x00\x30\x01\x12N\n\rGetShardFiles\x12 .nodereader.GetShardFilesRequest\x1a\x19.nodereader.ShardFileList\"\x00\x12Y\n\x11\x44ownloadShardFile\x12$.nodereader.DownloadShardFileRequest\x1a\x1a.nodereader.ShardFileChunk\"\x00\x30\x01P\x00P\x02\x62\x06proto3')
|
37
|
-
|
38
|
-
_globals = globals()
|
39
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
40
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.nodereader_pb2', _globals)
|
41
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
42
|
-
DESCRIPTOR._loaded_options = None
|
43
|
-
_globals['_ORDERBY'].fields_by_name['field']._loaded_options = None
|
44
|
-
_globals['_ORDERBY'].fields_by_name['field']._serialized_options = b'\030\001'
|
45
|
-
_globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._loaded_options = None
|
46
|
-
_globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
|
47
|
-
_globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._loaded_options = None
|
48
|
-
_globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
|
49
|
-
_globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._loaded_options = None
|
50
|
-
_globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._serialized_options = b'\030\001'
|
51
|
-
_globals['_FILTEROPERATOR']._serialized_start=7543
|
52
|
-
_globals['_FILTEROPERATOR']._serialized_end=7576
|
53
|
-
_globals['_SUGGESTFEATURES']._serialized_start=7578
|
54
|
-
_globals['_SUGGESTFEATURES']._serialized_end=7625
|
55
|
-
_globals['_STREAMFILTER']._serialized_start=148
|
56
|
-
_globals['_STREAMFILTER']._serialized_end=278
|
57
|
-
_globals['_STREAMFILTER_CONJUNCTION']._serialized_start=239
|
58
|
-
_globals['_STREAMFILTER_CONJUNCTION']._serialized_end=278
|
59
|
-
_globals['_FACETED']._serialized_start=280
|
60
|
-
_globals['_FACETED']._serialized_end=305
|
61
|
-
_globals['_ORDERBY']._serialized_start=308
|
62
|
-
_globals['_ORDERBY']._serialized_end=503
|
63
|
-
_globals['_ORDERBY_ORDERTYPE']._serialized_start=432
|
64
|
-
_globals['_ORDERBY_ORDERTYPE']._serialized_end=462
|
65
|
-
_globals['_ORDERBY_ORDERFIELD']._serialized_start=464
|
66
|
-
_globals['_ORDERBY_ORDERFIELD']._serialized_end=503
|
67
|
-
_globals['_FACETRESULT']._serialized_start=505
|
68
|
-
_globals['_FACETRESULT']._serialized_end=546
|
69
|
-
_globals['_FACETRESULTS']._serialized_start=548
|
70
|
-
_globals['_FACETRESULTS']._serialized_end=609
|
71
|
-
_globals['_RESULTSCORE']._serialized_start=611
|
72
|
-
_globals['_RESULTSCORE']._serialized_end=655
|
73
|
-
_globals['_DOCUMENTRESULT']._serialized_start=657
|
74
|
-
_globals['_DOCUMENTRESULT']._serialized_end=758
|
75
|
-
_globals['_DOCUMENTSEARCHRESPONSE']._serialized_start=761
|
76
|
-
_globals['_DOCUMENTSEARCHRESPONSE']._serialized_end=1076
|
77
|
-
_globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_start=1005
|
78
|
-
_globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_end=1076
|
79
|
-
_globals['_PARAGRAPHRESULT']._serialized_start=1079
|
80
|
-
_globals['_PARAGRAPHRESULT']._serialized_end=1327
|
81
|
-
_globals['_PARAGRAPHSEARCHRESPONSE']._serialized_start=1330
|
82
|
-
_globals['_PARAGRAPHSEARCHRESPONSE']._serialized_end=1690
|
83
|
-
_globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_start=1005
|
84
|
-
_globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_end=1076
|
85
|
-
_globals['_DOCUMENTVECTORIDENTIFIER']._serialized_start=1692
|
86
|
-
_globals['_DOCUMENTVECTORIDENTIFIER']._serialized_end=1730
|
87
|
-
_globals['_DOCUMENTSCORED']._serialized_start=1733
|
88
|
-
_globals['_DOCUMENTSCORED']._serialized_end=1885
|
89
|
-
_globals['_VECTORSEARCHRESPONSE']._serialized_start=1887
|
90
|
-
_globals['_VECTORSEARCHRESPONSE']._serialized_end=2002
|
91
|
-
_globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_start=2004
|
92
|
-
_globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_end=2070
|
93
|
-
_globals['_GRAPHQUERY']._serialized_start=2073
|
94
|
-
_globals['_GRAPHQUERY']._serialized_end=3489
|
95
|
-
_globals['_GRAPHQUERY_NODE']._serialized_start=2136
|
96
|
-
_globals['_GRAPHQUERY_NODE']._serialized_end=2764
|
97
|
-
_globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_start=2422
|
98
|
-
_globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_end=2491
|
99
|
-
_globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_start=2493
|
100
|
-
_globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_end=2580
|
101
|
-
_globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_start=2582
|
102
|
-
_globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_end=2637
|
103
|
-
_globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_start=2639
|
104
|
-
_globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_end=2705
|
105
|
-
_globals['_GRAPHQUERY_RELATION']._serialized_start=2766
|
106
|
-
_globals['_GRAPHQUERY_RELATION']._serialized_end=2882
|
107
|
-
_globals['_GRAPHQUERY_PATH']._serialized_start=2885
|
108
|
-
_globals['_GRAPHQUERY_PATH']._serialized_end=3112
|
109
|
-
_globals['_GRAPHQUERY_BOOLQUERY']._serialized_start=3114
|
110
|
-
_globals['_GRAPHQUERY_BOOLQUERY']._serialized_end=3177
|
111
|
-
_globals['_GRAPHQUERY_FACETFILTER']._serialized_start=3179
|
112
|
-
_globals['_GRAPHQUERY_FACETFILTER']._serialized_end=3207
|
113
|
-
_globals['_GRAPHQUERY_PATHQUERY']._serialized_start=3210
|
114
|
-
_globals['_GRAPHQUERY_PATHQUERY']._serialized_end=3489
|
115
|
-
_globals['_GRAPHSEARCHREQUEST']._serialized_start=3492
|
116
|
-
_globals['_GRAPHSEARCHREQUEST']._serialized_end=3813
|
117
|
-
_globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_start=3736
|
118
|
-
_globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_end=3783
|
119
|
-
_globals['_GRAPHSEARCHRESPONSE']._serialized_start=3816
|
120
|
-
_globals['_GRAPHSEARCHRESPONSE']._serialized_end=4262
|
121
|
-
_globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_start=3989
|
122
|
-
_globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_end=4067
|
123
|
-
_globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_start=4070
|
124
|
-
_globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_end=4262
|
125
|
-
_globals['_FILTEREXPRESSION']._serialized_start=4265
|
126
|
-
_globals['_FILTEREXPRESSION']._serialized_end=5283
|
127
|
-
_globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_start=4784
|
128
|
-
_globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_end=4854
|
129
|
-
_globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_start=4856
|
130
|
-
_globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_end=4893
|
131
|
-
_globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_start=4895
|
132
|
-
_globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_end=4964
|
133
|
-
_globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_start=4967
|
134
|
-
_globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_end=5211
|
135
|
-
_globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_start=5153
|
136
|
-
_globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_end=5191
|
137
|
-
_globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_start=5213
|
138
|
-
_globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_end=5245
|
139
|
-
_globals['_FILTEREXPRESSION_FACETFILTER']._serialized_start=3179
|
140
|
-
_globals['_FILTEREXPRESSION_FACETFILTER']._serialized_end=3207
|
141
|
-
_globals['_SEARCHREQUEST']._serialized_start=5286
|
142
|
-
_globals['_SEARCHREQUEST']._serialized_end=6058
|
143
|
-
_globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_start=5924
|
144
|
-
_globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_end=5976
|
145
|
-
_globals['_SUGGESTREQUEST']._serialized_start=6061
|
146
|
-
_globals['_SUGGESTREQUEST']._serialized_end=6362
|
147
|
-
_globals['_RELATEDENTITIES']._serialized_start=6364
|
148
|
-
_globals['_RELATEDENTITIES']._serialized_end=6414
|
149
|
-
_globals['_SUGGESTRESPONSE']._serialized_start=6417
|
150
|
-
_globals['_SUGGESTRESPONSE']._serialized_end=6594
|
151
|
-
_globals['_SEARCHRESPONSE']._serialized_start=6597
|
152
|
-
_globals['_SEARCHRESPONSE']._serialized_end=6827
|
153
|
-
_globals['_IDCOLLECTION']._serialized_start=6829
|
154
|
-
_globals['_IDCOLLECTION']._serialized_end=6856
|
155
|
-
_globals['_RELATIONEDGE']._serialized_start=6858
|
156
|
-
_globals['_RELATIONEDGE']._serialized_end=6939
|
157
|
-
_globals['_EDGELIST']._serialized_start=6941
|
158
|
-
_globals['_EDGELIST']._serialized_end=6991
|
159
|
-
_globals['_GETSHARDREQUEST']._serialized_start=6993
|
160
|
-
_globals['_GETSHARDREQUEST']._serialized_end=7071
|
161
|
-
_globals['_PARAGRAPHITEM']._serialized_start=7073
|
162
|
-
_globals['_PARAGRAPHITEM']._serialized_end=7116
|
163
|
-
_globals['_DOCUMENTITEM']._serialized_start=7118
|
164
|
-
_globals['_DOCUMENTITEM']._serialized_end=7177
|
165
|
-
_globals['_STREAMREQUEST']._serialized_start=7179
|
166
|
-
_globals['_STREAMREQUEST']._serialized_end=7278
|
167
|
-
_globals['_GETSHARDFILESREQUEST']._serialized_start=7280
|
168
|
-
_globals['_GETSHARDFILESREQUEST']._serialized_end=7320
|
169
|
-
_globals['_SHARDFILELIST']._serialized_start=7322
|
170
|
-
_globals['_SHARDFILELIST']._serialized_end=7375
|
171
|
-
_globals['_SHARDFILE']._serialized_start=7377
|
172
|
-
_globals['_SHARDFILE']._serialized_end=7425
|
173
|
-
_globals['_DOWNLOADSHARDFILEREQUEST']._serialized_start=7427
|
174
|
-
_globals['_DOWNLOADSHARDFILEREQUEST']._serialized_end=7494
|
175
|
-
_globals['_SHARDFILECHUNK']._serialized_start=7496
|
176
|
-
_globals['_SHARDFILECHUNK']._serialized_end=7541
|
177
|
-
_globals['_NODEREADER']._serialized_start=7628
|
178
|
-
_globals['_NODEREADER']._serialized_end=8491
|
179
|
-
# @@protoc_insertion_point(module_scope)
|