nidx-protos 6.9.4.post5357__py3-none-any.whl → 6.9.7.post5611__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 nidx-protos might be problematic. Click here for more details.

nidx_protos/nidx_pb2.py CHANGED
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: nidx_protos/nidx.proto
5
- # Protobuf Python Version: 5.29.0
5
+ # Protobuf Python Version: 6.31.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
14
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'nidx_protos/nidx.proto'
19
19
  )
@@ -8,7 +8,7 @@ from nidx_protos import nodereader_pb2 as nidx__protos_dot_nodereader__pb2
8
8
  from nidx_protos import noderesources_pb2 as nidx__protos_dot_noderesources__pb2
9
9
  from nidx_protos import nodewriter_pb2 as nidx__protos_dot_nodewriter__pb2
10
10
 
11
- GRPC_GENERATED_VERSION = '1.71.0'
11
+ GRPC_GENERATED_VERSION = '1.76.0'
12
12
  GRPC_VERSION = grpc.__version__
13
13
  _version_not_supported = False
14
14
 
@@ -21,7 +21,7 @@ except ImportError:
21
21
  if _version_not_supported:
22
22
  raise RuntimeError(
23
23
  f'The grpc package installed is at version {GRPC_VERSION},'
24
- + f' but the generated code in nidx_protos/nidx_pb2_grpc.py depends on'
24
+ + ' but the generated code in nidx_protos/nidx_pb2_grpc.py depends on'
25
25
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
26
26
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
27
27
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: nidx_protos/nodereader.proto
5
- # Protobuf Python Version: 5.29.0
5
+ # Protobuf Python Version: 6.31.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
14
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'nidx_protos/nodereader.proto'
19
19
  )
@@ -33,25 +33,21 @@ from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
33
33
  from nidx_protos.noderesources_pb2 import *
34
34
  from nucliadb_protos.utils_pb2 import *
35
35
 
36
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnidx_protos/nodereader.proto\x12\nnodereader\x1a\x1fnidx_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\"\xac\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\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\x01J\x04\x08\x04\x10\x05\"\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\"\xd9\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\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\x01J\x04\x08\x04\x10\x05\"&\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\"d\n\x14VectorSearchResponse\x12-\n\tdocuments\x18\x01 \x03(\x0b\x32\x1a.nodereader.DocumentScored\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05J\x04\x08\x04\x10\x05\"B\n\x1cRelationPrefixSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\"\x88\x0b\n\nGraphQuery\x12.\n\x04path\x18\x01 \x01(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\xf4\x04\n\x04Node\x12\x12\n\x05value\x18\x01 \x01(\tH\x01\x88\x01\x01\x12\x34\n\tnode_type\x18\x02 \x01(\x0e\x32\x1c.utils.RelationNode.NodeTypeH\x02\x88\x01\x01\x12\x19\n\x0cnode_subtype\x18\x03 \x01(\tH\x03\x88\x01\x01\x12=\n\nmatch_kind\x18\x04 \x01(\x0e\x32%.nodereader.GraphQuery.Node.MatchKindB\x02\x18\x01\x12\x37\n\x05\x65xact\x18\x05 \x01(\x0b\x32&.nodereader.GraphQuery.Node.ExactMatchH\x00\x12\x37\n\x05\x66uzzy\x18\x06 \x01(\x0b\x32&.nodereader.GraphQuery.Node.FuzzyMatchH\x00\x1a\x45\n\nExactMatch\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).nodereader.GraphQuery.Node.MatchLocation\x1aW\n\nFuzzyMatch\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).nodereader.GraphQuery.Node.MatchLocation\x12\x10\n\x08\x64istance\x18\x02 \x01(\r\"7\n\tMatchKind\x12\x14\n\x10\x44\x45PRECATED_EXACT\x10\x00\x12\x14\n\x10\x44\x45PRECATED_FUZZY\x10\x01\"B\n\rMatchLocation\x12\x08\n\x04\x46ULL\x10\x00\x12\n\n\x06PREFIX\x10\x01\x12\t\n\x05WORDS\x10\x02\x12\x10\n\x0cPREFIX_WORDS\x10\x03\x42\x10\n\x0enew_match_kindB\x08\n\x06_valueB\x0c\n\n_node_typeB\x0f\n\r_node_subtype\x1at\n\x08Relation\x12\x12\n\x05value\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x38\n\rrelation_type\x18\x02 \x01(\x0e\x32\x1c.utils.Relation.RelationTypeH\x01\x88\x01\x01\x42\x08\n\x06_valueB\x10\n\x0e_relation_type\x1a\xe3\x01\n\x04Path\x12\x30\n\x06source\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x00\x88\x01\x01\x12\x36\n\x08relation\x18\x02 \x01(\x0b\x32\x1f.nodereader.GraphQuery.RelationH\x01\x88\x01\x01\x12\x35\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x02\x88\x01\x01\x12\x12\n\nundirected\x18\x04 \x01(\x08\x42\t\n\x07_sourceB\x0b\n\t_relationB\x0e\n\x0c_destination\x1a?\n\tBoolQuery\x12\x32\n\x08operands\x18\x01 \x03(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\t\x1a\x97\x02\n\tPathQuery\x12+\n\x04path\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.PathH\x00\x12\x34\n\x08\x62ool_not\x18\x02 \x01(\x0b\x32 .nodereader.GraphQuery.PathQueryH\x00\x12\x34\n\x08\x62ool_and\x18\x03 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x07\x62ool_or\x18\x04 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x05\x66\x61\x63\x65t\x18\x05 \x01(\x0b\x32\".nodereader.GraphQuery.FacetFilterH\x00\x42\x07\n\x05query\"\xc1\x02\n\x12GraphSearchRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12%\n\x05query\x18\x02 \x01(\x0b\x32\x16.nodereader.GraphQuery\x12\x36\n\x04kind\x18\x03 \x01(\x0e\x32(.nodereader.GraphSearchRequest.QueryKind\x12\r\n\x05top_k\x18\x04 \x01(\r\x12&\n\x08security\x18\x05 \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x06 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\"/\n\tQueryKind\x12\x08\n\x04PATH\x10\x00\x12\t\n\x05NODES\x10\x01\x12\r\n\tRELATIONS\x10\x02\x42\x0b\n\t_securityB\x0f\n\r_field_filter\"\xbe\x03\n\x13GraphSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\x12;\n\trelations\x18\x02 \x03(\x0b\x32(.nodereader.GraphSearchResponse.Relation\x12\x33\n\x05graph\x18\x03 \x03(\x0b\x32$.nodereader.GraphSearchResponse.Path\x1aN\n\x08Relation\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\r\n\x05label\x18\x02 \x01(\t\x1a\xc0\x01\n\x04Path\x12\x0e\n\x06source\x18\x01 \x01(\r\x12\x10\n\x08relation\x18\x02 \x01(\r\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\r\x12.\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.utils.RelationMetadataH\x00\x88\x01\x01\x12\x1e\n\x11resource_field_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x06 \x03(\tB\x0b\n\t_metadataB\x14\n\x12_resource_field_id\"\xfa\x07\n\x10\x46ilterExpression\x12\x45\n\x08\x62ool_and\x18\x01 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x44\n\x07\x62ool_or\x18\x02 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x30\n\x08\x62ool_not\x18\x03 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x12?\n\x08resource\x18\x04 \x01(\x0b\x32+.nodereader.FilterExpression.ResourceFilterH\x00\x12\x39\n\x05\x66ield\x18\x05 \x01(\x0b\x32(.nodereader.FilterExpression.FieldFilterH\x00\x12=\n\x07keyword\x18\x06 \x01(\x0b\x32*.nodereader.FilterExpression.KeywordFilterH\x00\x12<\n\x04\x64\x61te\x18\x07 \x01(\x0b\x32,.nodereader.FilterExpression.DateRangeFilterH\x00\x12\x39\n\x05\x66\x61\x63\x65t\x18\x08 \x01(\x0b\x32(.nodereader.FilterExpression.FacetFilterH\x00\x1a\x46\n\x14\x46ilterExpressionList\x12.\n\x08operands\x18\x01 \x03(\x0b\x32\x1c.nodereader.FilterExpression\x1a%\n\x0eResourceFilter\x12\x13\n\x0bresource_id\x18\x01 \x01(\t\x1a\x45\n\x0b\x46ieldFilter\x12\x12\n\nfield_type\x18\x01 \x01(\t\x12\x15\n\x08\x66ield_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_field_id\x1a\xf4\x01\n\x0f\x44\x61teRangeFilter\x12\x45\n\x05\x66ield\x18\x01 \x01(\x0e\x32\x36.nodereader.FilterExpression.DateRangeFilter.DateField\x12.\n\x05since\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12.\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\"&\n\tDateField\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x42\x08\n\x06_sinceB\x08\n\x06_until\x1a \n\rKeywordFilter\x12\x0f\n\x07keyword\x18\x01 \x01(\t\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\tB\x06\n\x04\x65xpr\"\xf5\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\x17\n\x0fresult_per_page\x18\x08 \x01(\x05\x12\x0e\n\x06vector\x18\n \x03(\x02\x12\x11\n\tvectorset\x18\x0f \x01(\t\x12\x11\n\tparagraph\x18\x0c \x01(\x08\x12\x10\n\x08\x64ocument\x18\r \x01(\x08\x12\x17\n\x0fwith_duplicates\x18\x0e \x01(\x08\x12\x14\n\x0conly_faceted\x18\x10 \x01(\x08\x12\x1b\n\x0e\x61\x64vanced_query\x18\x12 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\x12min_score_semantic\x18\x17 \x01(\x02\x12\x16\n\x0emin_score_bm25\x18\x19 \x01(\x02\x12&\n\x08security\x18\x18 \x01(\x0b\x32\x0f.utils.SecurityH\x01\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x1a \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x02\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x1b \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x03\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\x1c \x01(\x0e\x32\x1a.nodereader.FilterOperator\x12;\n\x0cgraph_search\x18\x1d \x01(\x0b\x32%.nodereader.SearchRequest.GraphSearch\x1a\x34\n\x0bGraphSearch\x12%\n\x05query\x18\x01 \x01(\x0b\x32\x16.nodereader.GraphQueryB\x11\n\x0f_advanced_queryB\x0b\n\t_securityB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filterJ\x04\x08\x07\x10\x08J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16\"\xad\x02\n\x0eSuggestRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12-\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1b.nodereader.SuggestFeatures\x12\x37\n\x0c\x66ield_filter\x18\x07 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x08 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\t \x01(\x0e\x32\x1a.nodereader.FilterOperatorB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filter\"\xb1\x01\n\x0fSuggestResponse\x12\r\n\x05total\x18\x01 \x01(\x05\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.nodereader.ParagraphResult\x12\r\n\x05query\x18\x03 \x01(\t\x12\x10\n\x08\x65matches\x18\x04 \x03(\t\x12@\n\x0e\x65ntity_results\x18\x06 \x01(\x0b\x32(.nodereader.RelationPrefixSearchResponse\"\xe6\x01\n\x0eSearchResponse\x12\x34\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\".nodereader.DocumentSearchResponse\x12\x36\n\tparagraph\x18\x02 \x01(\x0b\x32#.nodereader.ParagraphSearchResponse\x12\x30\n\x06vector\x18\x03 \x01(\x0b\x32 .nodereader.VectorSearchResponse\x12.\n\x05graph\x18\x05 \x01(\x0b\x32\x1f.nodereader.GraphSearchResponseJ\x04\x08\x04\x10\x05\"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\"\xb7\x01\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\x12<\n\x11\x66ilter_expression\x18\x05 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x88\x01\x01\x42\x14\n\x12_filter_expression*!\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\x01P\x00P\x02\x62\x06proto3')
36
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnidx_protos/nodereader.proto\x12\nnodereader\x1a\x1fnidx_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\"\xb6\x01\n\x07OrderBy\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\x01J\x04\x08\x01\x10\x02\")\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\"\xa1\x01\n\x0e\x44ocumentResult\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12(\n\x05score\x18\x03 \x01(\x0b\x32\x17.nodereader.ResultScoreH\x00\x12*\n\x04\x64\x61te\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\r\n\x05\x66ield\x18\x04 \x01(\t\x12\x0e\n\x06labels\x18\x05 \x03(\tB\x0c\n\nsort_value\"\xac\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\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\x01J\x04\x08\x04\x10\x05\"\xb4\x02\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.ResultScoreH\x00\x12*\n\x04\x64\x61te\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\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(\tB\x0c\n\nsort_value\"\xd9\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\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\x01J\x04\x08\x04\x10\x05\"&\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\"d\n\x14VectorSearchResponse\x12-\n\tdocuments\x18\x01 \x03(\x0b\x32\x1a.nodereader.DocumentScored\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05J\x04\x08\x04\x10\x05\"B\n\x1cRelationPrefixSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\"\x92\n\n\nGraphQuery\x12.\n\x04path\x18\x01 \x01(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\xfe\x03\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\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\"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\x0c\n\nmatch_kindB\x08\n\x06_valueB\x0c\n\n_node_typeB\x0f\n\r_node_subtypeJ\x04\x08\x04\x10\x05\x1at\n\x08Relation\x12\x12\n\x05value\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x38\n\rrelation_type\x18\x02 \x01(\x0e\x32\x1c.utils.Relation.RelationTypeH\x01\x88\x01\x01\x42\x08\n\x06_valueB\x10\n\x0e_relation_type\x1a\xe3\x01\n\x04Path\x12\x30\n\x06source\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x00\x88\x01\x01\x12\x36\n\x08relation\x18\x02 \x01(\x0b\x32\x1f.nodereader.GraphQuery.RelationH\x01\x88\x01\x01\x12\x35\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x02\x88\x01\x01\x12\x12\n\nundirected\x18\x04 \x01(\x08\x42\t\n\x07_sourceB\x0b\n\t_relationB\x0e\n\x0c_destination\x1a?\n\tBoolQuery\x12\x32\n\x08operands\x18\x01 \x03(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\t\x1a\x97\x02\n\tPathQuery\x12+\n\x04path\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.PathH\x00\x12\x34\n\x08\x62ool_not\x18\x02 \x01(\x0b\x32 .nodereader.GraphQuery.PathQueryH\x00\x12\x34\n\x08\x62ool_and\x18\x03 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x07\x62ool_or\x18\x04 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x05\x66\x61\x63\x65t\x18\x05 \x01(\x0b\x32\".nodereader.GraphQuery.FacetFilterH\x00\x42\x07\n\x05query\"\xc1\x02\n\x12GraphSearchRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12%\n\x05query\x18\x02 \x01(\x0b\x32\x16.nodereader.GraphQuery\x12\x36\n\x04kind\x18\x03 \x01(\x0e\x32(.nodereader.GraphSearchRequest.QueryKind\x12\r\n\x05top_k\x18\x04 \x01(\r\x12&\n\x08security\x18\x05 \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x06 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\"/\n\tQueryKind\x12\x08\n\x04PATH\x10\x00\x12\t\n\x05NODES\x10\x01\x12\r\n\tRELATIONS\x10\x02\x42\x0b\n\t_securityB\x0f\n\r_field_filter\"\xbe\x03\n\x13GraphSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\x12;\n\trelations\x18\x02 \x03(\x0b\x32(.nodereader.GraphSearchResponse.Relation\x12\x33\n\x05graph\x18\x03 \x03(\x0b\x32$.nodereader.GraphSearchResponse.Path\x1aN\n\x08Relation\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\r\n\x05label\x18\x02 \x01(\t\x1a\xc0\x01\n\x04Path\x12\x0e\n\x06source\x18\x01 \x01(\r\x12\x10\n\x08relation\x18\x02 \x01(\r\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\r\x12.\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.utils.RelationMetadataH\x00\x88\x01\x01\x12\x1e\n\x11resource_field_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x06 \x03(\tB\x0b\n\t_metadataB\x14\n\x12_resource_field_id\"\xfa\x07\n\x10\x46ilterExpression\x12\x45\n\x08\x62ool_and\x18\x01 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x44\n\x07\x62ool_or\x18\x02 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x30\n\x08\x62ool_not\x18\x03 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x12?\n\x08resource\x18\x04 \x01(\x0b\x32+.nodereader.FilterExpression.ResourceFilterH\x00\x12\x39\n\x05\x66ield\x18\x05 \x01(\x0b\x32(.nodereader.FilterExpression.FieldFilterH\x00\x12=\n\x07keyword\x18\x06 \x01(\x0b\x32*.nodereader.FilterExpression.KeywordFilterH\x00\x12<\n\x04\x64\x61te\x18\x07 \x01(\x0b\x32,.nodereader.FilterExpression.DateRangeFilterH\x00\x12\x39\n\x05\x66\x61\x63\x65t\x18\x08 \x01(\x0b\x32(.nodereader.FilterExpression.FacetFilterH\x00\x1a\x46\n\x14\x46ilterExpressionList\x12.\n\x08operands\x18\x01 \x03(\x0b\x32\x1c.nodereader.FilterExpression\x1a%\n\x0eResourceFilter\x12\x13\n\x0bresource_id\x18\x01 \x01(\t\x1a\x45\n\x0b\x46ieldFilter\x12\x12\n\nfield_type\x18\x01 \x01(\t\x12\x15\n\x08\x66ield_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_field_id\x1a\xf4\x01\n\x0f\x44\x61teRangeFilter\x12\x45\n\x05\x66ield\x18\x01 \x01(\x0e\x32\x36.nodereader.FilterExpression.DateRangeFilter.DateField\x12.\n\x05since\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12.\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\"&\n\tDateField\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x42\x08\n\x06_sinceB\x08\n\x06_until\x1a \n\rKeywordFilter\x12\x0f\n\x07keyword\x18\x01 \x01(\t\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\tB\x06\n\x04\x65xpr\"\xf5\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\x17\n\x0fresult_per_page\x18\x08 \x01(\x05\x12\x0e\n\x06vector\x18\n \x03(\x02\x12\x11\n\tvectorset\x18\x0f \x01(\t\x12\x11\n\tparagraph\x18\x0c \x01(\x08\x12\x10\n\x08\x64ocument\x18\r \x01(\x08\x12\x17\n\x0fwith_duplicates\x18\x0e \x01(\x08\x12\x14\n\x0conly_faceted\x18\x10 \x01(\x08\x12\x1b\n\x0e\x61\x64vanced_query\x18\x12 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\x12min_score_semantic\x18\x17 \x01(\x02\x12\x16\n\x0emin_score_bm25\x18\x19 \x01(\x02\x12&\n\x08security\x18\x18 \x01(\x0b\x32\x0f.utils.SecurityH\x01\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x1a \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x02\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x1b \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x03\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\x1c \x01(\x0e\x32\x1a.nodereader.FilterOperator\x12;\n\x0cgraph_search\x18\x1d \x01(\x0b\x32%.nodereader.SearchRequest.GraphSearch\x1a\x34\n\x0bGraphSearch\x12%\n\x05query\x18\x01 \x01(\x0b\x32\x16.nodereader.GraphQueryB\x11\n\x0f_advanced_queryB\x0b\n\t_securityB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filterJ\x04\x08\x07\x10\x08J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16\"\xad\x02\n\x0eSuggestRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12-\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1b.nodereader.SuggestFeatures\x12\x37\n\x0c\x66ield_filter\x18\x07 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x08 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\t \x01(\x0e\x32\x1a.nodereader.FilterOperatorB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filter\"\xb1\x01\n\x0fSuggestResponse\x12\r\n\x05total\x18\x01 \x01(\x05\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.nodereader.ParagraphResult\x12\r\n\x05query\x18\x03 \x01(\t\x12\x10\n\x08\x65matches\x18\x04 \x03(\t\x12@\n\x0e\x65ntity_results\x18\x06 \x01(\x0b\x32(.nodereader.RelationPrefixSearchResponse\"\xe6\x01\n\x0eSearchResponse\x12\x34\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\".nodereader.DocumentSearchResponse\x12\x36\n\tparagraph\x18\x02 \x01(\x0b\x32#.nodereader.ParagraphSearchResponse\x12\x30\n\x06vector\x18\x03 \x01(\x0b\x32 .nodereader.VectorSearchResponse\x12.\n\x05graph\x18\x05 \x01(\x0b\x32\x1f.nodereader.GraphSearchResponseJ\x04\x08\x04\x10\x05\"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\"\xb7\x01\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\x12<\n\x11\x66ilter_expression\x18\x05 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x88\x01\x01\x42\x14\n\x12_filter_expression*!\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\x01P\x00P\x02\x62\x06proto3')
37
37
 
