glide_sync.sync_commands.ft
module for vector search commands.
Transactions: these commands are ordinary custom commands as far as GLIDE's batch/transaction
machinery is concerned. Inside an atomic batch (ClusterBatch with is_atomic=True) on a
Cluster client, every command in the batch -- including any FT.* command -- must map to the same
slot, the same rule every other cluster command follows; there is no FT-specific exemption or
special case.
create(client, index_name, schema, options=None)
Creates an index and initiates a backfill of that index.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name. |
required |
schema
|
List[Field]
|
Fields to populate into the index. Equivalent to |
required |
options
|
Optional[FtCreateOptions]
|
Optional arguments for the FT.CREATE command. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
TOK |
TOK
|
A simple "OK" response. |
Examples:
>>> from glide import ft
>>> schema: List[Field] = [TextField("title")]
>>> prefixes: List[str] = ["blog:post:"]
>>> ft.create(glide_client, "my_idx1", schema, FtCreateOptions(DataType.HASH, prefixes))
'OK' # Indicates successful creation of index named 'idx'
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | |
dropindex(client, index_name)
Drops an index. The index definition and associated content are deleted. Keys are unaffected.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name for the index to be dropped. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TOK |
TOK
|
A simple "OK" response. |
Examples:
For the following example to work, an index named 'idx' must be already created. If not created, you will get an error.
>>> from glide import ft
>>> index_name = "idx"
>>> ft.dropindex(glide_client, index_name)
'OK' # Indicates successful deletion/dropping of index named 'idx'
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
list(client)
Lists all indexes.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
Returns:
| Type | Description |
|---|---|
List[TEncodable]
|
List[TEncodable]: An array of index names. |
Examples:
>>> from glide import ft
>>> ft.list(glide_client)
[b"index1", b"index2"]
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
search(client, index_name, query, options=None)
Uses the provided query expression to locate keys within an index. Once located, the count and/or the content of indexed fields within those keys can be returned.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name to search into. |
required |
query
|
TEncodable
|
The text query to search. A text/tag predicate can carry a trailing |
required |
options
|
Optional[FtSearchOptions]
|
The search options. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
FtSearchResponse |
FtSearchResponse
|
A two element array, where first element is count of documents in result set, and the second
element, which has the format Mapping[TEncodable, Mapping[TEncodable, TEncodable]] is a mapping between document
names and map of their attributes. When |
FtSearchResponse
|
If count(option in |
|
FtSearchResponse
|
When |
Examples:
For the following example to work the following must already exist: - An index named "idx", with fields having identifiers as "a" and "b" and prefix as "{json:}" - A key named {json:}1 with value {"a":1, "b":2}
>>> from glide import ft
>>> ft.search(
... glide_client,
... "idx",
... "*",
... options=FtSeachOptions(
... return_fields=[
... ReturnField(field_identifier="first"),
... ReturnField(field_identifier="second")
... ]
... )
... )
[1, { b'json:1': { b'first': b'42', b'second': b'33' } }]
# The first element, 1 is the number of keys returned in the search result. The second element is a map of
# data queried per key.
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | |
aliasadd(client, alias, index_name)
Adds an alias for an index. The new alias name can be used anywhere that an index name is required.
Note
Not supported by valkey-search <= 1.3.0-rc1 -- confirmed live, the server rejects FT.ALIASADD
outright with "unknown command" (waiting on https://github.com/valkey-io/valkey-search/pull/1184).
This function remains part of the public API for parity with RediSearch clients, but any call
currently raises a RequestError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
alias
|
TEncodable
|
The alias to be added to an index. |
required |
index_name
|
TEncodable
|
The index name for which the alias has to be added. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TOK |
TOK
|
A simple "OK" response. |
Examples:
>>> from glide import ft
>>> ft.aliasadd(glide_client, "myalias", "myindex")
'OK' # Indicates the successful addition of the alias named "myalias" for the index.
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | |
aliasdel(client, alias)
Deletes an existing alias for an index.
Note
Not supported by valkey-search <= 1.3.0-rc1 -- confirmed live, the server rejects FT.ALIASDEL
outright with "unknown command" (waiting on https://github.com/valkey-io/valkey-search/pull/1184).
This function remains part of the public API for parity with RediSearch clients, but any call
currently raises a RequestError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
alias
|
TEncodable
|
The existing alias to be deleted for an index. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TOK |
TOK
|
A simple "OK" response. |
Examples:
>>> from glide import ft
>>> ft.aliasdel(glide_client, "myalias")
'OK' # Indicates the successful deletion of the alias named "myalias"
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | |
aliasupdate(client, alias, index_name)
Updates an existing alias to point to a different physical index. This command only affects future references to the alias.
Note
Not supported by valkey-search <= 1.3.0-rc1 -- confirmed live, the server rejects FT.ALIASUPDATE
outright with "unknown command" (waiting on https://github.com/valkey-io/valkey-search/pull/1184).
This function remains part of the public API for parity with RediSearch clients, but any call
currently raises a RequestError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
alias
|
TEncodable
|
The alias name. This alias will now be pointed to a different index. |
required |
index_name
|
TEncodable
|
The index name for which an existing alias has to updated. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TOK |
TOK
|
A simple "OK" response. |
Examples:
>>> from glide import ft
>>> ft.aliasupdate(glide_client, "myalias", "myindex")
'OK' # Indicates the successful update of the alias to point to the index named "myindex"
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | |
info(client, index_name, scope=None, shard_scope=None, consistency=None)
Returns information about a given index.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name for which the information has to be returned. |
required |
scope
|
Optional[InfoScope]
|
Controls which nodes provide index information (LOCAL, PRIMARY, CLUSTER). |
None
|
shard_scope
|
Optional[ShardScope]
|
Controls shard participation (ALLSHARDS, SOMESHARDS). |
None
|
consistency
|
Optional[ConsistencyMode]
|
Controls consistency requirements (CONSISTENT, INCONSISTENT). |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
FtInfoResponse |
FtInfoResponse
|
Nested maps with info about the index. See example for more details. |
Note
index_definition's score_field key (reporting FtCreateOptions(score_field=...), see
ft_create_options.py) requires search.emulate-release >= 1.3.0 to appear at all
(ft_info_score_field compatibility flag) -- below that level the pair is omitted entirely,
even if the index was created with score_field set. See upstream COMPATIBILITY.md's
"Sunsetting of Incompatible Behavior" section.
Examples:
An index with name 'myIndex', 1 text field and 1 vector field is already created for gettting the output of this example.
>>> from glide import ft
>>> ft.info(glide_client, "myIndex")
[
b'index_name',
b'myIndex',
b'creation_timestamp', 1729531116945240,
b'key_type', b'JSON',
b'key_prefixes', [b'key-prefix'],
b'fields', [
[
b'identifier', b'$.vec',
b'field_name', b'VEC',
b'type', b'VECTOR',
b'option', b'',
b'vector_params', [
b'algorithm',
b'HNSW',
b'data_type',
b'FLOAT32',
b'dimension',
2,
b'distance_metric',
b'L2',
b'initial_capacity',
1000,
b'current_capacity',
1000,
b'maximum_edges',
16,
b'ef_construction',
200,
b'ef_runtime',
10,
b'epsilon',
b'0.01'
]
],
[
b'identifier', b'$.text-field',
b'field_name', b'text-field',
b'type', b'TEXT',
b'option', b''
]
],
b'space_usage', 653351,
b'fulltext_space_usage', 0,
b'vector_space_usage', 653351,
b'num_docs', 0,
b'num_indexed_vectors', 0,
b'current_lag', 0,
b'index_status', b'AVAILABLE',
b'index_degradation_percentage', 0
]
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 | |
explain(client, index_name, query)
Parse a query and return information about how that query was parsed.
Note:
Not supported by valkey-search <= 1.3.0-rc1 -- confirmed live, the server rejects FT.EXPLAIN
outright with "unknown command" (the command is not registered at all). This function remains
part of the public API for parity with RediSearch clients, but any call currently raises a
`RequestError`.
Args:
client (TGlideClient): The client to execute the command.
index_name (TEncodable): The index name for which the query is written.
query (TEncodable): The search query, same as the query passed as an argument to FT.SEARCH.
Returns:
TEncodable: A string containing the parsed results representing the execution plan.
Examples:
>>> from glide import ft
>>> ft.explain(glide_client, indexName="myIndex", query="@price:[0 10]")
b'Field {
price 0 10 } ' # Parsed results.
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 | |
explaincli(client, index_name, query)
Same as the FT.EXPLAIN command except that the results are displayed in a different format. More useful with cli.
Note
Not supported by valkey-search <= 1.3.0-rc1 -- confirmed live, the server rejects FT.EXPLAINCLI
outright with "unknown command" (the command is not registered at all). This function remains
part of the public API for parity with RediSearch clients, but any call currently raises a
RequestError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name for which the query is written. |
required |
query
|
TEncodable
|
The search query, same as the query passed as an argument to FT.SEARCH. |
required |
Returns:
| Type | Description |
|---|---|
List[TEncodable]
|
List[TEncodable]: An array containing the execution plan. |
Examples:
>>> from glide import ft
>>> ft.explaincli(glide_client, indexName="myIndex", query="@price:[0 10]")
[b'Field {', b' price', b' 0', b' 10', b'}', b''] # Parsed results.
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 | |
aggregate(client, index_name, query, options=None)
A superset of the FT.SEARCH command, it allows substantial additional processing of the keys selected by the query expression.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name for which the query is written. |
required |
query
|
TEncodable
|
The search query, same as the query passed as an argument to FT.SEARCH. |
required |
options
|
Optional[FtAggregateOptions]
|
The optional arguments for the command. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
FtAggregateResponse |
FtAggregateResponse
|
An array containing a mapping of field name and associated value as returned after the last stage of the command. |
Examples:
>>> from glide import ft
>>> ft.aggregate(
... glide_client,
... "myIndex",
... "*",
... FtAggregateOptions(
... loadFields=["__key"],
... clauses=[GroupBy(["@condition"], [Reducer("COUNT", [], "bicycles")])]
... )
... )
[
{
b'condition': b'refurbished',
b'bicycles': b'1'
},
{
b'condition': b'new',
b'bicycles': b'5'
},
{
b'condition': b'used',
b'bicycles': b'4'
}
]
Paged with WITHCURSOR:
>>> rows, cursor_id = ft.aggregate(glide_client, "myIndex", "*",
... FtAggregateOptions(loadFields=["__key"], with_cursor=FtWithCursor(count=10)))
>>> while cursor_id != 0:
... rows, cursor_id = ft.cursor_read(glide_client, "myIndex", cursor_id)
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 | |
cursor_read(client, index_name, cursor_id, count=None)
Reads the next page of results from a cursor opened by ft.aggregate (with
FtAggregateOptions(with_cursor=...)) or ft.hybrid (with
FtHybridOptions(with_cursor=...)).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name the cursor was opened against. |
required |
cursor_id
|
int
|
The cursor id, from the opening command's reply or a previous
|
required |
count
|
Optional[int]
|
Overrides how many rows this page returns, instead of the count the cursor was opened with. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
FtAggregateResponse |
FtAggregateResponse
|
A two-element array of |
Note
Always reads from the PRIMARY of the index's slot, regardless of the client's
ReadFrom configuration -- see the cursor-affinity note on aggregate/hybrid. A
cursor opened by FT.HYBRID is read the same way as one opened by FT.AGGREGATE; the server
does not distinguish which command created it (confirmed live and in
src/commands/ft_cursor.cc).
Examples:
>>> from glide_sync import ft
>>> rows, cursor_id = ft.aggregate(glide_client, "myIndex", "*",
... FtAggregateOptions(loadFields=["__key"], with_cursor=FtWithCursor(count=10)))
>>> while cursor_id != 0:
... rows, cursor_id = ft.cursor_read(glide_client, "myIndex", cursor_id)
Since: Valkey 9.1.0 and Valkey Search 1.3.0.
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 | |
cursor_del(client, index_name, cursor_id)
Deletes an open cursor, discarding it before it would otherwise be exhausted or time out.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name the cursor was opened against. |
required |
cursor_id
|
int
|
The cursor id to delete. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TOK |
TOK
|
A simple "OK" response. |
Note
Always reads from the PRIMARY of the index's slot, regardless of the client's
ReadFrom configuration -- see the cursor-affinity note on aggregate/hybrid.
Examples:
>>> from glide_sync import ft
>>> rows, cursor_id = ft.aggregate(glide_client, "myIndex", "*",
... FtAggregateOptions(loadFields=["__key"], with_cursor=FtWithCursor(count=1)))
>>> ft.cursor_del(glide_client, "myIndex", cursor_id)
'OK'
Since: Valkey 9.1.0 and Valkey Search 1.3.0.
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 | |
profile(client, index_name, options)
Runs a search or aggregation query and collects performance profiling information.
Note
Not supported by valkey-search <= 1.3.0-rc1 -- confirmed live, the server rejects FT.PROFILE
outright with "unknown command" (the command is not registered at all). This
function remains part of the public API for parity with RediSearch clients, but any call
currently raises a RequestError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name |
required |
options
|
FtProfileOptions
|
Options for the command. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
FtProfileResponse |
FtProfileResponse
|
A two-element array. The first element contains results of query being profiled, the second element stores profiling information. |
Examples:
>>> ftSearchOptions = FtSeachOptions(
... return_fields=[
... ReturnField(field_identifier="a", alias="a_new"),
... ReturnField(field_identifier="b", alias="b_new")
... ]
... )
>>> ft.profile(
... glide_client,
... "myIndex",
... FtProfileOptions.from_query_options(query="*", queryOptions=ftSearchOptions)
... )
[
[
2,
{
b'key1': {
b'a': b'11111',
b'b': b'2'
},
b'key2': {
b'a': b'22222',
b'b': b'2'
}
}
],
{
b'all.count': 2,
b'sync.time': 1,
b'query.time': 7,
b'result.count': 2,
b'result.time': 0
}
]
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 | |
aliaslist(client)
List the index aliases.
Note
Not supported by valkey-search <= 1.3.0-rc1 -- confirmed live, the server rejects FT._ALIASLIST
outright with "unknown command" (waiting on https://github.com/valkey-io/valkey-search/pull/1184).
This function remains part of the public API for parity with RediSearch clients, but any call
currently raises a RequestError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
Returns: Mapping[TEncodable, TEncodable]: A map of index aliases for indices being aliased. Examples: >>> from glide import ft >>> ft._aliaslist(glide_client) {b'alias': b'index1', b'alias-bytes': b'index2'}
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 | |
hybrid(client, index_name, search_arm, vsim_arm, options=None)
Combines a text/tag/numeric query (the SEARCH arm) with a vector similarity search (the VSIM arm) in a single query, fusing both arms' results into one ranked reply.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client
|
TGlideClient
|
The client to execute the command. |
required |
index_name
|
TEncodable
|
The index name to query. |
required |
search_arm
|
FtHybridSearchArm
|
The text/tag/numeric query arm. See |
required |
vsim_arm
|
FtHybridVsimArm
|
The vector similarity search arm. See |
required |
options
|
Optional[FtHybridOptions]
|
The optional arguments for the FT.HYBRID command,
covering COMBINE, LOAD, FILTER/LIMIT/GROUPBY/SORTBY/APPLY clauses, WITHCURSOR,
LOCALONLY, TIMEOUT, PARAMS and DIALECT. See |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
FtAggregateResponse |
FtAggregateResponse
|
An array containing a mapping of field name and associated value for
each matching document, after both arms' results have been fused and any clauses in
|
Note
A paged (with_cursor) FT.HYBRID query, and every subsequent FT.CURSOR READ/DEL against
the cursor it opens, always reads from the PRIMARY of the index's slot, regardless of the
client's ReadFrom configuration. This is because a cursor is a
per-process, node-local resource on the server that opened it -- it is not shared or
forwarded between nodes, so a read that lands on a different node (a replica a
PREFER_REPLICA/AZ-affinity client would otherwise have used) fails with "Cursor not
found". A failover of the primary that was holding an open cursor loses that cursor, the
same as any other cursor-discarding event on that node.
Examples:
For the following example to work, an index named "idx" must already exist, with a TEXT field "title" and a VECTOR field "vec".
>>> from glide_sync import ft
>>> ft.hybrid(
... glide_client,
... "idx",
... FtHybridSearchArm("hello world"),
... FtHybridVsimArm("vec", query_vector_bytes, k=10),
... )
[{b'__key': b'd1', b'__score': b'0.014925'}, {b'__key': b'd2', b'__score': b'0.009523'}]
With RRF fusion, a LOAD clause and WITHCURSOR paging:
>>> ft.hybrid(
... glide_client,
... "idx",
... FtHybridSearchArm("hello world", yield_score_as="ss"),
... FtHybridVsimArm("vec", query_vector_bytes, k=10, yield_score_as="vs"),
... options=FtHybridOptions(
... combine=FtHybridCombine.RRF(constant=60),
... load_fields=["title"],
... with_cursor=FtWithCursor(count=10),
... ),
... )
[[{b'title': b'hello world'}], 14058138254]
Since: Valkey 9.1.0 and Valkey Search 1.3.0.
Source code in doc-gen/valkey-glide/python/glide-sync/glide_sync/sync_commands/ft.py
652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 | |