nucliadb-protos 6.3.5.post4021__py3-none-any.whl → 6.3.5.post4026__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.
- nucliadb_protos/nodereader_pb2.py +66 -62
- nucliadb_protos/nodereader_pb2.pyi +48 -10
- {nucliadb_protos-6.3.5.post4021.dist-info → nucliadb_protos-6.3.5.post4026.dist-info}/METADATA +1 -1
- {nucliadb_protos-6.3.5.post4021.dist-info → nucliadb_protos-6.3.5.post4026.dist-info}/RECORD +6 -6
- {nucliadb_protos-6.3.5.post4021.dist-info → nucliadb_protos-6.3.5.post4026.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.3.5.post4021.dist-info → nucliadb_protos-6.3.5.post4026.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\"\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\"\xf7\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\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\x1az\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\x42\x0b\n\t_metadata\"f\n\x15RelationSearchRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x35\n\x08subgraph\x18\x0c \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequestJ\x04\x08\x0b\x10\x0c\"\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\"\xcb\x05\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\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_filterJ\x04\x08\x14\x10\x15\"\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\"\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\"f\n\x15RelationSearchRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x35\n\x08subgraph\x18\x0c \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequestJ\x04\x08\x0b\x10\x0c\"\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\"\xc2\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\x42\n\x11relation_subgraph\x18\x15 \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequestB\x02\x18\x01\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\x15\"\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\"\x96\x02\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\x12.\n\x05graph\x18\x05 \x01(\x0b\x32\x1f.nodereader.GraphSearchResponse\"\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)
|
@@ -38,10 +38,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
38
38
|
_globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
|
39
39
|
_globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._options = None
|
40
40
|
_globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._serialized_options = b'\030\001'
|
41
|
-
_globals['
|
42
|
-
_globals['
|
43
|
-
_globals['
|
44
|
-
_globals['
|
41
|
+
_globals['_SEARCHREQUEST'].fields_by_name['relation_subgraph']._options = None
|
42
|
+
_globals['_SEARCHREQUEST'].fields_by_name['relation_subgraph']._serialized_options = b'\030\001'
|
43
|
+
_globals['_FILTEROPERATOR']._serialized_start=8639
|
44
|
+
_globals['_FILTEROPERATOR']._serialized_end=8672
|
45
|
+
_globals['_SUGGESTFEATURES']._serialized_start=8674
|
46
|
+
_globals['_SUGGESTFEATURES']._serialized_end=8721
|
45
47
|
_globals['_STREAMFILTER']._serialized_start=148
|
46
48
|
_globals['_STREAMFILTER']._serialized_end=278
|
47
49
|
_globals['_STREAMFILTER_CONJUNCTION']._serialized_start=239
|
@@ -119,65 +121,67 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
119
121
|
_globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_start=4477
|
120
122
|
_globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_end=4524
|
121
123
|
_globals['_GRAPHSEARCHRESPONSE']._serialized_start=4557
|
122
|
-
_globals['_GRAPHSEARCHRESPONSE']._serialized_end=
|
124
|
+
_globals['_GRAPHSEARCHRESPONSE']._serialized_end=5003
|
123
125
|
_globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_start=4730
|
124
126
|
_globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_end=4808
|
125
|
-
_globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_start=
|
126
|
-
_globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_end=
|
127
|
-
_globals['_RELATIONSEARCHREQUEST']._serialized_start=
|
128
|
-
_globals['_RELATIONSEARCHREQUEST']._serialized_end=
|
129
|
-
_globals['_RELATIONSEARCHRESPONSE']._serialized_start=
|
130
|
-
_globals['_RELATIONSEARCHRESPONSE']._serialized_end=
|
131
|
-
_globals['_FILTEREXPRESSION']._serialized_start=
|
132
|
-
_globals['_FILTEREXPRESSION']._serialized_end=
|
133
|
-
_globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_start=
|
134
|
-
_globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_end=
|
135
|
-
_globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_start=
|
136
|
-
_globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_end=
|
137
|
-
_globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_start=
|
138
|
-
_globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_end=
|
139
|
-
_globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_start=
|
140
|
-
_globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_end=
|
141
|
-
_globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_start=
|
142
|
-
_globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_end=
|
143
|
-
_globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_start=
|
144
|
-
_globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_end=
|
127
|
+
_globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_start=4811
|
128
|
+
_globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_end=5003
|
129
|
+
_globals['_RELATIONSEARCHREQUEST']._serialized_start=5005
|
130
|
+
_globals['_RELATIONSEARCHREQUEST']._serialized_end=5107
|
131
|
+
_globals['_RELATIONSEARCHRESPONSE']._serialized_start=5110
|
132
|
+
_globals['_RELATIONSEARCHRESPONSE']._serialized_end=5248
|
133
|
+
_globals['_FILTEREXPRESSION']._serialized_start=5251
|
134
|
+
_globals['_FILTEREXPRESSION']._serialized_end=6269
|
135
|
+
_globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_start=5770
|
136
|
+
_globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_end=5840
|
137
|
+
_globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_start=5842
|
138
|
+
_globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_end=5879
|
139
|
+
_globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_start=5881
|
140
|
+
_globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_end=5950
|
141
|
+
_globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_start=5953
|
142
|
+
_globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_end=6197
|
143
|
+
_globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_start=6139
|
144
|
+
_globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_end=6177
|
145
|
+
_globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_start=6199
|
146
|
+
_globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_end=6231
|
145
147
|
_globals['_FILTEREXPRESSION_FACETFILTER']._serialized_start=3920
|
146
148
|
_globals['_FILTEREXPRESSION_FACETFILTER']._serialized_end=3948
|
147
|
-
_globals['_SEARCHREQUEST']._serialized_start=
|
148
|
-
_globals['_SEARCHREQUEST']._serialized_end=
|
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['
|
173
|
-
_globals['
|
174
|
-
_globals['
|
175
|
-
_globals['
|
176
|
-
_globals['
|
177
|
-
_globals['
|
178
|
-
_globals['
|
179
|
-
_globals['
|
180
|
-
_globals['
|
181
|
-
_globals['
|
182
|
-
_globals['
|
149
|
+
_globals['_SEARCHREQUEST']._serialized_start=6272
|
150
|
+
_globals['_SEARCHREQUEST']._serialized_end=7106
|
151
|
+
_globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_start=6978
|
152
|
+
_globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_end=7030
|
153
|
+
_globals['_SUGGESTREQUEST']._serialized_start=7109
|
154
|
+
_globals['_SUGGESTREQUEST']._serialized_end=7410
|
155
|
+
_globals['_RELATEDENTITIES']._serialized_start=7412
|
156
|
+
_globals['_RELATEDENTITIES']._serialized_end=7462
|
157
|
+
_globals['_SUGGESTRESPONSE']._serialized_start=7465
|
158
|
+
_globals['_SUGGESTRESPONSE']._serialized_end=7642
|
159
|
+
_globals['_SEARCHRESPONSE']._serialized_start=7645
|
160
|
+
_globals['_SEARCHRESPONSE']._serialized_end=7923
|
161
|
+
_globals['_IDCOLLECTION']._serialized_start=7925
|
162
|
+
_globals['_IDCOLLECTION']._serialized_end=7952
|
163
|
+
_globals['_RELATIONEDGE']._serialized_start=7954
|
164
|
+
_globals['_RELATIONEDGE']._serialized_end=8035
|
165
|
+
_globals['_EDGELIST']._serialized_start=8037
|
166
|
+
_globals['_EDGELIST']._serialized_end=8087
|
167
|
+
_globals['_GETSHARDREQUEST']._serialized_start=8089
|
168
|
+
_globals['_GETSHARDREQUEST']._serialized_end=8167
|
169
|
+
_globals['_PARAGRAPHITEM']._serialized_start=8169
|
170
|
+
_globals['_PARAGRAPHITEM']._serialized_end=8212
|
171
|
+
_globals['_DOCUMENTITEM']._serialized_start=8214
|
172
|
+
_globals['_DOCUMENTITEM']._serialized_end=8273
|
173
|
+
_globals['_STREAMREQUEST']._serialized_start=8275
|
174
|
+
_globals['_STREAMREQUEST']._serialized_end=8374
|
175
|
+
_globals['_GETSHARDFILESREQUEST']._serialized_start=8376
|
176
|
+
_globals['_GETSHARDFILESREQUEST']._serialized_end=8416
|
177
|
+
_globals['_SHARDFILELIST']._serialized_start=8418
|
178
|
+
_globals['_SHARDFILELIST']._serialized_end=8471
|
179
|
+
_globals['_SHARDFILE']._serialized_start=8473
|
180
|
+
_globals['_SHARDFILE']._serialized_end=8521
|
181
|
+
_globals['_DOWNLOADSHARDFILEREQUEST']._serialized_start=8523
|
182
|
+
_globals['_DOWNLOADSHARDFILEREQUEST']._serialized_end=8590
|
183
|
+
_globals['_SHARDFILECHUNK']._serialized_start=8592
|
184
|
+
_globals['_SHARDFILECHUNK']._serialized_end=8637
|
185
|
+
_globals['_NODEREADER']._serialized_start=8724
|
186
|
+
_globals['_NODEREADER']._serialized_end=9587
|
183
187
|
# @@protoc_insertion_point(module_scope)
|
@@ -1006,11 +1006,16 @@ class GraphSearchResponse(google.protobuf.message.Message):
|
|
1006
1006
|
RELATION_FIELD_NUMBER: builtins.int
|
1007
1007
|
DESTINATION_FIELD_NUMBER: builtins.int
|
1008
1008
|
METADATA_FIELD_NUMBER: builtins.int
|
1009
|
+
RESOURCE_FIELD_ID_FIELD_NUMBER: builtins.int
|
1010
|
+
FACETS_FIELD_NUMBER: builtins.int
|
1009
1011
|
source: builtins.int
|
1010
1012
|
relation: builtins.int
|
1011
1013
|
destination: builtins.int
|
1014
|
+
resource_field_id: builtins.str
|
1012
1015
|
@property
|
1013
1016
|
def metadata(self) -> nucliadb_protos.utils_pb2.RelationMetadata: ...
|
1017
|
+
@property
|
1018
|
+
def facets(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
1014
1019
|
def __init__(
|
1015
1020
|
self,
|
1016
1021
|
*,
|
@@ -1018,10 +1023,15 @@ class GraphSearchResponse(google.protobuf.message.Message):
|
|
1018
1023
|
relation: builtins.int = ...,
|
1019
1024
|
destination: builtins.int = ...,
|
1020
1025
|
metadata: nucliadb_protos.utils_pb2.RelationMetadata | None = ...,
|
1026
|
+
resource_field_id: builtins.str | None = ...,
|
1027
|
+
facets: collections.abc.Iterable[builtins.str] | None = ...,
|
1021
1028
|
) -> None: ...
|
1022
|
-
def HasField(self, field_name: typing.Literal["_metadata", b"_metadata", "metadata", b"metadata"]) -> builtins.bool: ...
|
1023
|
-
def ClearField(self, field_name: typing.Literal["_metadata", b"_metadata", "destination", b"destination", "metadata", b"metadata", "relation", b"relation", "source", b"source"]) -> None: ...
|
1029
|
+
def HasField(self, field_name: typing.Literal["_metadata", b"_metadata", "_resource_field_id", b"_resource_field_id", "metadata", b"metadata", "resource_field_id", b"resource_field_id"]) -> builtins.bool: ...
|
1030
|
+
def ClearField(self, field_name: typing.Literal["_metadata", b"_metadata", "_resource_field_id", b"_resource_field_id", "destination", b"destination", "facets", b"facets", "metadata", b"metadata", "relation", b"relation", "resource_field_id", b"resource_field_id", "source", b"source"]) -> None: ...
|
1031
|
+
@typing.overload
|
1024
1032
|
def WhichOneof(self, oneof_group: typing.Literal["_metadata", b"_metadata"]) -> typing.Literal["metadata"] | None: ...
|
1033
|
+
@typing.overload
|
1034
|
+
def WhichOneof(self, oneof_group: typing.Literal["_resource_field_id", b"_resource_field_id"]) -> typing.Literal["resource_field_id"] | None: ...
|
1025
1035
|
|
1026
1036
|
NODES_FIELD_NUMBER: builtins.int
|
1027
1037
|
RELATIONS_FIELD_NUMBER: builtins.int
|
@@ -1252,6 +1262,26 @@ global___FilterExpression = FilterExpression
|
|
1252
1262
|
class SearchRequest(google.protobuf.message.Message):
|
1253
1263
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
1254
1264
|
|
1265
|
+
@typing.final
|
1266
|
+
class GraphSearch(google.protobuf.message.Message):
|
1267
|
+
"""Reduced graph search for specific use case of text block search. It only
|
1268
|
+
supports path search (as it's the only one that can return paragraph_ids)
|
1269
|
+
and filters are inherited from the main request
|
1270
|
+
"""
|
1271
|
+
|
1272
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
1273
|
+
|
1274
|
+
QUERY_FIELD_NUMBER: builtins.int
|
1275
|
+
@property
|
1276
|
+
def query(self) -> global___GraphQuery: ...
|
1277
|
+
def __init__(
|
1278
|
+
self,
|
1279
|
+
*,
|
1280
|
+
query: global___GraphQuery | None = ...,
|
1281
|
+
) -> None: ...
|
1282
|
+
def HasField(self, field_name: typing.Literal["query", b"query"]) -> builtins.bool: ...
|
1283
|
+
def ClearField(self, field_name: typing.Literal["query", b"query"]) -> None: ...
|
1284
|
+
|
1255
1285
|
SHARD_FIELD_NUMBER: builtins.int
|
1256
1286
|
BODY_FIELD_NUMBER: builtins.int
|
1257
1287
|
ORDER_FIELD_NUMBER: builtins.int
|
@@ -1265,13 +1295,14 @@ class SearchRequest(google.protobuf.message.Message):
|
|
1265
1295
|
WITH_DUPLICATES_FIELD_NUMBER: builtins.int
|
1266
1296
|
ONLY_FACETED_FIELD_NUMBER: builtins.int
|
1267
1297
|
ADVANCED_QUERY_FIELD_NUMBER: builtins.int
|
1268
|
-
RELATION_SUBGRAPH_FIELD_NUMBER: builtins.int
|
1269
1298
|
MIN_SCORE_SEMANTIC_FIELD_NUMBER: builtins.int
|
1270
1299
|
MIN_SCORE_BM25_FIELD_NUMBER: builtins.int
|
1271
1300
|
SECURITY_FIELD_NUMBER: builtins.int
|
1272
1301
|
FIELD_FILTER_FIELD_NUMBER: builtins.int
|
1273
1302
|
PARAGRAPH_FILTER_FIELD_NUMBER: builtins.int
|
1274
1303
|
FILTER_OPERATOR_FIELD_NUMBER: builtins.int
|
1304
|
+
RELATION_SUBGRAPH_FIELD_NUMBER: builtins.int
|
1305
|
+
GRAPH_SEARCH_FIELD_NUMBER: builtins.int
|
1275
1306
|
shard: builtins.str
|
1276
1307
|
body: builtins.str
|
1277
1308
|
"""query this text in all the paragraphs"""
|
@@ -1294,14 +1325,16 @@ class SearchRequest(google.protobuf.message.Message):
|
|
1294
1325
|
def vector(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]:
|
1295
1326
|
"""Embedded vector search."""
|
1296
1327
|
|
1297
|
-
@property
|
1298
|
-
def relation_subgraph(self) -> global___EntitiesSubgraphRequest: ...
|
1299
1328
|
@property
|
1300
1329
|
def security(self) -> nucliadb_protos.utils_pb2.Security: ...
|
1301
1330
|
@property
|
1302
1331
|
def field_filter(self) -> global___FilterExpression: ...
|
1303
1332
|
@property
|
1304
1333
|
def paragraph_filter(self) -> global___FilterExpression: ...
|
1334
|
+
@property
|
1335
|
+
def relation_subgraph(self) -> global___EntitiesSubgraphRequest: ...
|
1336
|
+
@property
|
1337
|
+
def graph_search(self) -> global___SearchRequest.GraphSearch: ...
|
1305
1338
|
def __init__(
|
1306
1339
|
self,
|
1307
1340
|
*,
|
@@ -1318,16 +1351,17 @@ class SearchRequest(google.protobuf.message.Message):
|
|
1318
1351
|
with_duplicates: builtins.bool = ...,
|
1319
1352
|
only_faceted: builtins.bool = ...,
|
1320
1353
|
advanced_query: builtins.str | None = ...,
|
1321
|
-
relation_subgraph: global___EntitiesSubgraphRequest | None = ...,
|
1322
1354
|
min_score_semantic: builtins.float = ...,
|
1323
1355
|
min_score_bm25: builtins.float = ...,
|
1324
1356
|
security: nucliadb_protos.utils_pb2.Security | None = ...,
|
1325
1357
|
field_filter: global___FilterExpression | None = ...,
|
1326
1358
|
paragraph_filter: global___FilterExpression | None = ...,
|
1327
1359
|
filter_operator: global___FilterOperator.ValueType = ...,
|
1360
|
+
relation_subgraph: global___EntitiesSubgraphRequest | None = ...,
|
1361
|
+
graph_search: global___SearchRequest.GraphSearch | None = ...,
|
1328
1362
|
) -> None: ...
|
1329
|
-
def HasField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "faceted", b"faceted", "field_filter", b"field_filter", "order", b"order", "paragraph_filter", b"paragraph_filter", "relation_subgraph", b"relation_subgraph", "security", b"security"]) -> builtins.bool: ...
|
1330
|
-
def ClearField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "body", b"body", "document", b"document", "faceted", b"faceted", "field_filter", b"field_filter", "filter_operator", b"filter_operator", "min_score_bm25", b"min_score_bm25", "min_score_semantic", b"min_score_semantic", "only_faceted", b"only_faceted", "order", b"order", "page_number", b"page_number", "paragraph", b"paragraph", "paragraph_filter", b"paragraph_filter", "relation_subgraph", b"relation_subgraph", "result_per_page", b"result_per_page", "security", b"security", "shard", b"shard", "vector", b"vector", "vectorset", b"vectorset", "with_duplicates", b"with_duplicates"]) -> None: ...
|
1363
|
+
def HasField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "faceted", b"faceted", "field_filter", b"field_filter", "graph_search", b"graph_search", "order", b"order", "paragraph_filter", b"paragraph_filter", "relation_subgraph", b"relation_subgraph", "security", b"security"]) -> builtins.bool: ...
|
1364
|
+
def ClearField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "body", b"body", "document", b"document", "faceted", b"faceted", "field_filter", b"field_filter", "filter_operator", b"filter_operator", "graph_search", b"graph_search", "min_score_bm25", b"min_score_bm25", "min_score_semantic", b"min_score_semantic", "only_faceted", b"only_faceted", "order", b"order", "page_number", b"page_number", "paragraph", b"paragraph", "paragraph_filter", b"paragraph_filter", "relation_subgraph", b"relation_subgraph", "result_per_page", b"result_per_page", "security", b"security", "shard", b"shard", "vector", b"vector", "vectorset", b"vectorset", "with_duplicates", b"with_duplicates"]) -> None: ...
|
1331
1365
|
@typing.overload
|
1332
1366
|
def WhichOneof(self, oneof_group: typing.Literal["_advanced_query", b"_advanced_query"]) -> typing.Literal["advanced_query"] | None: ...
|
1333
1367
|
@typing.overload
|
@@ -1438,6 +1472,7 @@ class SearchResponse(google.protobuf.message.Message):
|
|
1438
1472
|
PARAGRAPH_FIELD_NUMBER: builtins.int
|
1439
1473
|
VECTOR_FIELD_NUMBER: builtins.int
|
1440
1474
|
RELATION_FIELD_NUMBER: builtins.int
|
1475
|
+
GRAPH_FIELD_NUMBER: builtins.int
|
1441
1476
|
@property
|
1442
1477
|
def document(self) -> global___DocumentSearchResponse: ...
|
1443
1478
|
@property
|
@@ -1446,6 +1481,8 @@ class SearchResponse(google.protobuf.message.Message):
|
|
1446
1481
|
def vector(self) -> global___VectorSearchResponse: ...
|
1447
1482
|
@property
|
1448
1483
|
def relation(self) -> global___RelationSearchResponse: ...
|
1484
|
+
@property
|
1485
|
+
def graph(self) -> global___GraphSearchResponse: ...
|
1449
1486
|
def __init__(
|
1450
1487
|
self,
|
1451
1488
|
*,
|
@@ -1453,9 +1490,10 @@ class SearchResponse(google.protobuf.message.Message):
|
|
1453
1490
|
paragraph: global___ParagraphSearchResponse | None = ...,
|
1454
1491
|
vector: global___VectorSearchResponse | None = ...,
|
1455
1492
|
relation: global___RelationSearchResponse | None = ...,
|
1493
|
+
graph: global___GraphSearchResponse | None = ...,
|
1456
1494
|
) -> None: ...
|
1457
|
-
def HasField(self, field_name: typing.Literal["document", b"document", "paragraph", b"paragraph", "relation", b"relation", "vector", b"vector"]) -> builtins.bool: ...
|
1458
|
-
def ClearField(self, field_name: typing.Literal["document", b"document", "paragraph", b"paragraph", "relation", b"relation", "vector", b"vector"]) -> None: ...
|
1495
|
+
def HasField(self, field_name: typing.Literal["document", b"document", "graph", b"graph", "paragraph", b"paragraph", "relation", b"relation", "vector", b"vector"]) -> builtins.bool: ...
|
1496
|
+
def ClearField(self, field_name: typing.Literal["document", b"document", "graph", b"graph", "paragraph", b"paragraph", "relation", b"relation", "vector", b"vector"]) -> None: ...
|
1459
1497
|
|
1460
1498
|
global___SearchResponse = SearchResponse
|
1461
1499
|
|
{nucliadb_protos-6.3.5.post4021.dist-info → nucliadb_protos-6.3.5.post4026.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=w3yJe7IGahOSoFBNP_P8UG6z3N7ILxZpdsh6_sVxx6Q,26761
|
17
|
+
nucliadb_protos/nodereader_pb2.pyi,sha256=xY5yXKaFfu3uVZeK4EilJQOAczbagyJ2sbQrzm_xrTc,75909
|
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=LbO9OmF0Ud2TK7m-KlUBneSSO309gOQIK762GO2kync,16435
|
@@ -40,7 +40,7 @@ nucliadb_protos/writer_pb2.py,sha256=934UiC3bpkJyTHHBSbKTEXfsIMlO6MT8y02grrkecd0
|
|
40
40
|
nucliadb_protos/writer_pb2.pyi,sha256=kz-pEfnlXORugLrm7VwyZazgyc02RjIWOPhurVPdwvw,72926
|
41
41
|
nucliadb_protos/writer_pb2_grpc.py,sha256=scrCTNVP8si33Pd5ra-HHXIM0dA6D4Q58OJW4vDOj_c,29538
|
42
42
|
nucliadb_protos/writer_pb2_grpc.pyi,sha256=P2NUVoSFe8l_PM_lX3aMb-a8ZWoudW2-fc_eX-IA4Fs,18322
|
43
|
-
nucliadb_protos-6.3.5.
|
44
|
-
nucliadb_protos-6.3.5.
|
45
|
-
nucliadb_protos-6.3.5.
|
46
|
-
nucliadb_protos-6.3.5.
|
43
|
+
nucliadb_protos-6.3.5.post4026.dist-info/METADATA,sha256=uKvJEz7AE-Bbzevl6oN9JFbvJPBMtBvJUHAK__8Yywg,824
|
44
|
+
nucliadb_protos-6.3.5.post4026.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
45
|
+
nucliadb_protos-6.3.5.post4026.dist-info/top_level.txt,sha256=wRP-apvCCaxGnNKXTnYx6tpAPggTof4SZQyoI1b-sjU,16
|
46
|
+
nucliadb_protos-6.3.5.post4026.dist-info/RECORD,,
|
File without changes
|
{nucliadb_protos-6.3.5.post4021.dist-info → nucliadb_protos-6.3.5.post4026.dist-info}/top_level.txt
RENAMED
File without changes
|