38
38
  _globals = globals()
39
39
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
40
40
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidx_protos.nodereader_pb2', _globals)
41
41
  if not _descriptor._USE_C_DESCRIPTORS:
42
42
  DESCRIPTOR._loaded_options = None
43
- _globals['_ORDERBY'].fields_by_name['field']._loaded_options = None
44
- _globals['_ORDERBY'].fields_by_name['field']._serialized_options = b'\030\001'
45
43
  _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._loaded_options = None
46
44
  _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
47
45
  _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._loaded_options = None
48
46
  _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
49
- _globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._loaded_options = None
50
- _globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._serialized_options = b'\030\001'
51
- _globals['_FILTEROPERATOR']._serialized_start=7081
52
- _globals['_FILTEROPERATOR']._serialized_end=7114
53
- _globals['_SUGGESTFEATURES']._serialized_start=7116
54
- _globals['_SUGGESTFEATURES']._serialized_end=7163
47
+ _globals['_FILTEROPERATOR']._serialized_start=7071
48
+ _globals['_FILTEROPERATOR']._serialized_end=7104
49
+ _globals['_SUGGESTFEATURES']._serialized_start=7106
50
+ _globals['_SUGGESTFEATURES']._serialized_end=7153
55
51
  _globals['_STREAMFILTER']._serialized_start=140
56
52
  _globals['_STREAMFILTER']._serialized_end=270
57
53
  _globals['_STREAMFILTER_CONJUNCTION']._serialized_start=231
@@ -59,101 +55,99 @@ if not _descriptor._USE_C_DESCRIPTORS:
59
55
  _globals['_FACETED']._serialized_start=272
60
56
  _globals['_FACETED']._serialized_end=297
61
57
  _globals['_ORDERBY']._serialized_start=300
