Keyword Filtering #1462
Annotations
9 errors and 6 warnings
no field `prefilter_query` on type `nucliadb_core::query_language::Translated`:
nucliadb_texts2/src/search_query.rs#L102
error[E0609]: no field `prefilter_query` on type `nucliadb_core::query_language::Translated`
--> nucliadb_texts2/src/search_query.rs:102:44
|
102 | if let Some(expression) = analysis.prefilter_query {
| ^^^^^^^^^^^^^^^ unknown field
|
mismatched types:
nucliadb_texts2/src/search_query.rs#L100
error[E0308]: mismatched types
--> nucliadb_texts2/src/search_query.rs:100:61
|
100 | let analysis = query_language::translate_expression(&filter.labels_expression, &context)?;
| ------------------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Value`, found `&String`
| |
| arguments to this function are incorrect
|
note: function defined here
--> /home/runner/work/nucliadb/nucliadb/nucliadb_core/src/query_language/mod.rs:106:4
|
106 | fn translate_expression(query: Json, context: &QueryContext) -> NodeResult<Translated> {
| ^^^^^^^^^^^^^^^^^^^^
|
function `translate_expression` is private:
nucliadb_texts2/src/search_query.rs#L100
error[E0603]: function `translate_expression` is private
--> nucliadb_texts2/src/search_query.rs:100:40
|
100 | let analysis = query_language::translate_expression(&filter.labels_expression, &context)?;
| ^^^^^^^^^^^^^^^^^^^^ private function
|
note: the function `translate_expression` is defined here
--> /home/runner/work/nucliadb/nucliadb/nucliadb_core/src/query_language/mod.rs:106:1
|
106 | fn translate_expression(query: Json, context: &QueryContext) -> NodeResult<Translated> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Build on macos (aarch64 - auto)
The process '/Users/runner/work/_temp/9db54913-e7e1-489d-a71e-84bbd88814ca/maturin' failed with exit code 1
|
Build on macos (x86_64 - auto)
The process '/Users/runner/work/_temp/d9a9da04-2445-4f0b-a571-495699dcad10/maturin' failed with exit code 1
|
Build on linux (x86_64 - auto)
The process '/usr/bin/docker' failed with exit code 1
|
Build on linux (x86_64 - musllinux_1_1)
The process '/usr/bin/docker' failed with exit code 1
|
Build on linux (aarch64 - musllinux_1_1)
The process '/usr/bin/docker' failed with exit code 1
|
Build on linux (aarch64 - auto)
The process '/usr/bin/docker' failed with exit code 1
|
Build on macos (aarch64 - auto)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build on macos (x86_64 - auto)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build on linux (x86_64 - auto)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build on linux (x86_64 - musllinux_1_1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build on linux (aarch64 - musllinux_1_1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build on linux (aarch64 - auto)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|