nucliadb-protos 6.3.4.post3780__py3-none-any.whl → 6.3.4.post3785__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.
Potentially problematic release.
This version of nucliadb-protos might be problematic. Click here for more details.
- nucliadb_protos/nodereader_pb2.py +76 -74
- nucliadb_protos/nodereader_pb2.pyi +20 -3
- {nucliadb_protos-6.3.4.post3780.dist-info → nucliadb_protos-6.3.4.post3785.dist-info}/METADATA +1 -1
- {nucliadb_protos-6.3.4.post3780.dist-info → nucliadb_protos-6.3.4.post3785.dist-info}/RECORD +6 -6
- {nucliadb_protos-6.3.4.post3780.dist-info → nucliadb_protos-6.3.4.post3785.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.3.4.post3780.dist-info → nucliadb_protos-6.3.4.post3785.dist-info}/top_level.txt +0 -0
|
@@ -23,7 +23,7 @@ from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
|
|
|
23
23
|
from nucliadb_protos.noderesources_pb2 import *
|
|
24
24
|
from nucliadb_protos.utils_pb2 import *
|
|
25
25
|
|
|
26
|
-
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\"q\n\x12RelationNodeFilter\x12/\n\tnode_type\x18\x01 \x01(\x0e\x32\x1c.utils.RelationNode.NodeType\x12\x19\n\x0cnode_subtype\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_node_subtype\"\x95\x01\n\x12RelationEdgeFilter\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x1d\n\x10relation_subtype\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0erelation_value\x18\x03 \x03(\tB\x13\n\x11_relation_subtype\"\x80\x01\n\x1bRelationPrefixSearchRequest\x12\x10\n\x06prefix\x18\x01 \x01(\tH\x00\x12\x0f\n\x05query\x18\x03 \x01(\tH\x00\x12\x34\n\x0cnode_filters\x18\x02 \x03(\x0b\x32\x1e.nodereader.RelationNodeFilterB\x08\n\x06search\"B\n\x1cRelationPrefixSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\"\x87\x02\n\x17\x45ntitiesSubgraphRequest\x12)\n\x0c\x65ntry_points\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\x12\x12\n\x05\x64\x65pth\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12M\n\x10\x64\x65leted_entities\x18\x04 \x03(\x0b\x32\x33.nodereader.EntitiesSubgraphRequest.DeletedEntities\x12\x16\n\x0e\x64\x65leted_groups\x18\x05 \x03(\t\x1a<\n\x0f\x44\x65letedEntities\x12\x14\n\x0cnode_subtype\x18\x01 \x01(\t\x12\x13\n\x0bnode_values\x18\x02 \x03(\tB\x08\n\x06_depth\"K\n\x18\x45ntitiesSubgraphResponse\x12/\n\trelations\x18\x02 \x03(\x0b\x32\x1c.noderesources.IndexRelation\"\xb3\x07\n\nGraphQuery\x12.\n\x04path\x18\x01 \x01(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\xf2\x01\n\x04Node\x12\x12\n\x05value\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x34\n\tnode_type\x18\x02 \x01(\x0e\x32\x1c.utils.RelationNode.NodeTypeH\x01\x88\x01\x01\x12\x19\n\x0cnode_subtype\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x39\n\nmatch_kind\x18\x04 \x01(\x0e\x32%.nodereader.GraphQuery.Node.MatchKind\"!\n\tMatchKind\x12\t\n\x05\x45XACT\x10\x00\x12\t\n\x05\x46UZZY\x10\x01\x42\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\xe2\x01\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\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\"\xe5\x02\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\x1ay\n\x08Relation\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\r\n\x05label\x18\x02 \x01(\t\x12)\n\x08metadata\x18\x03 \x01(\x0b\x32\x17.utils.RelationMetadata\x1a=\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\"\x99\x01\n\x15RelationSearchRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x37\n\x06prefix\x18\x0b \x01(\x0b\x32\'.nodereader.RelationPrefixSearchRequest\x12\x35\n\x08subgraph\x18\x0c \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequest\"\x8a\x01\n\x16RelationSearchResponse\x12\x38\n\x06prefix\x18\x0b \x01(\x0b\x32(.nodereader.RelationPrefixSearchResponse\x12\x36\n\x08subgraph\x18\x0c \x01(\x0b\x32$.nodereader.EntitiesSubgraphResponse\"\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\"\x87\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@\n\x0frelation_prefix\x18\x14 \x01(\x0b\x32\'.nodereader.RelationPrefixSearchRequest\x12>\n\x11relation_subgraph\x18\x15 \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequest\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.FilterOperatorB\x11\n\x0f_advanced_queryB\x0b\n\t_securityB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filter\"\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\x34\n\x08relation\x18\x04 \x01(\x0b\x32\".nodereader.RelationSearchResponse\"\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')
|
|
26
|
+
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\"q\n\x12RelationNodeFilter\x12/\n\tnode_type\x18\x01 \x01(\x0e\x32\x1c.utils.RelationNode.NodeType\x12\x19\n\x0cnode_subtype\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_node_subtype\"\x95\x01\n\x12RelationEdgeFilter\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x1d\n\x10relation_subtype\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0erelation_value\x18\x03 \x03(\tB\x13\n\x11_relation_subtype\"\x80\x01\n\x1bRelationPrefixSearchRequest\x12\x10\n\x06prefix\x18\x01 \x01(\tH\x00\x12\x0f\n\x05query\x18\x03 \x01(\tH\x00\x12\x34\n\x0cnode_filters\x18\x02 \x03(\x0b\x32\x1e.nodereader.RelationNodeFilterB\x08\n\x06search\"B\n\x1cRelationPrefixSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\"\x87\x02\n\x17\x45ntitiesSubgraphRequest\x12)\n\x0c\x65ntry_points\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\x12\x12\n\x05\x64\x65pth\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12M\n\x10\x64\x65leted_entities\x18\x04 \x03(\x0b\x32\x33.nodereader.EntitiesSubgraphRequest.DeletedEntities\x12\x16\n\x0e\x64\x65leted_groups\x18\x05 \x03(\t\x1a<\n\x0f\x44\x65letedEntities\x12\x14\n\x0cnode_subtype\x18\x01 \x01(\t\x12\x13\n\x0bnode_values\x18\x02 \x03(\tB\x08\n\x06_depth\"K\n\x18\x45ntitiesSubgraphResponse\x12/\n\trelations\x18\x02 \x03(\x0b\x32\x1c.noderesources.IndexRelation\"\x86\x08\n\nGraphQuery\x12.\n\x04path\x18\x01 \x01(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\xf2\x01\n\x04Node\x12\x12\n\x05value\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x34\n\tnode_type\x18\x02 \x01(\x0e\x32\x1c.utils.RelationNode.NodeTypeH\x01\x88\x01\x01\x12\x19\n\x0cnode_subtype\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x39\n\nmatch_kind\x18\x04 \x01(\x0e\x32%.nodereader.GraphQuery.Node.MatchKind\"!\n\tMatchKind\x12\t\n\x05\x45XACT\x10\x00\x12\t\n\x05\x46UZZY\x10\x01\x42\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\"\xe5\x02\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\x1ay\n\x08Relation\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\r\n\x05label\x18\x02 \x01(\t\x12)\n\x08metadata\x18\x03 \x01(\x0b\x32\x17.utils.RelationMetadata\x1a=\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\"\x99\x01\n\x15RelationSearchRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x37\n\x06prefix\x18\x0b \x01(\x0b\x32\'.nodereader.RelationPrefixSearchRequest\x12\x35\n\x08subgraph\x18\x0c \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequest\"\x8a\x01\n\x16RelationSearchResponse\x12\x38\n\x06prefix\x18\x0b \x01(\x0b\x32(.nodereader.RelationPrefixSearchResponse\x12\x36\n\x08subgraph\x18\x0c \x01(\x0b\x32$.nodereader.EntitiesSubgraphResponse\"\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\"\x87\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@\n\x0frelation_prefix\x18\x14 \x01(\x0b\x32\'.nodereader.RelationPrefixSearchRequest\x12>\n\x11relation_subgraph\x18\x15 \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequest\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.FilterOperatorB\x11\n\x0f_advanced_queryB\x0b\n\t_securityB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filter\"\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\x34\n\x08relation\x18\x04 \x01(\x0b\x32\".nodereader.RelationSearchResponse\"\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')
|
|
27
27
|
|
|
28
28
|
_globals = globals()
|
|
29
29
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,10 +36,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
36
36
|
_globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
|
|
37
37
|
_globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._options = None
|
|
38
38
|
_globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
|
|
39
|
-
_globals['_FILTEROPERATOR']._serialized_start=
|
|
40
|
-
_globals['_FILTEROPERATOR']._serialized_end=
|
|
41
|
-
_globals['_SUGGESTFEATURES']._serialized_start=
|
|
42
|
-
_globals['_SUGGESTFEATURES']._serialized_end=
|
|
39
|
+
_globals['_FILTEROPERATOR']._serialized_start=8109
|
|
40
|
+
_globals['_FILTEROPERATOR']._serialized_end=8142
|
|
41
|
+
_globals['_SUGGESTFEATURES']._serialized_start=8144
|
|
42
|
+
_globals['_SUGGESTFEATURES']._serialized_end=8191
|
|
43
43
|
_globals['_STREAMFILTER']._serialized_start=148
|
|
44
44
|
_globals['_STREAMFILTER']._serialized_end=278
|
|
45
45
|
_globals['_STREAMFILTER_CONJUNCTION']._serialized_start=239
|
|
@@ -91,7 +91,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
91
91
|
_globals['_ENTITIESSUBGRAPHRESPONSE']._serialized_start=2736
|
|
92
92
|
_globals['_ENTITIESSUBGRAPHRESPONSE']._serialized_end=2811
|
|
93
93
|
_globals['_GRAPHQUERY']._serialized_start=2814
|
|
94
|
-
_globals['_GRAPHQUERY']._serialized_end=
|
|
94
|
+
_globals['_GRAPHQUERY']._serialized_end=3844
|
|
95
95
|
_globals['_GRAPHQUERY_NODE']._serialized_start=2877
|
|
96
96
|
_globals['_GRAPHQUERY_NODE']._serialized_end=3119
|
|
97
97
|
_globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_start=3045
|
|
@@ -102,72 +102,74 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
102
102
|
_globals['_GRAPHQUERY_PATH']._serialized_end=3467
|
|
103
103
|
_globals['_GRAPHQUERY_BOOLQUERY']._serialized_start=3469
|
|
104
104
|
_globals['_GRAPHQUERY_BOOLQUERY']._serialized_end=3532
|
|
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['
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
120
|
-
_globals['
|
|
121
|
-
_globals['
|
|
122
|
-
_globals['
|
|
123
|
-
_globals['
|
|
124
|
-
_globals['
|
|
125
|
-
_globals['
|
|
126
|
-
_globals['
|
|
127
|
-
_globals['
|
|
128
|
-
_globals['
|
|
129
|
-
_globals['
|
|
130
|
-
_globals['
|
|
131
|
-
_globals['
|
|
132
|
-
_globals['
|
|
133
|
-
_globals['
|
|
134
|
-
_globals['
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
138
|
-
_globals['
|
|
139
|
-
_globals['
|
|
140
|
-
_globals['
|
|
141
|
-
_globals['
|
|
142
|
-
_globals['
|
|
143
|
-
_globals['
|
|
144
|
-
_globals['
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
148
|
-
_globals['
|
|
149
|
-
_globals['
|
|
150
|
-
_globals['
|
|
151
|
-
_globals['
|
|
152
|
-
_globals['
|
|
153
|
-
_globals['
|
|
154
|
-
_globals['
|
|
155
|
-
_globals['
|
|
156
|
-
_globals['
|
|
157
|
-
_globals['
|
|
158
|
-
_globals['
|
|
159
|
-
_globals['
|
|
160
|
-
_globals['
|
|
161
|
-
_globals['
|
|
162
|
-
_globals['
|
|
163
|
-
_globals['
|
|
164
|
-
_globals['
|
|
165
|
-
_globals['
|
|
166
|
-
_globals['
|
|
167
|
-
_globals['
|
|
168
|
-
_globals['
|
|
169
|
-
_globals['
|
|
170
|
-
_globals['
|
|
171
|
-
_globals['
|
|
172
|
-
_globals['
|
|
105
|
+
_globals['_GRAPHQUERY_FACETFILTER']._serialized_start=3534
|
|
106
|
+
_globals['_GRAPHQUERY_FACETFILTER']._serialized_end=3562
|
|
107
|
+
_globals['_GRAPHQUERY_PATHQUERY']._serialized_start=3565
|
|
108
|
+
_globals['_GRAPHQUERY_PATHQUERY']._serialized_end=3844
|
|
109
|
+
_globals['_GRAPHSEARCHREQUEST']._serialized_start=3847
|
|
110
|
+
_globals['_GRAPHSEARCHREQUEST']._serialized_end=4168
|
|
111
|
+
_globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_start=4091
|
|
112
|
+
_globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_end=4138
|
|
113
|
+
_globals['_GRAPHSEARCHRESPONSE']._serialized_start=4171
|
|
114
|
+
_globals['_GRAPHSEARCHRESPONSE']._serialized_end=4528
|
|
115
|
+
_globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_start=4344
|
|
116
|
+
_globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_end=4465
|
|
117
|
+
_globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_start=4467
|
|
118
|
+
_globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_end=4528
|
|
119
|
+
_globals['_RELATIONSEARCHREQUEST']._serialized_start=4531
|
|
120
|
+
_globals['_RELATIONSEARCHREQUEST']._serialized_end=4684
|
|
121
|
+
_globals['_RELATIONSEARCHRESPONSE']._serialized_start=4687
|
|
122
|
+
_globals['_RELATIONSEARCHRESPONSE']._serialized_end=4825
|
|
123
|
+
_globals['_FILTEREXPRESSION']._serialized_start=4828
|
|
124
|
+
_globals['_FILTEREXPRESSION']._serialized_end=5846
|
|
125
|
+
_globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_start=5347
|
|
126
|
+
_globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_end=5417
|
|
127
|
+
_globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_start=5419
|
|
128
|
+
_globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_end=5456
|
|
129
|
+
_globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_start=5458
|
|
130
|
+
_globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_end=5527
|
|
131
|
+
_globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_start=5530
|
|
132
|
+
_globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_end=5774
|
|
133
|
+
_globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_start=5716
|
|
134
|
+
_globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_end=5754
|
|
135
|
+
_globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_start=5776
|
|
136
|
+
_globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_end=5808
|
|
137
|
+
_globals['_FILTEREXPRESSION_FACETFILTER']._serialized_start=3534
|
|
138
|
+
_globals['_FILTEREXPRESSION_FACETFILTER']._serialized_end=3562
|
|
139
|
+
_globals['_SEARCHREQUEST']._serialized_start=5849
|
|
140
|
+
_globals['_SEARCHREQUEST']._serialized_end=6624
|
|
141
|
+
_globals['_SUGGESTREQUEST']._serialized_start=6627
|
|
142
|
+
_globals['_SUGGESTREQUEST']._serialized_end=6928
|
|
143
|
+
_globals['_RELATEDENTITIES']._serialized_start=6930
|
|
144
|
+
_globals['_RELATEDENTITIES']._serialized_end=6980
|
|
145
|
+
_globals['_SUGGESTRESPONSE']._serialized_start=6983
|
|
146
|
+
_globals['_SUGGESTRESPONSE']._serialized_end=7160
|
|
147
|
+
_globals['_SEARCHRESPONSE']._serialized_start=7163
|
|
148
|
+
_globals['_SEARCHRESPONSE']._serialized_end=7393
|
|
149
|
+
_globals['_IDCOLLECTION']._serialized_start=7395
|
|
150
|
+
_globals['_IDCOLLECTION']._serialized_end=7422
|
|
151
|
+
_globals['_RELATIONEDGE']._serialized_start=7424
|
|
152
|
+
_globals['_RELATIONEDGE']._serialized_end=7505
|
|
153
|
+
_globals['_EDGELIST']._serialized_start=7507
|
|
154
|
+
_globals['_EDGELIST']._serialized_end=7557
|
|
155
|
+
_globals['_GETSHARDREQUEST']._serialized_start=7559
|
|
156
|
+
_globals['_GETSHARDREQUEST']._serialized_end=7637
|
|
157
|
+
_globals['_PARAGRAPHITEM']._serialized_start=7639
|
|
158
|
+
_globals['_PARAGRAPHITEM']._serialized_end=7682
|
|
159
|
+
_globals['_DOCUMENTITEM']._serialized_start=7684
|
|
160
|
+
_globals['_DOCUMENTITEM']._serialized_end=7743
|
|
161
|
+
_globals['_STREAMREQUEST']._serialized_start=7745
|
|
162
|
+
_globals['_STREAMREQUEST']._serialized_end=7844
|
|
163
|
+
_globals['_GETSHARDFILESREQUEST']._serialized_start=7846
|
|
164
|
+
_globals['_GETSHARDFILESREQUEST']._serialized_end=7886
|
|
165
|
+
_globals['_SHARDFILELIST']._serialized_start=7888
|
|
166
|
+
_globals['_SHARDFILELIST']._serialized_end=7941
|
|
167
|
+
_globals['_SHARDFILE']._serialized_start=7943
|
|
168
|
+
_globals['_SHARDFILE']._serialized_end=7991
|
|
169
|
+
_globals['_DOWNLOADSHARDFILEREQUEST']._serialized_start=7993
|
|
170
|
+
_globals['_DOWNLOADSHARDFILEREQUEST']._serialized_end=8060
|
|
171
|
+
_globals['_SHARDFILECHUNK']._serialized_start=8062
|
|
172
|
+
_globals['_SHARDFILECHUNK']._serialized_end=8107
|
|
173
|
+
_globals['_NODEREADER']._serialized_start=8194
|
|
174
|
+
_globals['_NODEREADER']._serialized_end=9057
|
|
173
175
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -790,6 +790,19 @@ class GraphQuery(google.protobuf.message.Message):
|
|
|
790
790
|
) -> None: ...
|
|
791
791
|
def ClearField(self, field_name: typing.Literal["operands", b"operands"]) -> None: ...
|
|
792
792
|
|
|
793
|
+
@typing.final
|
|
794
|
+
class FacetFilter(google.protobuf.message.Message):
|
|
795
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
796
|
+
|
|
797
|
+
FACET_FIELD_NUMBER: builtins.int
|
|
798
|
+
facet: builtins.str
|
|
799
|
+
def __init__(
|
|
800
|
+
self,
|
|
801
|
+
*,
|
|
802
|
+
facet: builtins.str = ...,
|
|
803
|
+
) -> None: ...
|
|
804
|
+
def ClearField(self, field_name: typing.Literal["facet", b"facet"]) -> None: ...
|
|
805
|
+
|
|
793
806
|
@typing.final
|
|
794
807
|
class PathQuery(google.protobuf.message.Message):
|
|
795
808
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -798,6 +811,7 @@ class GraphQuery(google.protobuf.message.Message):
|
|
|
798
811
|
BOOL_NOT_FIELD_NUMBER: builtins.int
|
|
799
812
|
BOOL_AND_FIELD_NUMBER: builtins.int
|
|
800
813
|
BOOL_OR_FIELD_NUMBER: builtins.int
|
|
814
|
+
FACET_FIELD_NUMBER: builtins.int
|
|
801
815
|
@property
|
|
802
816
|
def path(self) -> global___GraphQuery.Path: ...
|
|
803
817
|
@property
|
|
@@ -806,6 +820,8 @@ class GraphQuery(google.protobuf.message.Message):
|
|
|
806
820
|
def bool_and(self) -> global___GraphQuery.BoolQuery: ...
|
|
807
821
|
@property
|
|
808
822
|
def bool_or(self) -> global___GraphQuery.BoolQuery: ...
|
|
823
|
+
@property
|
|
824
|
+
def facet(self) -> global___GraphQuery.FacetFilter: ...
|
|
809
825
|
def __init__(
|
|
810
826
|
self,
|
|
811
827
|
*,
|
|
@@ -813,10 +829,11 @@ class GraphQuery(google.protobuf.message.Message):
|
|
|
813
829
|
bool_not: global___GraphQuery.PathQuery | None = ...,
|
|
814
830
|
bool_and: global___GraphQuery.BoolQuery | None = ...,
|
|
815
831
|
bool_or: global___GraphQuery.BoolQuery | None = ...,
|
|
832
|
+
facet: global___GraphQuery.FacetFilter | None = ...,
|
|
816
833
|
) -> None: ...
|
|
817
|
-
def HasField(self, field_name: typing.Literal["bool_and", b"bool_and", "bool_not", b"bool_not", "bool_or", b"bool_or", "path", b"path", "query", b"query"]) -> builtins.bool: ...
|
|
818
|
-
def ClearField(self, field_name: typing.Literal["bool_and", b"bool_and", "bool_not", b"bool_not", "bool_or", b"bool_or", "path", b"path", "query", b"query"]) -> None: ...
|
|
819
|
-
def WhichOneof(self, oneof_group: typing.Literal["query", b"query"]) -> typing.Literal["path", "bool_not", "bool_and", "bool_or"] | None: ...
|
|
834
|
+
def HasField(self, field_name: typing.Literal["bool_and", b"bool_and", "bool_not", b"bool_not", "bool_or", b"bool_or", "facet", b"facet", "path", b"path", "query", b"query"]) -> builtins.bool: ...
|
|
835
|
+
def ClearField(self, field_name: typing.Literal["bool_and", b"bool_and", "bool_not", b"bool_not", "bool_or", b"bool_or", "facet", b"facet", "path", b"path", "query", b"query"]) -> None: ...
|
|
836
|
+
def WhichOneof(self, oneof_group: typing.Literal["query", b"query"]) -> typing.Literal["path", "bool_not", "bool_and", "bool_or", "facet"] | None: ...
|
|
820
837
|
|
|
821
838
|
PATH_FIELD_NUMBER: builtins.int
|
|
822
839
|
@property
|
{nucliadb_protos-6.3.4.post3780.dist-info → nucliadb_protos-6.3.4.post3785.dist-info}/RECORD
RENAMED
|
@@ -13,8 +13,8 @@ nucliadb_protos/knowledgebox_pb2.py,sha256=POe5_FswhpoCOR1l2AB4IZeYXKCaCiKExa8vK
|
|
|
13
13
|
nucliadb_protos/knowledgebox_pb2.pyi,sha256=ddrV26ZGwvKWey2wU3r69cnT5hb9IKe0ZVCFIn-deiI,39708
|
|
14
14
|
nucliadb_protos/migrations_pb2.py,sha256=tbrT2r8VNKv4emtH31KTTtFj9yMJ8N3V6GemowvbG0o,1152
|
|
15
15
|
nucliadb_protos/migrations_pb2.pyi,sha256=K1doWaVBMDlpF1pHBdZd97AZKBKynJz6C7uHDYhaJs4,844
|
|
16
|
-
nucliadb_protos/nodereader_pb2.py,sha256=
|
|
17
|
-
nucliadb_protos/nodereader_pb2.pyi,sha256=
|
|
16
|
+
nucliadb_protos/nodereader_pb2.py,sha256=86ZCUQuL7yHgNE8e9QDamihWNZwtXkC2mnjX5ATLkUk,24965
|
|
17
|
+
nucliadb_protos/nodereader_pb2.pyi,sha256=9pl0vKjoWd_AeNwgL_X1Ana4GgApBmPwSxjpBv-TmxI,70584
|
|
18
18
|
nucliadb_protos/nodereader_pb2_grpc.py,sha256=T67PSk2UBEK1h0LRCHrEIlydxB6xpY0paUBfUL5gS6U,20681
|
|
19
19
|
nucliadb_protos/nodereader_pb2_grpc.pyi,sha256=Z2ID_s0lPLy4rIT4_D8jDvPoHD7tS7gPdTqfGp4oneQ,10245
|
|
20
20
|
nucliadb_protos/noderesources_pb2.py,sha256=txZ-ZJDMnZ0b-OG-HTTUqTUmQBYLThAHYkdvBDRCvig,16301
|
|
@@ -44,7 +44,7 @@ nucliadb_protos/writer_pb2.py,sha256=ZP_i-N0qB-yJmp61T4D3iXKBCyACgWphSyOXeaWhW_o
|
|
|
44
44
|
nucliadb_protos/writer_pb2.pyi,sha256=w0HaqAlc5tiUvDZnRoPg-PsUX5w2cL8GLfi-WG-nV6c,76416
|
|
45
45
|
nucliadb_protos/writer_pb2_grpc.py,sha256=UOXVeYfuqQp8zX_haSK3EjyZcu0J_JNBmMw6uvIo7JI,31184
|
|
46
46
|
nucliadb_protos/writer_pb2_grpc.pyi,sha256=TE-gUe3I6CBYo7M0R64sIhhHJe9cD7OfutdpvPEk3lw,19073
|
|
47
|
-
nucliadb_protos-6.3.4.
|
|
48
|
-
nucliadb_protos-6.3.4.
|
|
49
|
-
nucliadb_protos-6.3.4.
|
|
50
|
-
nucliadb_protos-6.3.4.
|
|
47
|
+
nucliadb_protos-6.3.4.post3785.dist-info/METADATA,sha256=JT_4txEwJs5NpPRFNW1P-tQ_GYNU0h89-zQhzLOiFOg,824
|
|
48
|
+
nucliadb_protos-6.3.4.post3785.dist-info/WHEEL,sha256=DK49LOLCYiurdXXOXwGJm6U4DkHkg4lcxjhqwRa0CP4,91
|
|
49
|
+
nucliadb_protos-6.3.4.post3785.dist-info/top_level.txt,sha256=wRP-apvCCaxGnNKXTnYx6tpAPggTof4SZQyoI1b-sjU,16
|
|
50
|
+
nucliadb_protos-6.3.4.post3785.dist-info/RECORD,,
|
|
File without changes
|
{nucliadb_protos-6.3.4.post3780.dist-info → nucliadb_protos-6.3.4.post3785.dist-info}/top_level.txt
RENAMED
|
File without changes
|