62
- _globals['_ORDERBY']._serialized_end=495
63
- _globals['_ORDERBY_ORDERTYPE']._serialized_start=424
64
- _globals['_ORDERBY_ORDERTYPE']._serialized_end=454
65
- _globals['_ORDERBY_ORDERFIELD']._serialized_start=456
66
- _globals['_ORDERBY_ORDERFIELD']._serialized_end=495
67
- _globals['_FACETRESULT']._serialized_start=497
68
- _globals['_FACETRESULT']._serialized_end=538
69
- _globals['_FACETRESULTS']._serialized_start=540
70
- _globals['_FACETRESULTS']._serialized_end=601
71
- _globals['_RESULTSCORE']._serialized_start=603
72
- _globals['_RESULTSCORE']._serialized_end=647
73
- _globals['_DOCUMENTRESULT']._serialized_start=649
74
- _globals['_DOCUMENTRESULT']._serialized_end=750
75
- _globals['_DOCUMENTSEARCHRESPONSE']._serialized_start=753
76
- _globals['_DOCUMENTSEARCHRESPONSE']._serialized_end=1053
77
- _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_start=976
78
- _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_end=1047
79
- _globals['_PARAGRAPHRESULT']._serialized_start=1056
80
- _globals['_PARAGRAPHRESULT']._serialized_end=1304
81
- _globals['_PARAGRAPHSEARCHRESPONSE']._serialized_start=1307
82
- _globals['_PARAGRAPHSEARCHRESPONSE']._serialized_end=1652
83
- _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_start=976
84
- _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_end=1047
85
- _globals['_DOCUMENTVECTORIDENTIFIER']._serialized_start=1654
86
- _globals['_DOCUMENTVECTORIDENTIFIER']._serialized_end=1692
87
- _globals['_DOCUMENTSCORED']._serialized_start=1695
88
- _globals['_DOCUMENTSCORED']._serialized_end=1847
89
- _globals['_VECTORSEARCHRESPONSE']._serialized_start=1849
90
- _globals['_VECTORSEARCHRESPONSE']._serialized_end=1949
91
- _globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_start=1951
92
- _globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_end=2017
93
- _globals['_GRAPHQUERY']._serialized_start=2020
94
- _globals['_GRAPHQUERY']._serialized_end=3436
95
- _globals['_GRAPHQUERY_NODE']._serialized_start=2083
96
- _globals['_GRAPHQUERY_NODE']._serialized_end=2711
97
- _globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_start=2369
98
- _globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_end=2438
99
- _globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_start=2440
100
- _globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_end=2527
101
- _globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_start=2529
102
- _globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_end=2584
103
- _globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_start=2586
104
- _globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_end=2652
105
- _globals['_GRAPHQUERY_RELATION']._serialized_start=2713
106
- _globals['_GRAPHQUERY_RELATION']._serialized_end=2829
107
- _globals['_GRAPHQUERY_PATH']._serialized_start=2832
108
- _globals['_GRAPHQUERY_PATH']._serialized_end=3059
109
- _globals['_GRAPHQUERY_BOOLQUERY']._serialized_start=3061
110
- _globals['_GRAPHQUERY_BOOLQUERY']._serialized_end=3124
111
- _globals['_GRAPHQUERY_FACETFILTER']._serialized_start=3126
112
- _globals['_GRAPHQUERY_FACETFILTER']._serialized_end=3154
113
- _globals['_GRAPHQUERY_PATHQUERY']._serialized_start=3157
114
- _globals['_GRAPHQUERY_PATHQUERY']._serialized_end=3436
115
- _globals['_GRAPHSEARCHREQUEST']._serialized_start=3439
116
- _globals['_GRAPHSEARCHREQUEST']._serialized_end=3760
117
- _globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_start=3683
118
- _globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_end=3730
119
- _globals['_GRAPHSEARCHRESPONSE']._serialized_start=3763
120
- _globals['_GRAPHSEARCHRESPONSE']._serialized_end=4209
121
- _globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_start=3936
122
- _globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_end=4014
123
- _globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_start=4017
124
- _globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_end=4209
125
- _globals['_FILTEREXPRESSION']._serialized_start=4212
126
- _globals['_FILTEREXPRESSION']._serialized_end=5230
127
- _globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_start=4731
128
- _globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_end=4801
129
- _globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_start=4803
130
- _globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_end=4840
131
- _globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_start=4842
132
- _globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_end=4911
133
- _globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_start=4914
134
- _globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_end=5158
135
- _globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_start=5100
136
- _globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_end=5138
137
- _globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_start=5160
138
- _globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_end=5192
139
- _globals['_FILTEREXPRESSION_FACETFILTER']._serialized_start=3126
140
- _globals['_FILTEREXPRESSION_FACETFILTER']._serialized_end=3154
141
- _globals['_SEARCHREQUEST']._serialized_start=5233
142
- _globals['_SEARCHREQUEST']._serialized_end=5990
143
- _globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_start=5850
144
- _globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_end=5902
145
- _globals['_SUGGESTREQUEST']._serialized_start=5993
146
- _globals['_SUGGESTREQUEST']._serialized_end=6294
147
- _globals['_SUGGESTRESPONSE']._serialized_start=6297
148
- _globals['_SUGGESTRESPONSE']._serialized_end=6474
149
- _globals['_SEARCHRESPONSE']._serialized_start=6477
150
- _globals['_SEARCHRESPONSE']._serialized_end=6707
151
- _globals['_GETSHARDREQUEST']._serialized_start=6709
152
- _globals['_GETSHARDREQUEST']._serialized_end=6787
153
- _globals['_PARAGRAPHITEM']._serialized_start=6789
154
- _globals['_PARAGRAPHITEM']._serialized_end=6832
155
- _globals['_DOCUMENTITEM']._serialized_start=6834
156
- _globals['_DOCUMENTITEM']._serialized_end=6893
157
- _globals['_STREAMREQUEST']._serialized_start=6896
158
- _globals['_STREAMREQUEST']._serialized_end=7079
58
+ _globals['_ORDERBY']._serialized_end=482
59
+ _globals['_ORDERBY_ORDERTYPE']._serialized_start=405
60
+ _globals['_ORDERBY_ORDERTYPE']._serialized_end=435
61
+ _globals['_ORDERBY_ORDERFIELD']._serialized_start=437
62
+ _globals['_ORDERBY_ORDERFIELD']._serialized_end=476
63
+ _globals['_FACETRESULT']._serialized_start=484
64
+ _globals['_FACETRESULT']._serialized_end=525
65
+ _globals['_FACETRESULTS']._serialized_start=527
66
+ _globals['_FACETRESULTS']._serialized_end=588
67
+ _globals['_RESULTSCORE']._serialized_start=590
68
+ _globals['_RESULTSCORE']._serialized_end=634
69
+ _globals['_DOCUMENTRESULT']._serialized_start=637
70
+ _globals['_DOCUMENTRESULT']._serialized_end=798
71
+ _globals['_DOCUMENTSEARCHRESPONSE']._serialized_start=801
72
+ _globals['_DOCUMENTSEARCHRESPONSE']._serialized_end=1101
73
+ _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_start=1024
74
+ _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_end=1095
75
+ _globals['_PARAGRAPHRESULT']._serialized_start=1104
76
+ _globals['_PARAGRAPHRESULT']._serialized_end=1412
77
+ _globals['_PARAGRAPHSEARCHRESPONSE']._serialized_start=1415
78
+ _globals['_PARAGRAPHSEARCHRESPONSE']._serialized_end=1760
79
+ _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_start=1024
80
+ _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_end=1095
81
+ _globals['_DOCUMENTVECTORIDENTIFIER']._serialized_start=1762
82
+ _globals['_DOCUMENTVECTORIDENTIFIER']._serialized_end=1800
83
+ _globals['_DOCUMENTSCORED']._serialized_start=1803
84
+ _globals['_DOCUMENTSCORED']._serialized_end=1955
85
+ _globals['_VECTORSEARCHRESPONSE']._serialized_start=1957
86
+ _globals['_VECTORSEARCHRESPONSE']._serialized_end=2057
87
+ _globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_start=2059
88
+ _globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_end=2125
89
+ _globals['_GRAPHQUERY']._serialized_start=2128
90
+ _globals['_GRAPHQUERY']._serialized_end=3426
91
+ _globals['_GRAPHQUERY_NODE']._serialized_start=2191
92
+ _globals['_GRAPHQUERY_NODE']._serialized_end=2701
93
+ _globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_start=2414
94
+ _globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_end=2483
95
+ _globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_start=2485
96
+ _globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_end=2572
97
+ _globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_start=2574
98
+ _globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_end=2640
99
+ _globals['_GRAPHQUERY_RELATION']._serialized_start=2703
100
+ _globals['_GRAPHQUERY_RELATION']._serialized_end=2819
101
+ _globals['_GRAPHQUERY_PATH']._serialized_start=2822
102
+ _globals['_GRAPHQUERY_PATH']._serialized_end=3049
103
+ _globals['_GRAPHQUERY_BOOLQUERY']._serialized_start=3051
104
+ _globals['_GRAPHQUERY_BOOLQUERY']._serialized_end=3114
105
+ _globals['_GRAPHQUERY_FACETFILTER']._serialized_start=3116
106
+ _globals['_GRAPHQUERY_FACETFILTER']._serialized_end=3144
107
+ _globals['_GRAPHQUERY_PATHQUERY']._serialized_start=3147
108
+ _globals['_GRAPHQUERY_PATHQUERY']._serialized_end=3426
109
+ _globals['_GRAPHSEARCHREQUEST']._serialized_start=3429
110
+ _globals['_GRAPHSEARCHREQUEST']._serialized_end=3750
111
+ _globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_start=3673
112
+ _globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_end=3720
113
+ _globals['_GRAPHSEARCHRESPONSE']._serialized_start=3753
114
+ _globals['_GRAPHSEARCHRESPONSE']._serialized_end=4199
115
+ _globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_start=3926
116
+ _globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_end=4004
117
+ _globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_start=4007
118
+ _globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_end=4199
119
+ _globals['_FILTEREXPRESSION']._serialized_start=4202
120
+ _globals['_FILTEREXPRESSION']._serialized_end=5220
121
+ _globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_start=4721
122
+ _globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_end=4791
123
+ _globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_start=4793
124
+ _globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_end=4830
125
+ _globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_start=4832
126
+ _globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_end=4901
127
+ _globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_start=4904
128
+ _globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_end=5148
129
+ _globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_start=5090
130
+ _globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_end=5128
131
+ _globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_start=5150
132
+ _globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_end=5182
133
+ _globals['_FILTEREXPRESSION_FACETFILTER']._serialized_start=3116
134
+ _globals['_FILTEREXPRESSION_FACETFILTER']._serialized_end=3144
135
+ _globals['_SEARCHREQUEST']._serialized_start=5223
136
+ _globals['_SEARCHREQUEST']._serialized_end=5980
137
+ _globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_start=5840
138
+ _globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_end=5892
139
+ _globals['_SUGGESTREQUEST']._serialized_start=5983
140
+ _globals['_SUGGESTREQUEST']._serialized_end=6284
141
+ _globals['_SUGGESTRESPONSE']._serialized_start=6287
142
+ _globals['_SUGGESTRESPONSE']._serialized_end=6464
143
+ _globals['_SEARCHRESPONSE']._serialized_start=6467
144
+ _globals['_SEARCHRESPONSE']._serialized_end=6697
145
+ _globals['_GETSHARDREQUEST']._serialized_start=6699
146
+ _globals['_GETSHARDREQUEST']._serialized_end=6777
147
+ _globals['_PARAGRAPHITEM']._serialized_start=6779
148
+ _globals['_PARAGRAPHITEM']._serialized_end=6822
149
+ _globals['_DOCUMENTITEM']._serialized_start=6824
150
+ _globals['_DOCUMENTITEM']._serialized_end=6883
151
+ _globals['_STREAMREQUEST']._serialized_start=6886
152
+ _globals['_STREAMREQUEST']._serialized_end=7069
159
153
  # @@protoc_insertion_point(module_scope)
@@ -47,13 +47,10 @@ from nidx_protos.noderesources_pb2 import (
47
47
  from nucliadb_protos.utils_pb2 import (
48
48
  COSINE as COSINE,
49
49
  DOT as DOT,
50
- EXPERIMENTAL as EXPERIMENTAL,
51
50
  ExtractedText as ExtractedText,
52
51
  Relation as Relation,
53
52
  RelationMetadata as RelationMetadata,
54
53
  RelationNode as RelationNode,
55
- ReleaseChannel as ReleaseChannel,
56
- STABLE as STABLE,
57
54
  Security as Security,
58
55
  UserVector as UserVector,
59
56
  UserVectorSet as UserVectorSet,
@@ -177,20 +174,17 @@ class OrderBy(google.protobuf.message.Message):
177
174
  CREATED: OrderBy.OrderField.ValueType # 0
178
175
  MODIFIED: OrderBy.OrderField.ValueType # 1
179
176
 
180
- FIELD_FIELD_NUMBER: builtins.int
181
177
  TYPE_FIELD_NUMBER: builtins.int
182
178
  SORT_BY_FIELD_NUMBER: builtins.int
183
- field: builtins.str
184
179
  type: global___OrderBy.OrderType.ValueType
185
180
  sort_by: global___OrderBy.OrderField.ValueType
186
181
  def __init__(
187
182
  self,
188
183
  *,
189
- field: builtins.str = ...,
190
184
  type: global___OrderBy.OrderType.ValueType = ...,
191
185
  sort_by: global___OrderBy.OrderField.ValueType = ...,
192
186
  ) -> None: ...
193
- def ClearField(self, field_name: typing.Literal["field", b"field", "sort_by", b"sort_by", "type", b"type"]) -> None: ...
187
+ def ClearField(self, field_name: typing.Literal["sort_by", b"sort_by", "type", b"type"]) -> None: ...
194
188
 
195
189
  global___OrderBy = OrderBy
196
190
 
@@ -255,6 +249,7 @@ class DocumentResult(google.protobuf.message.Message):
255
249
 
256
250
  UUID_FIELD_NUMBER: builtins.int
257
251
  SCORE_FIELD_NUMBER: builtins.int
252
+ DATE_FIELD_NUMBER: builtins.int
258
253
  FIELD_FIELD_NUMBER: builtins.int
259
254
  LABELS_FIELD_NUMBER: builtins.int
260
255
  uuid: builtins.str
@@ -262,17 +257,21 @@ class DocumentResult(google.protobuf.message.Message):
262
257
  @property
263
258
  def score(self) -> global___ResultScore: ...
264
259
  @property
260
+ def date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
261
+ @property
265
262
  def labels(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
266
263
  def __init__(
267
264
  self,
268
265
  *,
269
266
  uuid: builtins.str = ...,
270
267
  score: global___ResultScore | None = ...,
268
+ date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
271
269
  field: builtins.str = ...,
272
270
  labels: collections.abc.Iterable[builtins.str] | None = ...,
273
271
  ) -> None: ...
274
- def HasField(self, field_name: typing.Literal["score", b"score"]) -> builtins.bool: ...
275
- def ClearField(self, field_name: typing.Literal["field", b"field", "labels", b"labels", "score", b"score", "uuid", b"uuid"]) -> None: ...
272
+ def HasField(self, field_name: typing.Literal["date", b"date", "score", b"score", "sort_value", b"sort_value"]) -> builtins.bool: ...
273
+ def ClearField(self, field_name: typing.Literal["date", b"date", "field", b"field", "labels", b"labels", "score", b"score", "sort_value", b"sort_value", "uuid", b"uuid"]) -> None: ...
274
+ def WhichOneof(self, oneof_group: typing.Literal["sort_value", b"sort_value"]) -> typing.Literal["score", "date"] | None: ...
276
275
 
277
276
  global___DocumentResult = DocumentResult
278
277
 
@@ -343,6 +342,7 @@ class ParagraphResult(google.protobuf.message.Message):
343
342
  SPLIT_FIELD_NUMBER: builtins.int
344
343
  INDEX_FIELD_NUMBER: builtins.int
345
344
  SCORE_FIELD_NUMBER: builtins.int
345
+ DATE_FIELD_NUMBER: builtins.int
346
346
  MATCHES_FIELD_NUMBER: builtins.int
347
347
  METADATA_FIELD_NUMBER: builtins.int
348
348
  LABELS_FIELD_NUMBER: builtins.int
@@ -356,6 +356,8 @@ class ParagraphResult(google.protobuf.message.Message):
356
356
  @property
357
357
  def score(self) -> global___ResultScore: ...
358
358
  @property
359
+ def date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
360
+ @property
359
361
  def matches(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
360
362
  @property
361
363
  def metadata(self) -> nidx_protos.noderesources_pb2.ParagraphMetadata:
@@ -374,12 +376,14 @@ class ParagraphResult(google.protobuf.message.Message):
374
376
  split: builtins.str = ...,
375
377
  index: builtins.int = ...,
376
378
  score: global___ResultScore | None = ...,
379
+ date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
377
380
  matches: collections.abc.Iterable[builtins.str] | None = ...,
378
381
  metadata: nidx_protos.noderesources_pb2.ParagraphMetadata | None = ...,
379
382
  labels: collections.abc.Iterable[builtins.str] | None = ...,
380
383
  ) -> None: ...
381
- def HasField(self, field_name: typing.Literal["metadata", b"metadata", "score", b"score"]) -> builtins.bool: ...
382
- def ClearField(self, field_name: typing.Literal["end", b"end", "field", b"field", "index", b"index", "labels", b"labels", "matches", b"matches", "metadata", b"metadata", "paragraph", b"paragraph", "score", b"score", "split", b"split", "start", b"start", "uuid", b"uuid"]) -> None: ...
384
+ def HasField(self, field_name: typing.Literal["date", b"date", "metadata", b"metadata", "score", b"score", "sort_value", b"sort_value"]) -> builtins.bool: ...
385
+ def ClearField(self, field_name: typing.Literal["date", b"date", "end", b"end", "field", b"field", "index", b"index", "labels", b"labels", "matches", b"matches", "metadata", b"metadata", "paragraph", b"paragraph", "score", b"score", "sort_value", b"sort_value", "split", b"split", "start", b"start", "uuid", b"uuid"]) -> None: ...
386
+ def WhichOneof(self, oneof_group: typing.Literal["sort_value", b"sort_value"]) -> typing.Literal["score", "date"] | None: ...
383
387
 
384
388
  global___ParagraphResult = ParagraphResult
385
389
 
@@ -537,19 +541,6 @@ class GraphQuery(google.protobuf.message.Message):
537
541
  class Node(google.protobuf.message.Message):
538
542
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
539
543
 
540
- class _MatchKind:
541
- ValueType = typing.NewType("ValueType", builtins.int)
542
- V: typing_extensions.TypeAlias = ValueType
543
-
544
- class _MatchKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[GraphQuery.Node._MatchKind.ValueType], builtins.type):
545
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
546
- DEPRECATED_EXACT: GraphQuery.Node._MatchKind.ValueType # 0
547
- DEPRECATED_FUZZY: GraphQuery.Node._MatchKind.ValueType # 1
548
-
549
- class MatchKind(_MatchKind, metaclass=_MatchKindEnumTypeWrapper): ...
550
- DEPRECATED_EXACT: GraphQuery.Node.MatchKind.ValueType # 0
551
- DEPRECATED_FUZZY: GraphQuery.Node.MatchKind.ValueType # 1
552
-
553
544
  class _MatchLocation:
554
545
  ValueType = typing.NewType("ValueType", builtins.int)
555
546
  V: typing_extensions.TypeAlias = ValueType
@@ -607,13 +598,11 @@ class GraphQuery(google.protobuf.message.Message):
607
598
  VALUE_FIELD_NUMBER: builtins.int
608
599
  NODE_TYPE_FIELD_NUMBER: builtins.int
609
600
  NODE_SUBTYPE_FIELD_NUMBER: builtins.int
610
- MATCH_KIND_FIELD_NUMBER: builtins.int
611
601
  EXACT_FIELD_NUMBER: builtins.int
612
602
  FUZZY_FIELD_NUMBER: builtins.int
613
603
  value: builtins.str
614
604
  node_type: nucliadb_protos.utils_pb2.RelationNode.NodeType.ValueType
615
605
  node_subtype: builtins.str
616
- match_kind: global___GraphQuery.Node.MatchKind.ValueType
617
606
  @property
618
607
  def exact(self) -> global___GraphQuery.Node.ExactMatch: ...
619
608
  @property
@@ -624,12 +613,11 @@ class GraphQuery(google.protobuf.message.Message):
624
613
  value: builtins.str | None = ...,
625
614
  node_type: nucliadb_protos.utils_pb2.RelationNode.NodeType.ValueType | None = ...,
626
615
  node_subtype: builtins.str | None = ...,
627
- match_kind: global___GraphQuery.Node.MatchKind.ValueType = ...,
628
616
  exact: global___GraphQuery.Node.ExactMatch | None = ...,
629
617
  fuzzy: global___GraphQuery.Node.FuzzyMatch | None = ...,
630
618
  ) -> None: ...
631
- def HasField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "_node_type", b"_node_type", "_value", b"_value", "exact", b"exact", "fuzzy", b"fuzzy", "new_match_kind", b"new_match_kind", "node_subtype", b"node_subtype", "node_type", b"node_type", "value", b"value"]) -> builtins.bool: ...
632
- def ClearField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "_node_type", b"_node_type", "_value", b"_value", "exact", b"exact", "fuzzy", b"fuzzy", "match_kind", b"match_kind", "new_match_kind", b"new_match_kind", "node_subtype", b"node_subtype", "node_type", b"node_type", "value", b"value"]) -> None: ...
619
+ def HasField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "_node_type", b"_node_type", "_value", b"_value", "exact", b"exact", "fuzzy", b"fuzzy", "match_kind", b"match_kind", "node_subtype", b"node_subtype", "node_type", b"node_type", "value", b"value"]) -> builtins.bool: ...
620
+ def ClearField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "_node_type", b"_node_type", "_value", b"_value", "exact", b"exact", "fuzzy", b"fuzzy", "match_kind", b"match_kind", "node_subtype", b"node_subtype", "node_type", b"node_type", "value", b"value"]) -> None: ...
633
621
  @typing.overload
634
622
  def WhichOneof(self, oneof_group: typing.Literal["_node_subtype", b"_node_subtype"]) -> typing.Literal["node_subtype"] | None: ...
635
623
  @typing.overload
@@ -637,7 +625,7 @@ class GraphQuery(google.protobuf.message.Message):
637
625
  @typing.overload
638
626
  def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
639
627
  @typing.overload
640
- def WhichOneof(self, oneof_group: typing.Literal["new_match_kind", b"new_match_kind"]) -> typing.Literal["exact", "fuzzy"] | None: ...
628
+ def WhichOneof(self, oneof_group: typing.Literal["match_kind", b"match_kind"]) -> typing.Literal["exact", "fuzzy"] | None: ...
641
629
 
642
630
  @typing.final
643
631
  class Relation(google.protobuf.message.Message):
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: nidx_protos/noderesources.proto
5
- # Protobuf Python Version: 5.29.0
5
+ # Protobuf Python Version: 6.31.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
14
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'nidx_protos/noderesources.proto'
19
19
  )
@@ -27,7 +27,7 @@ from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
27
27
 
28
28
  from nucliadb_protos.utils_pb2 import *
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fnidx_protos/noderesources.proto\x12\rnoderesources\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bnucliadb_protos/utils.proto\"/\n\x0fTextInformation\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06labels\x18\x02 \x03(\t\"j\n\rIndexMetadata\x12,\n\x08modified\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x63reated\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x15\n\x07ShardId\x12\n\n\x02id\x18\x01 \x01(\t\"/\n\x08ShardIds\x12#\n\x03ids\x18\x01 \x03(\x0b\x32\x16.noderesources.ShardId\"\xdc\x04\n\x0cShardCreated\x12\n\n\x02id\x18\x01 \x01(\t\x12\x45\n\x10\x64ocument_service\x18\x02 \x01(\x0e\x32+.noderesources.ShardCreated.DocumentService\x12G\n\x11paragraph_service\x18\x03 \x01(\x0e\x32,.noderesources.ShardCreated.ParagraphService\x12\x41\n\x0evector_service\x18\x04 \x01(\x0e\x32).noderesources.ShardCreated.VectorService\x12\x45\n\x10relation_service\x18\x05 \x01(\x0e\x32+.noderesources.ShardCreated.RelationService\"U\n\x0f\x44ocumentService\x12\x0f\n\x0b\x44OCUMENT_V0\x10\x00\x12\x0f\n\x0b\x44OCUMENT_V1\x10\x01\x12\x0f\n\x0b\x44OCUMENT_V2\x10\x02\x12\x0f\n\x0b\x44OCUMENT_V3\x10\x03\"Z\n\x10ParagraphService\x12\x10\n\x0cPARAGRAPH_V0\x10\x00\x12\x10\n\x0cPARAGRAPH_V1\x10\x01\x12\x10\n\x0cPARAGRAPH_V2\x10\x02\x12\x10\n\x0cPARAGRAPH_V3\x10\x03\"-\n\rVectorService\x12\r\n\tVECTOR_V0\x10\x00\x12\r\n\tVECTOR_V1\x10\x01\"D\n\x0fRelationService\x12\x0f\n\x0bRELATION_V0\x10\x00\x12\x0f\n\x0bRELATION_V1\x10\x01\x12\x0f\n\x0bRELATION_V2\x10\x02\",\n\nResourceID\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"\x94\x01\n\x05Shard\x12.\n\x08metadata\x18\x05 \x01(\x0b\x32\x1c.noderesources.ShardMetadata\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x0e\n\x06\x66ields\x18\x02 \x01(\x04\x12\x12\n\nparagraphs\x18\x03 \x01(\x04\x12\x11\n\tsentences\x18\x04 \x01(\x04\x12\x12\n\nsize_bytes\x18\x06 \x01(\x04\"\x0c\n\nEmptyQuery\"\x87\x01\n\x08Position\x12\r\n\x05index\x18\x01 \x01(\x04\x12\r\n\x05start\x18\x02 \x01(\x04\x12\x0b\n\x03\x65nd\x18\x03 \x01(\x04\x12\x13\n\x0bpage_number\x18\x04 \x01(\x04\x12\x0f\n\x07in_page\x18\x07 \x01(\x08\x12\x15\n\rstart_seconds\x18\x05 \x03(\r\x12\x13\n\x0b\x65nd_seconds\x18\x06 \x03(\r\"2\n\x0eRepresentation\x12\x12\n\nis_a_table\x18\x01 \x01(\x08\x12\x0c\n\x04\x66ile\x18\x02 \x01(\t\"\x8e\x01\n\x10SentenceMetadata\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.noderesources.Position\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\x12\x35\n\x0erepresentation\x18\x03 \x01(\x0b\x32\x1d.noderesources.Representation\"S\n\x0eVectorSentence\x12\x0e\n\x06vector\x18\x01 \x03(\x02\x12\x31\n\x08metadata\x18\t \x01(\x0b\x32\x1f.noderesources.SentenceMetadata\"\xaa\x01\n\x12VectorsetSentences\x12\x43\n\tsentences\x18\x01 \x03(\x0b\x32\x30.noderesources.VectorsetSentences.SentencesEntry\x1aO\n\x0eSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.VectorSentence:\x02\x38\x01\"\x8f\x01\n\x11ParagraphMetadata\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.noderesources.Position\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\x12\x35\n\x0erepresentation\x18\x03 \x01(\x0b\x32\x1d.noderesources.Representation\"\xff\x03\n\x0eIndexParagraph\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0e\n\x06labels\x18\x03 \x03(\t\x12?\n\tsentences\x18\x04 \x03(\x0b\x32,.noderesources.IndexParagraph.SentencesEntry\x12T\n\x14vectorsets_sentences\x18\n \x03(\x0b\x32\x36.noderesources.IndexParagraph.VectorsetsSentencesEntry\x12\r\n\x05\x66ield\x18\x05 \x01(\t\x12\r\n\x05split\x18\x06 \x01(\t\x12\r\n\x05index\x18\x07 \x01(\x04\x12\x19\n\x11repeated_in_field\x18\x08 \x01(\x08\x12\x32\n\x08metadata\x18\t \x01(\x0b\x32 .noderesources.ParagraphMetadata\x1aO\n\x0eSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.VectorSentence:\x02\x38\x01\x1a]\n\x18VectorsetsSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.noderesources.VectorsetSentences:\x02\x38\x01\"G\n\x0bVectorSetID\x12%\n\x05shard\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x11\n\tvectorset\x18\x02 \x01(\t\"J\n\rVectorSetList\x12%\n\x05shard\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x12\n\nvectorsets\x18\x02 \x03(\t\"\xa7\x01\n\x0fIndexParagraphs\x12\x42\n\nparagraphs\x18\x01 \x03(\x0b\x32..noderesources.IndexParagraphs.ParagraphsEntry\x1aP\n\x0fParagraphsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.IndexParagraph:\x02\x38\x01\"\x83\x0b\n\x08Resource\x12+\n\x08resource\x18\x01 \x01(\x0b\x32\x19.noderesources.ResourceID\x12.\n\x08metadata\x18\x02 \x01(\x0b\x32\x1c.noderesources.IndexMetadata\x12\x31\n\x05texts\x18\x03 \x03(\x0b\x32\".noderesources.Resource.TextsEntry\x12\x0e\n\x06labels\x18\x04 \x03(\t\x12\x36\n\x06status\x18\x05 \x01(\x0e\x32&.noderesources.Resource.ResourceStatus\x12;\n\nparagraphs\x18\x06 \x03(\x0b\x32\'.noderesources.Resource.ParagraphsEntry\x12\x1c\n\x14paragraphs_to_delete\x18\x07 \x03(\t\x12\x1f\n\x13sentences_to_delete\x18\x08 \x03(\tB\x02\x18\x01\x12V\n\x19vector_prefixes_to_delete\x18\x0f \x03(\x0b\x32\x33.noderesources.Resource.VectorPrefixesToDeleteEntry\x12!\n\x19relation_fields_to_delete\x18\x10 \x03(\t\x12\x17\n\x0ftexts_to_delete\x18\x11 \x03(\t\x12\x44\n\x0f\x66ield_relations\x18\n \x03(\x0b\x32+.noderesources.Resource.FieldRelationsEntry\x12\x10\n\x08shard_id\x18\x0b \x01(\t\x12\x39\n\x07vectors\x18\x0c \x03(\x0b\x32$.noderesources.Resource.VectorsEntryB\x02\x18\x01\x12K\n\x11vectors_to_delete\x18\r \x03(\x0b\x32,.noderesources.Resource.VectorsToDeleteEntryB\x02\x18\x01\x12&\n\x08security\x18\x0e \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x12\n\nskip_texts\x18\x12 \x01(\x08\x12\x17\n\x0fskip_paragraphs\x18\x13 \x01(\x08\x1aL\n\nTextsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.noderesources.TextInformation:\x02\x38\x01\x1aQ\n\x0fParagraphsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.noderesources.IndexParagraphs:\x02\x38\x01\x1aX\n\x1bVectorPrefixesToDeleteEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.noderesources.StringList:\x02\x38\x01\x1aT\n\x13\x46ieldRelationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.IndexRelations:\x02\x38\x01\x1a\x42\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.utils.UserVectors:\x02\x38\x01\x1aN\n\x14VectorsToDeleteEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.utils.UserVectorsList:\x02\x38\x01\"h\n\x0eResourceStatus\x12\r\n\tPROCESSED\x10\x00\x12\t\n\x05\x45MPTY\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\x0b\n\x07PENDING\x10\x04\x12\x0b\n\x07\x42LOCKED\x10\x05\x12\x0b\n\x07\x45XPIRED\x10\x06\x42\x0b\n\t_security\"M\n\rShardMetadata\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12.\n\x0frelease_channel\x18\x02 \x01(\x0e\x32\x15.utils.ReleaseChannel\"\x1b\n\nStringList\x12\r\n\x05items\x18\x01 \x03(\t\"x\n\rIndexRelation\x12!\n\x08relation\x18\x01 \x01(\x0b\x32\x0f.utils.Relation\x12\x1e\n\x11resource_field_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\tB\x14\n\x12_resource_field_id\"A\n\x0eIndexRelations\x12/\n\trelations\x18\x01 \x03(\x0b\x32\x1c.noderesources.IndexRelationP\x01\x62\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fnidx_protos/noderesources.proto\x12\rnoderesources\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bnucliadb_protos/utils.proto\"/\n\x0fTextInformation\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06labels\x18\x02 \x03(\t\"j\n\rIndexMetadata\x12,\n\x08modified\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x63reated\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x15\n\x07ShardId\x12\n\n\x02id\x18\x01 \x01(\t\"/\n\x08ShardIds\x12#\n\x03ids\x18\x01 \x03(\x0b\x32\x16.noderesources.ShardId\"2\n\x0cShardCreated\x12\n\n\x02id\x18\x01 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\",\n\nResourceID\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"\x94\x01\n\x05Shard\x12.\n\x08metadata\x18\x05 \x01(\x0b\x32\x1c.noderesources.ShardMetadata\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x0e\n\x06\x66ields\x18\x02 \x01(\x04\x12\x12\n\nparagraphs\x18\x03 \x01(\x04\x12\x11\n\tsentences\x18\x04 \x01(\x04\x12\x12\n\nsize_bytes\x18\x06 \x01(\x04\"\x0c\n\nEmptyQuery\"\x87\x01\n\x08Position\x12\r\n\x05index\x18\x01 \x01(\x04\x12\r\n\x05start\x18\x02 \x01(\x04\x12\x0b\n\x03\x65nd\x18\x03 \x01(\x04\x12\x13\n\x0bpage_number\x18\x04 \x01(\x04\x12\x0f\n\x07in_page\x18\x07 \x01(\x08\x12\x15\n\rstart_seconds\x18\x05 \x03(\r\x12\x13\n\x0b\x65nd_seconds\x18\x06 \x03(\r\"2\n\x0eRepresentation\x12\x12\n\nis_a_table\x18\x01 \x01(\x08\x12\x0c\n\x04\x66ile\x18\x02 \x01(\t\"\x8e\x01\n\x10SentenceMetadata\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.noderesources.Position\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\x12\x35\n\x0erepresentation\x18\x03 \x01(\x0b\x32\x1d.noderesources.Representation\"S\n\x0eVectorSentence\x12\x0e\n\x06vector\x18\x01 \x03(\x02\x12\x31\n\x08metadata\x18\t \x01(\x0b\x32\x1f.noderesources.SentenceMetadata\"\xaa\x01\n\x12VectorsetSentences\x12\x43\n\tsentences\x18\x01 \x03(\x0b\x32\x30.noderesources.VectorsetSentences.SentencesEntry\x1aO\n\x0eSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.VectorSentence:\x02\x38\x01\"\x8f\x01\n\x11ParagraphMetadata\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.noderesources.Position\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\x12\x35\n\x0erepresentation\x18\x03 \x01(\x0b\x32\x1d.noderesources.Representation\"\xff\x03\n\x0eIndexParagraph\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0e\n\x06labels\x18\x03 \x03(\t\x12?\n\tsentences\x18\x04 \x03(\x0b\x32,.noderesources.IndexParagraph.SentencesEntry\x12T\n\x14vectorsets_sentences\x18\n \x03(\x0b\x32\x36.noderesources.IndexParagraph.VectorsetsSentencesEntry\x12\r\n\x05\x66ield\x18\x05 \x01(\t\x12\r\n\x05split\x18\x06 \x01(\t\x12\r\n\x05index\x18\x07 \x01(\x04\x12\x19\n\x11repeated_in_field\x18\x08 \x01(\x08\x12\x32\n\x08metadata\x18\t \x01(\x0b\x32 .noderesources.ParagraphMetadata\x1aO\n\x0eSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.VectorSentence:\x02\x38\x01\x1a]\n\x18VectorsetsSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.noderesources.VectorsetSentences:\x02\x38\x01\"G\n\x0bVectorSetID\x12%\n\x05shard\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x11\n\tvectorset\x18\x02 \x01(\t\"J\n\rVectorSetList\x12%\n\x05shard\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x12\n\nvectorsets\x18\x02 \x03(\t\"\xa7\x01\n\x0fIndexParagraphs\x12\x42\n\nparagraphs\x18\x01 \x03(\x0b\x32..noderesources.IndexParagraphs.ParagraphsEntry\x1aP\n\x0fParagraphsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.IndexParagraph:\x02\x38\x01\"\xff\x08\n\x08Resource\x12+\n\x08resource\x18\x01 \x01(\x0b\x32\x19.noderesources.ResourceID\x12.\n\x08metadata\x18\x02 \x01(\x0b\x32\x1c.noderesources.IndexMetadata\x12\x31\n\x05texts\x18\x03 \x03(\x0b\x32\".noderesources.Resource.TextsEntry\x12\x0e\n\x06labels\x18\x04 \x03(\t\x12\x36\n\x06status\x18\x05 \x01(\x0e\x32&.noderesources.Resource.ResourceStatus\x12;\n\nparagraphs\x18\x06 \x03(\x0b\x32\'.noderesources.Resource.ParagraphsEntry\x12\x1c\n\x14paragraphs_to_delete\x18\x07 \x03(\t\x12+\n#vectors_to_delete_in_all_vectorsets\x18\x08 \x03(\t\x12V\n\x19vector_prefixes_to_delete\x18\x0f \x03(\x0b\x32\x33.noderesources.Resource.VectorPrefixesToDeleteEntry\x12!\n\x19relation_fields_to_delete\x18\x10 \x03(\t\x12\x17\n\x0ftexts_to_delete\x18\x11 \x03(\t\x12\x44\n\x0f\x66ield_relations\x18\n \x03(\x0b\x32+.noderesources.Resource.FieldRelationsEntry\x12\x10\n\x08shard_id\x18\x0b \x01(\t\x12&\n\x08security\x18\x0e \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x12\n\nskip_texts\x18\x12 \x01(\x08\x12\x17\n\x0fskip_paragraphs\x18\x13 \x01(\x08\x1aL\n\nTextsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.noderesources.TextInformation:\x02\x38\x01\x1aQ\n\x0fParagraphsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.noderesources.IndexParagraphs:\x02\x38\x01\x1aX\n\x1bVectorPrefixesToDeleteEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.noderesources.StringList:\x02\x38\x01\x1aT\n\x13\x46ieldRelationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.IndexRelations:\x02\x38\x01\"h\n\x0eResourceStatus\x12\r\n\tPROCESSED\x10\x00\x12\t\n\x05\x45MPTY\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\x0b\n\x07PENDING\x10\x04\x12\x0b\n\x07\x42LOCKED\x10\x05\x12\x0b\n\x07\x45XPIRED\x10\x06\x42\x0b\n\t_securityJ\x04\x08\x0c\x10\rJ\x04\x08\r\x10\x0e\"#\n\rShardMetadata\x12\x0c\n\x04kbid\x18\x01 \x01(\tJ\x04\x08\x02\x10\x03\"\x1b\n\nStringList\x12\r\n\x05items\x18\x01 \x03(\t\"x\n\rIndexRelation\x12!\n\x08relation\x18\x01 \x01(\x0b\x32\x0f.utils.Relation\x12\x1e\n\x11resource_field_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\tB\x14\n\x12_resource_field_id\"A\n\x0eIndexRelations\x12/\n\trelations\x18\x01 \x03(\x0b\x32\x1c.noderesources.IndexRelationP\x01\x62\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -50,16 +50,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
50
50
  _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_options = b'8\001'
51
51
  _globals['_RESOURCE_FIELDRELATIONSENTRY']._loaded_options = None
52
52
  _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_options = b'8\001'
53
- _globals['_RESOURCE_VECTORSENTRY']._loaded_options = None
54
- _globals['_RESOURCE_VECTORSENTRY']._serialized_options = b'8\001'
55
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._loaded_options = None
56
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_options = b'8\001'
57
- _globals['_RESOURCE'].fields_by_name['sentences_to_delete']._loaded_options = None
58
- _globals['_RESOURCE'].fields_by_name['sentences_to_delete']._serialized_options = b'\030\001'
59
- _globals['_RESOURCE'].fields_by_name['vectors']._loaded_options = None
60
- _globals['_RESOURCE'].fields_by_name['vectors']._serialized_options = b'\030\001'
61
- _globals['_RESOURCE'].fields_by_name['vectors_to_delete']._loaded_options = None
62
- _globals['_RESOURCE'].fields_by_name['vectors_to_delete']._serialized_options = b'\030\001'
63
53
  _globals['_TEXTINFORMATION']._serialized_start=112
64
54
  _globals['_TEXTINFORMATION']._serialized_end=159
65
55
  _globals['_INDEXMETADATA']._serialized_start=161
@@ -68,72 +58,60 @@ if not _descriptor._USE_C_DESCRIPTORS:
68
58
  _globals['_SHARDID']._serialized_end=290
69
59
  _globals['_SHARDIDS']._serialized_start=292
70
60
  _globals['_SHARDIDS']._serialized_end=339
71
- _globals['_SHARDCREATED']._serialized_start=342
72
- _globals['_SHARDCREATED']._serialized_end=946
73
- _globals['_SHARDCREATED_DOCUMENTSERVICE']._serialized_start=652
74
- _globals['_SHARDCREATED_DOCUMENTSERVICE']._serialized_end=737
75
- _globals['_SHARDCREATED_PARAGRAPHSERVICE']._serialized_start=739
76
- _globals['_SHARDCREATED_PARAGRAPHSERVICE']._serialized_end=829
77
- _globals['_SHARDCREATED_VECTORSERVICE']._serialized_start=831
78
- _globals['_SHARDCREATED_VECTORSERVICE']._serialized_end=876
79
- _globals['_SHARDCREATED_RELATIONSERVICE']._serialized_start=878
80
- _globals['_SHARDCREATED_RELATIONSERVICE']._serialized_end=946
81
- _globals['_RESOURCEID']._serialized_start=948
82
- _globals['_RESOURCEID']._serialized_end=992
83
- _globals['_SHARD']._serialized_start=995
84
- _globals['_SHARD']._serialized_end=1143
85
- _globals['_EMPTYQUERY']._serialized_start=1145
86
- _globals['_EMPTYQUERY']._serialized_end=1157
87
- _globals['_POSITION']._serialized_start=1160
88
- _globals['_POSITION']._serialized_end=1295
89
- _globals['_REPRESENTATION']._serialized_start=1297
90
- _globals['_REPRESENTATION']._serialized_end=1347
91
- _globals['_SENTENCEMETADATA']._serialized_start=1350
92
- _globals['_SENTENCEMETADATA']._serialized_end=1492
93
- _globals['_VECTORSENTENCE']._serialized_start=1494
94
- _globals['_VECTORSENTENCE']._serialized_end=1577
95
- _globals['_VECTORSETSENTENCES']._serialized_start=1580
96
- _globals['_VECTORSETSENTENCES']._serialized_end=1750
97
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_start=1671
98
- _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_end=1750
99
- _globals['_PARAGRAPHMETADATA']._serialized_start=1753
100
- _globals['_PARAGRAPHMETADATA']._serialized_end=1896
101
- _globals['_INDEXPARAGRAPH']._serialized_start=1899
102
- _globals['_INDEXPARAGRAPH']._serialized_end=2410
103
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_start=1671
104
- _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_end=1750
105
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_start=2317
106
- _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_end=2410
107
- _globals['_VECTORSETID']._serialized_start=2412
108
- _globals['_VECTORSETID']._serialized_end=2483
109
- _globals['_VECTORSETLIST']._serialized_start=2485
110
- _globals['_VECTORSETLIST']._serialized_end=2559
111
- _globals['_INDEXPARAGRAPHS']._serialized_start=2562
112
- _globals['_INDEXPARAGRAPHS']._serialized_end=2729
113
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_start=2649
114
- _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_end=2729
115
- _globals['_RESOURCE']._serialized_start=2732
116
- _globals['_RESOURCE']._serialized_end=4143
117
- _globals['_RESOURCE_TEXTSENTRY']._serialized_start=3541
118
- _globals['_RESOURCE_TEXTSENTRY']._serialized_end=3617
119
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_start=3619
120
- _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_end=3700
121
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_start=3702
122
- _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_end=3790
123
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_start=3792
124
- _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_end=3876
125
- _globals['_RESOURCE_VECTORSENTRY']._serialized_start=3878
126
- _globals['_RESOURCE_VECTORSENTRY']._serialized_end=3944
127
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_start=3946
128
- _globals['_RESOURCE_VECTORSTODELETEENTRY']._serialized_end=4024
129
- _globals['_RESOURCE_RESOURCESTATUS']._serialized_start=4026
130
- _globals['_RESOURCE_RESOURCESTATUS']._serialized_end=4130
131
- _globals['_SHARDMETADATA']._serialized_start=4145
132
- _globals['_SHARDMETADATA']._serialized_end=4222
133
- _globals['_STRINGLIST']._serialized_start=4224
134
- _globals['_STRINGLIST']._serialized_end=4251
135
- _globals['_INDEXRELATION']._serialized_start=4253
136
- _globals['_INDEXRELATION']._serialized_end=4373
137
- _globals['_INDEXRELATIONS']._serialized_start=4375
138
- _globals['_INDEXRELATIONS']._serialized_end=4440
61
+ _globals['_SHARDCREATED']._serialized_start=341
62
+ _globals['_SHARDCREATED']._serialized_end=391
63
+ _globals['_RESOURCEID']._serialized_start=393
64
+ _globals['_RESOURCEID']._serialized_end=437
65
+ _globals['_SHARD']._serialized_start=440
66
+ _globals['_SHARD']._serialized_end=588
67
+ _globals['_EMPTYQUERY']._serialized_start=590
68
+ _globals['_EMPTYQUERY']._serialized_end=602
69
+ _globals['_POSITION']._serialized_start=605
70
+ _globals['_POSITION']._serialized_end=740
71
+ _globals['_REPRESENTATION']._serialized_start=742
72
+ _globals['_REPRESENTATION']._serialized_end=792
73
+ _globals['_SENTENCEMETADATA']._serialized_start=795
74
+ _globals['_SENTENCEMETADATA']._serialized_end=937
75
+ _globals['_VECTORSENTENCE']._serialized_start=939
76
+ _globals['_VECTORSENTENCE']._serialized_end=1022
77
+ _globals['_VECTORSETSENTENCES']._serialized_start=1025
78
+ _globals['_VECTORSETSENTENCES']._serialized_end=1195
79
+ _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_start=1116
80
+ _globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_end=1195
81
+ _globals['_PARAGRAPHMETADATA']._serialized_start=1198
82
+ _globals['_PARAGRAPHMETADATA']._serialized_end=1341
83
+ _globals['_INDEXPARAGRAPH']._serialized_start=1344
84
+ _globals['_INDEXPARAGRAPH']._serialized_end=1855
85
+ _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_start=1116
86
+ _globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_end=1195
87
+ _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_start=1762
88
+ _globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_end=1855
89
+ _globals['_VECTORSETID']._serialized_start=1857
90
+ _globals['_VECTORSETID']._serialized_end=1928
91
+ _globals['_VECTORSETLIST']._serialized_start=1930
92
+ _globals['_VECTORSETLIST']._serialized_end=2004
93
+ _globals['_INDEXPARAGRAPHS']._serialized_start=2007
94
+ _globals['_INDEXPARAGRAPHS']._serialized_end=2174
95
+ _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_start=2094
96
+ _globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_end=2174
97
+ _globals['_RESOURCE']._serialized_start=2177
98
+ _globals['_RESOURCE']._serialized_end=3328
99
+ _globals['_RESOURCE_TEXTSENTRY']._serialized_start=2862
100
+ _globals['_RESOURCE_TEXTSENTRY']._serialized_end=2938
101
+ _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_start=2940
102
+ _globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_end=3021
103
+ _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_start=3023
104
+ _globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_end=3111
105
+ _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_start=3113
106
+ _globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_end=3197
107
+ _globals['_RESOURCE_RESOURCESTATUS']._serialized_start=3199
108
+ _globals['_RESOURCE_RESOURCESTATUS']._serialized_end=3303
109
+ _globals['_SHARDMETADATA']._serialized_start=3330
110
+ _globals['_SHARDMETADATA']._serialized_end=3365
111
+ _globals['_STRINGLIST']._serialized_start=3367
112
+ _globals['_STRINGLIST']._serialized_end=3394
113
+ _globals['_INDEXRELATION']._serialized_start=3396
114
+ _globals['_INDEXRELATION']._serialized_end=3516
115
+ _globals['_INDEXRELATIONS']._serialized_start=3518
116
+ _globals['_INDEXRELATIONS']._serialized_end=3583
139
117
  # @@protoc_insertion_point(module_scope)
@@ -21,13 +21,10 @@ else:
21
21
  from nucliadb_protos.utils_pb2 import (
22
22
  COSINE as COSINE,
23
23
  DOT as DOT,
24
- EXPERIMENTAL as EXPERIMENTAL,
25
24
  ExtractedText as ExtractedText,
26
25
  Relation as Relation,
27
26
  RelationMetadata as RelationMetadata,
28
27
  RelationNode as RelationNode,
29
- ReleaseChannel as ReleaseChannel,
30
- STABLE as STABLE,
31
28
  Security as Security,
32
29
  UserVector as UserVector,
33
30
  UserVectorSet as UserVectorSet,
@@ -120,88 +117,14 @@ global___ShardIds = ShardIds
120
117
  class ShardCreated(google.protobuf.message.Message):
121
118
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
122
119
 
123
- class _DocumentService:
124
- ValueType = typing.NewType("ValueType", builtins.int)
125
- V: typing_extensions.TypeAlias = ValueType
126
-
127
- class _DocumentServiceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShardCreated._DocumentService.ValueType], builtins.type):
128
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
129
- DOCUMENT_V0: ShardCreated._DocumentService.ValueType # 0
130
- DOCUMENT_V1: ShardCreated._DocumentService.ValueType # 1
131
- DOCUMENT_V2: ShardCreated._DocumentService.ValueType # 2
132
- DOCUMENT_V3: ShardCreated._DocumentService.ValueType # 3
133
-
134
- class DocumentService(_DocumentService, metaclass=_DocumentServiceEnumTypeWrapper): ...
135
- DOCUMENT_V0: ShardCreated.DocumentService.ValueType # 0
136
- DOCUMENT_V1: ShardCreated.DocumentService.ValueType # 1
137
- DOCUMENT_V2: ShardCreated.DocumentService.ValueType # 2
138
- DOCUMENT_V3: ShardCreated.DocumentService.ValueType # 3
139
-
140
- class _ParagraphService:
141
- ValueType = typing.NewType("ValueType", builtins.int)
142
- V: typing_extensions.TypeAlias = ValueType
143
-
144
- class _ParagraphServiceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShardCreated._ParagraphService.ValueType], builtins.type):
145
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
146
- PARAGRAPH_V0: ShardCreated._ParagraphService.ValueType # 0
147
- PARAGRAPH_V1: ShardCreated._ParagraphService.ValueType # 1
148
- PARAGRAPH_V2: ShardCreated._ParagraphService.ValueType # 2
149
- PARAGRAPH_V3: ShardCreated._ParagraphService.ValueType # 3
150
-
151
- class ParagraphService(_ParagraphService, metaclass=_ParagraphServiceEnumTypeWrapper): ...
152
- PARAGRAPH_V0: ShardCreated.ParagraphService.ValueType # 0
153
- PARAGRAPH_V1: ShardCreated.ParagraphService.ValueType # 1
154
- PARAGRAPH_V2: ShardCreated.ParagraphService.ValueType # 2
155
- PARAGRAPH_V3: ShardCreated.ParagraphService.ValueType # 3
156
-
157
- class _VectorService:
158
- ValueType = typing.NewType("ValueType", builtins.int)
159
- V: typing_extensions.TypeAlias = ValueType
160
-
161
- class _VectorServiceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShardCreated._VectorService.ValueType], builtins.type):
162
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
163
- VECTOR_V0: ShardCreated._VectorService.ValueType # 0
164
- VECTOR_V1: ShardCreated._VectorService.ValueType # 1
165
-
166
- class VectorService(_VectorService, metaclass=_VectorServiceEnumTypeWrapper): ...
167
- VECTOR_V0: ShardCreated.VectorService.ValueType # 0
168
- VECTOR_V1: ShardCreated.VectorService.ValueType # 1
169
-
170
- class _RelationService:
171
- ValueType = typing.NewType("ValueType", builtins.int)
172
- V: typing_extensions.TypeAlias = ValueType
173
-
174
- class _RelationServiceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShardCreated._RelationService.ValueType], builtins.type):
175
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
176
- RELATION_V0: ShardCreated._RelationService.ValueType # 0
177
- RELATION_V1: ShardCreated._RelationService.ValueType # 1
178
- RELATION_V2: ShardCreated._RelationService.ValueType # 2
179
-
180
- class RelationService(_RelationService, metaclass=_RelationServiceEnumTypeWrapper): ...
181
- RELATION_V0: ShardCreated.RelationService.ValueType # 0
182
- RELATION_V1: ShardCreated.RelationService.ValueType # 1
183
- RELATION_V2: ShardCreated.RelationService.ValueType # 2
184
-
185
120
  ID_FIELD_NUMBER: builtins.int
186
- DOCUMENT_SERVICE_FIELD_NUMBER: builtins.int
187
- PARAGRAPH_SERVICE_FIELD_NUMBER: builtins.int
188
- VECTOR_SERVICE_FIELD_NUMBER: builtins.int
189
- RELATION_SERVICE_FIELD_NUMBER: builtins.int
190
121
  id: builtins.str
191
- document_service: global___ShardCreated.DocumentService.ValueType
192
- paragraph_service: global___ShardCreated.ParagraphService.ValueType
193
- vector_service: global___ShardCreated.VectorService.ValueType
194
- relation_service: global___ShardCreated.RelationService.ValueType
195
122
  def __init__(
196
123
  self,
197
124
  *,
198
125
  id: builtins.str = ...,
199
- document_service: global___ShardCreated.DocumentService.ValueType = ...,
200
- paragraph_service: global___ShardCreated.ParagraphService.ValueType = ...,
201
- vector_service: global___ShardCreated.VectorService.ValueType = ...,
202
- relation_service: global___ShardCreated.RelationService.ValueType = ...,
203
126
  ) -> None: ...
204
- def ClearField(self, field_name: typing.Literal["document_service", b"document_service", "id", b"id", "paragraph_service", b"paragraph_service", "relation_service", b"relation_service", "vector_service", b"vector_service"]) -> None: ...
127
+ def ClearField(self, field_name: typing.Literal["id", b"id"]) -> None: ...
205
128
 
206
129
  global___ShardCreated = ShardCreated
207
130
 
@@ -280,7 +203,10 @@ class Position(google.protobuf.message.Message):
280
203
  start: builtins.int
281
204
  end: builtins.int
282
205
  page_number: builtins.int
283
- """For pdfs/documents only"""
206
+ """For pdfs/documents only
207
+ FIXME: this should be an optional, otherwise the Python bindings always
208
+ output a default page 0, false information in most of the cases
209
+ """
284
210
  in_page: builtins.bool
285
211
  @property
286
212
  def start_seconds(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
@@ -694,42 +620,6 @@ class Resource(google.protobuf.message.Message):
694
620
  def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
695
621
  def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
696
622
 
697
- @typing.final
698
- class VectorsEntry(google.protobuf.message.Message):
699
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
700
-
701
- KEY_FIELD_NUMBER: builtins.int
702
- VALUE_FIELD_NUMBER: builtins.int
703
- key: builtins.str
704
- @property
705
- def value(self) -> nucliadb_protos.utils_pb2.UserVectors: ...
706
- def __init__(
707
- self,
708
- *,
709
- key: builtins.str = ...,
710
- value: nucliadb_protos.utils_pb2.UserVectors | None = ...,
711
- ) -> None: ...
712
- def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
713
- def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
714
-
715
- @typing.final
716
- class VectorsToDeleteEntry(google.protobuf.message.Message):
717
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
718
-
719
- KEY_FIELD_NUMBER: builtins.int
720
- VALUE_FIELD_NUMBER: builtins.int
721
- key: builtins.str
722
- @property
723
- def value(self) -> nucliadb_protos.utils_pb2.UserVectorsList: ...
724
- def __init__(
725
- self,
726
- *,
727
- key: builtins.str = ...,
728
- value: nucliadb_protos.utils_pb2.UserVectorsList | None = ...,
729
- ) -> None: ...
730
- def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
731
- def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
732
-
733
623
  RESOURCE_FIELD_NUMBER: builtins.int
734
624
  METADATA_FIELD_NUMBER: builtins.int
735
625
  TEXTS_FIELD_NUMBER: builtins.int
@@ -737,14 +627,12 @@ class Resource(google.protobuf.message.Message):
737
627
  STATUS_FIELD_NUMBER: builtins.int
738
628
  PARAGRAPHS_FIELD_NUMBER: builtins.int
739
629
  PARAGRAPHS_TO_DELETE_FIELD_NUMBER: builtins.int
740
- SENTENCES_TO_DELETE_FIELD_NUMBER: builtins.int
630
+ VECTORS_TO_DELETE_IN_ALL_VECTORSETS_FIELD_NUMBER: builtins.int
741
631
  VECTOR_PREFIXES_TO_DELETE_FIELD_NUMBER: builtins.int
742
632
  RELATION_FIELDS_TO_DELETE_FIELD_NUMBER: builtins.int
743
633
  TEXTS_TO_DELETE_FIELD_NUMBER: builtins.int
744
634
  FIELD_RELATIONS_FIELD_NUMBER: builtins.int
745
635
  SHARD_ID_FIELD_NUMBER: builtins.int
746
- VECTORS_FIELD_NUMBER: builtins.int
747
- VECTORS_TO_DELETE_FIELD_NUMBER: builtins.int
748
636
  SECURITY_FIELD_NUMBER: builtins.int
749
637
  SKIP_TEXTS_FIELD_NUMBER: builtins.int
750
638
  SKIP_PARAGRAPHS_FIELD_NUMBER: builtins.int
@@ -780,14 +668,14 @@ class Resource(google.protobuf.message.Message):
780
668
  @property
781
669
  def paragraphs_to_delete(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
782
670
  @property
783
- def sentences_to_delete(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
784
- """DEPRECATED: replaced by vector_prefixes_to_delete in order to support
785
- updates on a subset of the available vectorsets
786
- """
671
+ def vectors_to_delete_in_all_vectorsets(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
672
+ """Delete in all vectorsets (e.g: resource deletion)"""
787
673
 
788
674
  @property
789
675
  def vector_prefixes_to_delete(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___StringList]:
790
- """vectorset_id -> [vector_key_prefix, ...]"""
676
+ """Delete in some vectorsets (e.g: updating some vectors)
677
+ vectorset_id -> [vector_key_prefix, ...]
678
+ """
791
679
 
792
680
  @property
793
681
  def relation_fields_to_delete(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
@@ -797,14 +685,6 @@ class Resource(google.protobuf.message.Message):
797
685
  def field_relations(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___IndexRelations]:
798
686
  """Relations"""
799
687
 
800
- @property
801
- def vectors(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, nucliadb_protos.utils_pb2.UserVectors]:
802
- """vectorset is the key"""
803
-
804
- @property
805
- def vectors_to_delete(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, nucliadb_protos.utils_pb2.UserVectorsList]:
806
- """Vectorset prefix vector id"""
807
-
808
688
  @property
809
689
  def security(self) -> nucliadb_protos.utils_pb2.Security: ...
810
690
  def __init__(
@@ -817,20 +697,18 @@ class Resource(google.protobuf.message.Message):
817
697
  status: global___Resource.ResourceStatus.ValueType = ...,
818
698
  paragraphs: collections.abc.Mapping[builtins.str, global___IndexParagraphs] | None = ...,
819
699
  paragraphs_to_delete: collections.abc.Iterable[builtins.str] | None = ...,
820
- sentences_to_delete: collections.abc.Iterable[builtins.str] | None = ...,
700
+ vectors_to_delete_in_all_vectorsets: collections.abc.Iterable[builtins.str] | None = ...,
821
701
  vector_prefixes_to_delete: collections.abc.Mapping[builtins.str, global___StringList] | None = ...,
822
702
  relation_fields_to_delete: collections.abc.Iterable[builtins.str] | None = ...,
823
703
  texts_to_delete: collections.abc.Iterable[builtins.str] | None = ...,
824
704
  field_relations: collections.abc.Mapping[builtins.str, global___IndexRelations] | None = ...,
825
705
  shard_id: builtins.str = ...,
826
- vectors: collections.abc.Mapping[builtins.str, nucliadb_protos.utils_pb2.UserVectors] | None = ...,
827
- vectors_to_delete: collections.abc.Mapping[builtins.str, nucliadb_protos.utils_pb2.UserVectorsList] | None = ...,
828
706
  security: nucliadb_protos.utils_pb2.Security | None = ...,
829
707
  skip_texts: builtins.bool = ...,
830
708
  skip_paragraphs: builtins.bool = ...,
831
709
  ) -> None: ...
832
710
  def HasField(self, field_name: typing.Literal["_security", b"_security", "metadata", b"metadata", "resource", b"resource", "security", b"security"]) -> builtins.bool: ...
833
- def ClearField(self, field_name: typing.Literal["_security", b"_security", "field_relations", b"field_relations", "labels", b"labels", "metadata", b"metadata", "paragraphs", b"paragraphs", "paragraphs_to_delete", b"paragraphs_to_delete", "relation_fields_to_delete", b"relation_fields_to_delete", "resource", b"resource", "security", b"security", "sentences_to_delete", b"sentences_to_delete", "shard_id", b"shard_id", "skip_paragraphs", b"skip_paragraphs", "skip_texts", b"skip_texts", "status", b"status", "texts", b"texts", "texts_to_delete", b"texts_to_delete", "vector_prefixes_to_delete", b"vector_prefixes_to_delete", "vectors", b"vectors", "vectors_to_delete", b"vectors_to_delete"]) -> None: ...
711
+ def ClearField(self, field_name: typing.Literal["_security", b"_security", "field_relations", b"field_relations", "labels", b"labels", "metadata", b"metadata", "paragraphs", b"paragraphs", "paragraphs_to_delete", b"paragraphs_to_delete", "relation_fields_to_delete", b"relation_fields_to_delete", "resource", b"resource", "security", b"security", "shard_id", b"shard_id", "skip_paragraphs", b"skip_paragraphs", "skip_texts", b"skip_texts", "status", b"status", "texts", b"texts", "texts_to_delete", b"texts_to_delete", "vector_prefixes_to_delete", b"vector_prefixes_to_delete", "vectors_to_delete_in_all_vectorsets", b"vectors_to_delete_in_all_vectorsets"]) -> None: ...
834
712
  def WhichOneof(self, oneof_group: typing.Literal["_security", b"_security"]) -> typing.Literal["security"] | None: ...
835
713
 
836
714
  global___Resource = Resource
@@ -840,16 +718,13 @@ class ShardMetadata(google.protobuf.message.Message):
840
718
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
841
719
 
842
720
  KBID_FIELD_NUMBER: builtins.int
843
- RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
844
721
  kbid: builtins.str
845
- release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType
846
722
  def __init__(
847
723
  self,
848
724
  *,
849
725
  kbid: builtins.str = ...,
850
- release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType = ...,
851
726
  ) -> None: ...
852
- def ClearField(self, field_name: typing.Literal["kbid", b"kbid", "release_channel", b"release_channel"]) -> None: ...
727
+ def ClearField(self, field_name: typing.Literal["kbid", b"kbid"]) -> None: ...
853
728
 
854
729
  global___ShardMetadata = ShardMetadata
855
730
 
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: nidx_protos/nodewriter.proto
5
- # Protobuf Python Version: 5.29.0
5
+ # Protobuf Python Version: 6.31.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
14
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'nidx_protos/nodewriter.proto'
19
19
  )
@@ -30,51 +30,33 @@ except AttributeError:
30
30
 
31
31
  from nidx_protos.noderesources_pb2 import *
32
32
 
33
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnidx_protos/nodewriter.proto\x12\nnodewriter\x1a\x1fnidx_protos/noderesources.proto\"\xd9\x01\n\x08OpStatus\x12+\n\x06status\x18\x01 \x01(\x0e\x32\x1b.nodewriter.OpStatus.Status\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\x12\x17\n\x0b\x66ield_count\x18\x03 \x01(\x04\x42\x02\x18\x01\x12\x1b\n\x0fparagraph_count\x18\x05 \x01(\x04\x42\x02\x18\x01\x12\x1a\n\x0esentence_count\x18\x06 \x01(\x04\x42\x02\x18\x01\x12\x14\n\x08shard_id\x18\x04 \x01(\tB\x02\x18\x01\"(\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0b\n\x07WARNING\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"\x86\x02\n\x0cIndexMessage\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\r\n\x05shard\x18\x02 \x01(\t\x12\x0c\n\x04txid\x18\x03 \x01(\x04\x12\x10\n\x08resource\x18\x04 \x01(\t\x12,\n\x0btypemessage\x18\x05 \x01(\x0e\x32\x17.nodewriter.TypeMessage\x12\x12\n\nreindex_id\x18\x06 \x01(\t\x12\x16\n\tpartition\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x0bstorage_key\x18\x08 \x01(\t\x12\x0c\n\x04kbid\x18\t \x01(\t\x12.\n\x06source\x18\n \x01(\x0e\x32\x1e.nodewriter.IndexMessageSourceB\x0c\n\n_partition\"\xbc\x01\n\x11VectorIndexConfig\x12+\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x19\n\x11normalize_vectors\x18\x02 \x01(\x08\x12+\n\x0bvector_type\x18\x03 \x01(\x0e\x32\x16.nodewriter.VectorType\x12\x1d\n\x10vector_dimension\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x13\n\x11_vector_dimension\"\x94\x03\n\x0fNewShardRequest\x12/\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarityB\x02\x18\x01\x12\x0c\n\x04kbid\x18\x02 \x01(\t\x12.\n\x0frelease_channel\x18\x03 \x01(\x0e\x32\x15.utils.ReleaseChannel\x12\x1d\n\x11normalize_vectors\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x31\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x1d.nodewriter.VectorIndexConfigB\x02\x18\x01\x12N\n\x12vectorsets_configs\x18\x06 \x03(\x0b\x32\x32.nodewriter.NewShardRequest.VectorsetsConfigsEntry\x12\x17\n\x0fprewarm_enabled\x18\x07 \x01(\x08\x1aW\n\x16VectorsetsConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.nodewriter.VectorIndexConfig:\x02\x38\x01\"\xbc\x01\n\x13NewVectorSetRequest\x12&\n\x02id\x18\x01 \x01(\x0b\x32\x1a.noderesources.VectorSetID\x12/\n\nsimilarity\x18\x02 \x01(\x0e\x32\x17.utils.VectorSimilarityB\x02\x18\x01\x12\x1d\n\x11normalize_vectors\x18\x03 \x01(\x08\x42\x02\x18\x01\x12-\n\x06\x63onfig\x18\x04 \x01(\x0b\x32\x1d.nodewriter.VectorIndexConfig*)\n\x0bTypeMessage\x12\x0c\n\x08\x43REATION\x10\x00\x12\x0c\n\x08\x44\x45LETION\x10\x01*/\n\x12IndexMessageSource\x12\r\n\tPROCESSOR\x10\x00\x12\n\n\x06WRITER\x10\x01*\x1b\n\nVectorType\x12\r\n\tDENSE_F32\x10\x00P\x00\x62\x06proto3')
33
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnidx_protos/nodewriter.proto\x12\nnodewriter\x1a\x1fnidx_protos/noderesources.proto\"\x89\x01\n\x08OpStatus\x12+\n\x06status\x18\x01 \x01(\x0e\x32\x1b.nodewriter.OpStatus.Status\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"(\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0b\n\x07WARNING\x10\x01\x12\t\n\x05\x45RROR\x10\x02J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x86\x02\n\x0cIndexMessage\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\r\n\x05shard\x18\x02 \x01(\t\x12\x0c\n\x04txid\x18\x03 \x01(\x04\x12\x10\n\x08resource\x18\x04 \x01(\t\x12,\n\x0btypemessage\x18\x05 \x01(\x0e\x32\x17.nodewriter.TypeMessage\x12\x12\n\nreindex_id\x18\x06 \x01(\t\x12\x16\n\tpartition\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x0bstorage_key\x18\x08 \x01(\t\x12\x0c\n\x04kbid\x18\t \x01(\t\x12.\n\x06source\x18\n \x01(\x0e\x32\x1e.nodewriter.IndexMessageSourceB\x0c\n\n_partition\"\xbc\x01\n\x11VectorIndexConfig\x12+\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x19\n\x11normalize_vectors\x18\x02 \x01(\x08\x12+\n\x0bvector_type\x18\x03 \x01(\x0e\x32\x16.nodewriter.VectorType\x12\x1d\n\x10vector_dimension\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x13\n\x11_vector_dimension\"\xf9\x01\n\x0fNewShardRequest\x12\x0c\n\x04kbid\x18\x02 \x01(\t\x12N\n\x12vectorsets_configs\x18\x06 \x03(\x0b\x32\x32.nodewriter.NewShardRequest.VectorsetsConfigsEntry\x12\x17\n\x0fprewarm_enabled\x18\x07 \x01(\x08\x1aW\n\x16VectorsetsConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.nodewriter.VectorIndexConfig:\x02\x38\x01J\x04\x08\x01\x10\x02J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"x\n\x13NewVectorSetRequest\x12&\n\x02id\x18\x01 \x01(\x0b\x32\x1a.noderesources.VectorSetID\x12-\n\x06\x63onfig\x18\x04 \x01(\x0b\x32\x1d.nodewriter.VectorIndexConfigJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04*)\n\x0bTypeMessage\x12\x0c\n\x08\x43REATION\x10\x00\x12\x0c\n\x08\x44\x45LETION\x10\x01*/\n\x12IndexMessageSource\x12\r\n\tPROCESSOR\x10\x00\x12\n\n\x06WRITER\x10\x01*\x1b\n\nVectorType\x12\r\n\tDENSE_F32\x10\x00P\x00\x62\x06proto3')
34
34
 
35
35
  _globals = globals()
36
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
37
37
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidx_protos.nodewriter_pb2', _globals)
38
38
  if not _descriptor._USE_C_DESCRIPTORS:
39
39
  DESCRIPTOR._loaded_options = None
40
- _globals['_OPSTATUS'].fields_by_name['field_count']._loaded_options = None
41
- _globals['_OPSTATUS'].fields_by_name['field_count']._serialized_options = b'\030\001'
42
- _globals['_OPSTATUS'].fields_by_name['paragraph_count']._loaded_options = None
43
- _globals['_OPSTATUS'].fields_by_name['paragraph_count']._serialized_options = b'\030\001'
44
- _globals['_OPSTATUS'].fields_by_name['sentence_count']._loaded_options = None
45
- _globals['_OPSTATUS'].fields_by_name['sentence_count']._serialized_options = b'\030\001'
46
- _globals['_OPSTATUS'].fields_by_name['shard_id']._loaded_options = None
47
- _globals['_OPSTATUS'].fields_by_name['shard_id']._serialized_options = b'\030\001'
48
40
  _globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._loaded_options = None
49
41
  _globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_options = b'8\001'
50
- _globals['_NEWSHARDREQUEST'].fields_by_name['similarity']._loaded_options = None
51
- _globals['_NEWSHARDREQUEST'].fields_by_name['similarity']._serialized_options = b'\030\001'
52
- _globals['_NEWSHARDREQUEST'].fields_by_name['normalize_vectors']._loaded_options = None
53
- _globals['_NEWSHARDREQUEST'].fields_by_name['normalize_vectors']._serialized_options = b'\030\001'
54
- _globals['_NEWSHARDREQUEST'].fields_by_name['config']._loaded_options = None
55
- _globals['_NEWSHARDREQUEST'].fields_by_name['config']._serialized_options = b'\030\001'
56
- _globals['_NEWVECTORSETREQUEST'].fields_by_name['similarity']._loaded_options = None
57
- _globals['_NEWVECTORSETREQUEST'].fields_by_name['similarity']._serialized_options = b'\030\001'
58
- _globals['_NEWVECTORSETREQUEST'].fields_by_name['normalize_vectors']._loaded_options = None
59
- _globals['_NEWVECTORSETREQUEST'].fields_by_name['normalize_vectors']._serialized_options = b'\030\001'
60
- _globals['_TYPEMESSAGE']._serialized_start=1351
61
- _globals['_TYPEMESSAGE']._serialized_end=1392
62
- _globals['_INDEXMESSAGESOURCE']._serialized_start=1394
63
- _globals['_INDEXMESSAGESOURCE']._serialized_end=1441
64
- _globals['_VECTORTYPE']._serialized_start=1443
65
- _globals['_VECTORTYPE']._serialized_end=1470
42
+ _globals['_TYPEMESSAGE']._serialized_start=1047
43
+ _globals['_TYPEMESSAGE']._serialized_end=1088
44
+ _globals['_INDEXMESSAGESOURCE']._serialized_start=1090
45
+ _globals['_INDEXMESSAGESOURCE']._serialized_end=1137
46
+ _globals['_VECTORTYPE']._serialized_start=1139
47
+ _globals['_VECTORTYPE']._serialized_end=1166
66
48
  _globals['_OPSTATUS']._serialized_start=78
67
- _globals['_OPSTATUS']._serialized_end=295
68
- _globals['_OPSTATUS_STATUS']._serialized_start=255
69
- _globals['_OPSTATUS_STATUS']._serialized_end=295
70
- _globals['_INDEXMESSAGE']._serialized_start=298
71
- _globals['_INDEXMESSAGE']._serialized_end=560
72
- _globals['_VECTORINDEXCONFIG']._serialized_start=563
73
- _globals['_VECTORINDEXCONFIG']._serialized_end=751
74
- _globals['_NEWSHARDREQUEST']._serialized_start=754
75
- _globals['_NEWSHARDREQUEST']._serialized_end=1158
76
- _globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_start=1071
77
- _globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_end=1158
78
- _globals['_NEWVECTORSETREQUEST']._serialized_start=1161
79
- _globals['_NEWVECTORSETREQUEST']._serialized_end=1349
49
+ _globals['_OPSTATUS']._serialized_end=215
50
+ _globals['_OPSTATUS_STATUS']._serialized_start=151
51
+ _globals['_OPSTATUS_STATUS']._serialized_end=191
52
+ _globals['_INDEXMESSAGE']._serialized_start=218
53
+ _globals['_INDEXMESSAGE']._serialized_end=480
54
+ _globals['_VECTORINDEXCONFIG']._serialized_start=483
55
+ _globals['_VECTORINDEXCONFIG']._serialized_end=671
56
+ _globals['_NEWSHARDREQUEST']._serialized_start=674
57
+ _globals['_NEWSHARDREQUEST']._serialized_end=923
58
+ _globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_start=812
59
+ _globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_end=899
60
+ _globals['_NEWVECTORSETREQUEST']._serialized_start=925
61
+ _globals['_NEWVECTORSETREQUEST']._serialized_end=1045
80
62
  # @@protoc_insertion_point(module_scope)
@@ -111,27 +111,15 @@ class OpStatus(google.protobuf.message.Message):
111
111
 
112
112
  STATUS_FIELD_NUMBER: builtins.int
113
113
  DETAIL_FIELD_NUMBER: builtins.int
114
- FIELD_COUNT_FIELD_NUMBER: builtins.int
115
- PARAGRAPH_COUNT_FIELD_NUMBER: builtins.int
116
- SENTENCE_COUNT_FIELD_NUMBER: builtins.int
117
- SHARD_ID_FIELD_NUMBER: builtins.int
118
114
  status: global___OpStatus.Status.ValueType
119
115
  detail: builtins.str
120
- field_count: builtins.int
121
- paragraph_count: builtins.int
122
- sentence_count: builtins.int
123
- shard_id: builtins.str
124
116
  def __init__(
125
117
  self,
126
118
  *,
127
119
  status: global___OpStatus.Status.ValueType = ...,
128
120
  detail: builtins.str = ...,
129
- field_count: builtins.int = ...,
130
- paragraph_count: builtins.int = ...,
131
- sentence_count: builtins.int = ...,
132
- shard_id: builtins.str = ...,
133
121
  ) -> None: ...
134
- def ClearField(self, field_name: typing.Literal["detail", b"detail", "field_count", b"field_count", "paragraph_count", b"paragraph_count", "sentence_count", b"sentence_count", "shard_id", b"shard_id", "status", b"status"]) -> None: ...
122
+ def ClearField(self, field_name: typing.Literal["detail", b"detail", "status", b"status"]) -> None: ...
135
123
 
136
124
  global___OpStatus = OpStatus
137
125
 
@@ -228,36 +216,21 @@ class NewShardRequest(google.protobuf.message.Message):
228
216
  def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
229
217
  def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
230
218
 
231
- SIMILARITY_FIELD_NUMBER: builtins.int
232
219
  KBID_FIELD_NUMBER: builtins.int
233
- RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
234
- NORMALIZE_VECTORS_FIELD_NUMBER: builtins.int
235
- CONFIG_FIELD_NUMBER: builtins.int
236
220
  VECTORSETS_CONFIGS_FIELD_NUMBER: builtins.int
237
221
  PREWARM_ENABLED_FIELD_NUMBER: builtins.int
238
- similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType
239
222
  kbid: builtins.str
240
- release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType
241
- normalize_vectors: builtins.bool
242
- """indicates whether the shard should normalize vectors on indexing or not"""
243
223
  prewarm_enabled: builtins.bool
244
224
  @property
245
- def config(self) -> global___VectorIndexConfig: ...
246
- @property
247
225
  def vectorsets_configs(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___VectorIndexConfig]: ...
248
226
  def __init__(
249
227
  self,
250
228
  *,
251
- similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType = ...,
252
229
  kbid: builtins.str = ...,
253
- release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType = ...,
254
- normalize_vectors: builtins.bool = ...,
255
- config: global___VectorIndexConfig | None = ...,
256
230
  vectorsets_configs: collections.abc.Mapping[builtins.str, global___VectorIndexConfig] | None = ...,
257
231
  prewarm_enabled: builtins.bool = ...,
258
232
  ) -> None: ...
259
- def HasField(self, field_name: typing.Literal["config", b"config"]) -> builtins.bool: ...
260
- def ClearField(self, field_name: typing.Literal["config", b"config", "kbid", b"kbid", "normalize_vectors", b"normalize_vectors", "prewarm_enabled", b"prewarm_enabled", "release_channel", b"release_channel", "similarity", b"similarity", "vectorsets_configs", b"vectorsets_configs"]) -> None: ...
233
+ def ClearField(self, field_name: typing.Literal["kbid", b"kbid", "prewarm_enabled", b"prewarm_enabled", "vectorsets_configs", b"vectorsets_configs"]) -> None: ...
261
234
 
262
235
  global___NewShardRequest = NewShardRequest
263
236
 
@@ -266,11 +239,7 @@ class NewVectorSetRequest(google.protobuf.message.Message):
266
239
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
267
240
 
268
241
  ID_FIELD_NUMBER: builtins.int
269
- SIMILARITY_FIELD_NUMBER: builtins.int
270
- NORMALIZE_VECTORS_FIELD_NUMBER: builtins.int
271
242
  CONFIG_FIELD_NUMBER: builtins.int
272
- similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType
273
- normalize_vectors: builtins.bool
274
243
  @property
275
244
  def id(self) -> nidx_protos.noderesources_pb2.VectorSetID: ...
276
245
  @property
@@ -279,11 +248,9 @@ class NewVectorSetRequest(google.protobuf.message.Message):
279
248
  self,
280
249
  *,
281
250
  id: nidx_protos.noderesources_pb2.VectorSetID | None = ...,
282
- similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType = ...,
283
- normalize_vectors: builtins.bool = ...,
284
251
  config: global___VectorIndexConfig | None = ...,
285
252
  ) -> None: ...
286
253
  def HasField(self, field_name: typing.Literal["config", b"config", "id", b"id"]) -> builtins.bool: ...
287
- def ClearField(self, field_name: typing.Literal["config", b"config", "id", b"id", "normalize_vectors", b"normalize_vectors", "similarity", b"similarity"]) -> None: ...
254
+ def ClearField(self, field_name: typing.Literal["config", b"config", "id", b"id"]) -> None: ...
288
255
 
289
256
  global___NewVectorSetRequest = NewVectorSetRequest
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nidx_protos
3
- Version: 6.9.4.post5357
3
+ Version: 6.9.7.post5611
4
4
  Summary: Protobuf definitions for nucliadb/nidx
5
5
  Author-Email: Nuclia <nucliadb@nuclia.com>
6
6
  License-Expression: AGPL-3.0-or-later
@@ -14,4 +14,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
14
  Project-URL: Homepage, https://nuclia.com
15
15
  Project-URL: Repository, https://github.com/nuclia/nucliadb
16
16
  Requires-Python: <4,>=3.10
17
+ Requires-Dist: protobuf<7.0.0,>=6.31.1
18
+ Provides-Extra: grpc
19
+ Requires-Dist: grpcio>=1.76.0; extra == "grpc"
17
20
 
@@ -0,0 +1,15 @@
1
+ .gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
2
+ nidx_protos-6.9.7.post5611.dist-info/METADATA,sha256=AuASaLwF3Yvfnq2bZpROpu-Uf0T-hGmcwdTA5z2foss,798
3
+ nidx_protos-6.9.7.post5611.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
4
+ nidx_protos-6.9.7.post5611.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
5
+ nidx_protos/nidx_pb2.py,sha256=HlgiGIeAE8oPZksy3DD3OWjDcxwhubCLLENuPfLrEqM,5145
6
+ nidx_protos/nidx_pb2.pyi,sha256=PBfwmt-_ox4zu1oURkAnELc8w4WPjSt4yJXL-_1JutI,3368
7
+ nidx_protos/nidx_pb2_grpc.py,sha256=--MhbAbsJLb6hZOyQ4yje4CzK-bbPS5JMg9ecIgeWFI,28353
8
+ nidx_protos/nodereader_pb2.py,sha256=YkyJnejcHBDN-jxF-FJzgW3wSAWiVEtLLqZ-m28Bh4g,20641
9
+ nidx_protos/nodereader_pb2.pyi,sha256=aj8Z-YHc9Q3ePaMD_qESSq1gg_WuJqcWbgdvs2PbnIo,61012
10
+ nidx_protos/noderesources_pb2.py,sha256=f0hVUlkICgFraqpWZn24eCcslPgIK2lpbDHipaDPZ-0,12061
11
+ nidx_protos/noderesources_pb2.pyi,sha256=AbDoGXCcKEd3P3ngpVXhnav_IEoua9yk-pT9EfZKL5Y,31045
12
+ nidx_protos/nodewriter_pb2.py,sha256=kq_8pkPQzEM68ldytycYj-UftX6nQaHxGJgxL-7xV04,4811
13
+ nidx_protos/nodewriter_pb2.pyi,sha256=6PxeOCwnZ0xqzLWgJVtZKUdoLsFJPZecjsQ99deJh54,10196
14
+ nidx_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ nidx_protos-6.9.7.post5611.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- .gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
2
- nidx_protos-6.9.4.post5357.dist-info/METADATA,sha256=Z90xdleNtgXeZae8YOkvDE4y_TDMIsbNfs8IaqMUfiA,691
3
- nidx_protos-6.9.4.post5357.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
4
- nidx_protos-6.9.4.post5357.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
5
- nidx_protos/nidx_pb2.py,sha256=xDsk6acoTEr7emWhcCLD-P59kS85mHtWel4vdsEuHZE,5145
6
- nidx_protos/nidx_pb2.pyi,sha256=PBfwmt-_ox4zu1oURkAnELc8w4WPjSt4yJXL-_1JutI,3368
7
- nidx_protos/nidx_pb2_grpc.py,sha256=sQFtyJFRoTG0D6Oy-7hR75DQD9bK-A4BbpRtzDj-f8o,28354
8
- nidx_protos/nodereader_pb2.py,sha256=1bPETL9rWGYgJEfn6bLnQ2Q45IQzOAy85g3PHxo6lF8,21097
9
- nidx_protos/nodereader_pb2.pyi,sha256=t8YKB0kn0PyrOBi7ZdNER0cs8tEq8KpGRuRTosZvwXE,61374
10
- nidx_protos/noderesources_pb2.py,sha256=Ckxv6d2GvIZi-X01KdaXPvpWz_ISeirE9rG76y0dzsg,14951
11
- nidx_protos/noderesources_pb2.pyi,sha256=FTNXlS_P9RNSb5ayNs7VZl1CKboK0o8tPA6wsYin6MQ,37796
12
- nidx_protos/nodewriter_pb2.py,sha256=9-GAcJvYDD5qyThPMI8lkr437pN5NqV464kBZRz5yzc,6895
13
- nidx_protos/nodewriter_pb2.pyi,sha256=e_Bx6wgskF9Y_o2XRSxDQMlGOh4Sh0G_vpzCJxdMpqk,12193
14
- nidx_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- nidx_protos-6.9.4.post5357.dist-info/RECORD,,