lora-python 0.28.0__tar.gz → 0.29.0__tar.gz
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.
- {lora_python-0.28.0 → lora_python-0.29.0}/Cargo.lock +19 -19
- {lora_python-0.28.0 → lora_python-0.29.0}/Cargo.toml +13 -13
- {lora_python-0.28.0 → lora_python-0.29.0}/PKG-INFO +1 -1
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/procedures.rs +31 -8
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/fulltext_index.rs +110 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/index_ns.rs +55 -5
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/mod.rs +1 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/mod.rs +1 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/lib.rs +1 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/fulltext_index.rs +69 -34
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/impls.rs +3 -3
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/traits.rs +6 -5
- {lora_python-0.28.0 → lora_python-0.29.0}/pyproject.toml +1 -1
- {lora_python-0.28.0 → lora_python-0.29.0}/LICENSE +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/README.md +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-binding-buffer/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-binding-buffer/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-binding-buffer/src/stream.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/.gitignore +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/LICENSE +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/README.md +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/build.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/examples/async_demo.py +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/examples/basic.py +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/src/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/src/from_python.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/src/gil.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/src/stream.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/src/to_python.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/tests/test_async.py +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/tests/test_concurrency.py +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/tests/test_explain_profile.py +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/bindings/lora-python/tests/test_sync.py +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/analyzer/builtin_signatures.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/analyzer/clauses.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/analyzer/expressions.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/analyzer/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/analyzer/patterns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/analyzer/state.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/analyzer/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/resolved.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/scope.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/src/symbols.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-analyzer/tests/error_messages.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-ast/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-ast/src/ast.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-ast/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-builtins-meta/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-builtins-meta/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/src/logical.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/src/optimizer.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/src/param_fold.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/src/pattern.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/src/physical.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/src/plan_tree.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-compiler/src/planner.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/README.md +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/advanced.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/concurrency_guard.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/concurrent.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/engine.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/fixtures.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/index_acceleration.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/memory.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/memory_baseline.json +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/perf_smoke.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/query_implementations.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/realistic.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/scale.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/temporal_spatial.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/benches/wal.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/bulk_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/carried_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/crash_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/heap_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/keyset_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/optional_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/perf_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/pushdown_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/storage_baseline.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/examples/sync_memory_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/changes/build.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/changes/history.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/changes/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/builder.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/changes.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/compile.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/execute.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/explain.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/graph_api.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/occ.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/profile.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/pull_mode.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/replay.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/row_projection.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/schema.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/show_pipeline.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/stream.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/database/write_guard.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/durable_io.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/error.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/explain.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/io.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/live_store.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/named.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/plan_cache.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/snapshot/json.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/snapshot/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/snapshot/store.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/stream.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/transaction.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/admin.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/archive/format.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/archive/lock.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/archive/platform.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/archive/worker.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/archive/workspace.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/archive.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/src/wal/write_scope.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/advanced_queries.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/aggregate_semantics.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/aggregation.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/and_or_short_circuit.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/backend_stub.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/bbox_antimeridian.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/binary.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/bit_shifts.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/borrowed_variable_reads.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/builtin_namespaces.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/call_subquery_writes.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/carried_value_sharing.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/change_feed.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/collect_nulls.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/comparison_ordering.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/constraints.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/create.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/cypher_compat.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/deferred_existence_end_state.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/docs_examples.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/early_limit.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/empty_ranges.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/entity_property_values.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/error_messages.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/explain_estimates.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/explain_profile.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/expression_semantics.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/expressions.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/foreach.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/fulltext_list_properties.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/functions_extended.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/grouping_key_identity.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/id_seek.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/index_acceleration.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/integer_literals.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/invariants.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/limit_skip_counts.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/managed_snapshots.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/match.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/merge.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/merge_bound_end.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/missing_parameters.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/nested_aggregates.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/null_pattern_variables.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/null_properties_and_deferred_existence.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/optional_match_correlated.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/optional_match_leading.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/order_by_aggregates.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/order_by_grouping_key_parts.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/order_by_index.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/order_limit_semantics.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/ordering.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/parameters.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/parser.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/paths.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/pattern_subquery_property_seek.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/pattern_subquery_rel_properties.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/pattern_subquery_scope.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/pattern_subquery_var_length.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/pattern_subquery_where_seek.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/planner_known_parameters.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/planner_pushdown.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/planner_stats.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/point_scan_choice.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/procedure_yield.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/projection.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/range_scan_bound_intersection.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/range_scan_other_kinds.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/restart_index_state.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/scale.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/schema.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/schema_in_transaction.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/seeds.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/shared_index_value_writes.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/snapshot.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/sort_limit_probe.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/spatial.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/starts_with_range_seek.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/statement_atomicity.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/streaming_scans.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/string_number_addition.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/sum_empty.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/temporal.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/temporal_constructor_functions.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/temporal_constructors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/temporal_map_components.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/temporal_range_index.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/temporal_strings.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/temporal_time_zones.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/temporal_zone_accessors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/test_helpers.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/timeouts.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/transactions.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/types_advanced.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/union.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/unknown_names.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/unwind_ingestion.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/update.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/var_length_bound_endpoint.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/var_length_hop_ranges.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/vector_index.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/vectors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/wal.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/where_clause.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/with.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/with_predicates.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/write_path_bindings.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/write_results.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-database/tests/write_scaling.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/cancel.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/binops.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/bits_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/bytes_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/cast_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/crypto.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/edge.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/geo.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/json_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/list.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/map_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/math_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/node.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/number.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/path.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/string_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/temporal.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/temporal_build.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/text.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/type_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/uuid_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/value.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/vector_ns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/expr.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/functions.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/point.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/regex.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/vector.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/executor/aggregation.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/executor/helpers.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/executor/immutable.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/executor/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/executor/mutable.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/executor/optional.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/executor/sort.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/profile.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/aggregate.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/call_subquery.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/columns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/context.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/expand.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/filter.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/hydration.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/mutable.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/optional.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/path.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/projection.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/scan.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/shape.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/sort.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/source.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/traits.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/pull/union.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/value.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/tests/error_messages.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-io/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-io/src/csv.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-io/src/format.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-io/src/json_array.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-io/src/jsonl.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-io/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-io/src/mapping.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-io/src/value_json.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/cypher.pest +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/clauses.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/expressions.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/literals.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/patterns.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/query.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/schema.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/src/parser/util.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-parser/tests/error_messages.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/body.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/codec.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/columnar.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/envelope.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/format.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/graph.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/graph_tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/options.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/transform.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/src/view.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-snapshot/tests/error_messages.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/codec.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/dict.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/encoded.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/intern.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/lock_table.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/adjacency.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/chunked_vec.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/constraint_catalog.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/constraint_enforce.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/cow.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/distinct_stats.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/entity_index_store.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/graph.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/hnsw.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/id_bitmap.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/id_map.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/id_set.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/index_catalog.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/mem_report.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/model_tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/point_index.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/property_index.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/record_slab.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/secondary_index_maintenance.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/snapshot.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/sorted_property_index.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/stats.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/test_util.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/text_index.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/memory/vector_index.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/mutation.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/snapshot.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/binary/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/binary/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/binary/traits.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/binary/types.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/graph.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/name.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/property_map.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/property_value.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/spatial/bbox.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/spatial/distance.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/spatial/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/spatial/point.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/spatial/srid.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/spatial/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/calendar.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/date.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/datetime.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/duration.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/format.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/parsing.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/time.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/temporal/zone.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/vector/build.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/vector/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/vector/similarity.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/vector/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/vector/types.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/types/view.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/src/varint.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-store/tests/error_messages.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/Cargo.toml +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/codec/decode.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/codec/encode.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/codec/format.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/codec/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/codec/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/config.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/dir.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/history.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/io.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/lib.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/lock.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/lsn.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/record.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/recorder/errors.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/recorder/mirror.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/recorder/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/recorder/recorder.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/recorder/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/replay.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/segment.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/testing.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/wal/group_flusher.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/wal/mod.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/wal/tests.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/src/wal/wal.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-wal/tests/error_messages.rs +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/python/lora_python/__init__.py +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/python/lora_python/_async.py +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/python/lora_python/_native.pyi +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/python/lora_python/py.typed +0 -0
- {lora_python-0.28.0 → lora_python-0.29.0}/python/lora_python/types.py +0 -0
|
@@ -854,7 +854,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
|
854
854
|
|
|
855
855
|
[[package]]
|
|
856
856
|
name = "lora-analyzer"
|
|
857
|
-
version = "0.
|
|
857
|
+
version = "0.29.0"
|
|
858
858
|
dependencies = [
|
|
859
859
|
"lora-ast",
|
|
860
860
|
"lora-builtins-meta",
|
|
@@ -865,14 +865,14 @@ dependencies = [
|
|
|
865
865
|
|
|
866
866
|
[[package]]
|
|
867
867
|
name = "lora-ast"
|
|
868
|
-
version = "0.
|
|
868
|
+
version = "0.29.0"
|
|
869
869
|
dependencies = [
|
|
870
870
|
"smallvec 2.0.0-alpha.12",
|
|
871
871
|
]
|
|
872
872
|
|
|
873
873
|
[[package]]
|
|
874
874
|
name = "lora-binding-buffer"
|
|
875
|
-
version = "0.
|
|
875
|
+
version = "0.29.0"
|
|
876
876
|
dependencies = [
|
|
877
877
|
"lora-database",
|
|
878
878
|
"lora-store",
|
|
@@ -880,11 +880,11 @@ dependencies = [
|
|
|
880
880
|
|
|
881
881
|
[[package]]
|
|
882
882
|
name = "lora-builtins-meta"
|
|
883
|
-
version = "0.
|
|
883
|
+
version = "0.29.0"
|
|
884
884
|
|
|
885
885
|
[[package]]
|
|
886
886
|
name = "lora-compiler"
|
|
887
|
-
version = "0.
|
|
887
|
+
version = "0.29.0"
|
|
888
888
|
dependencies = [
|
|
889
889
|
"lora-analyzer",
|
|
890
890
|
"lora-ast",
|
|
@@ -893,7 +893,7 @@ dependencies = [
|
|
|
893
893
|
|
|
894
894
|
[[package]]
|
|
895
895
|
name = "lora-database"
|
|
896
|
-
version = "0.
|
|
896
|
+
version = "0.29.0"
|
|
897
897
|
dependencies = [
|
|
898
898
|
"anyhow",
|
|
899
899
|
"chacha20poly1305",
|
|
@@ -918,7 +918,7 @@ dependencies = [
|
|
|
918
918
|
|
|
919
919
|
[[package]]
|
|
920
920
|
name = "lora-executor"
|
|
921
|
-
version = "0.
|
|
921
|
+
version = "0.29.0"
|
|
922
922
|
dependencies = [
|
|
923
923
|
"blake3",
|
|
924
924
|
"crc32fast",
|
|
@@ -941,7 +941,7 @@ dependencies = [
|
|
|
941
941
|
|
|
942
942
|
[[package]]
|
|
943
943
|
name = "lora-ffi"
|
|
944
|
-
version = "0.
|
|
944
|
+
version = "0.29.0"
|
|
945
945
|
dependencies = [
|
|
946
946
|
"anyhow",
|
|
947
947
|
"lora-binding-buffer",
|
|
@@ -953,7 +953,7 @@ dependencies = [
|
|
|
953
953
|
|
|
954
954
|
[[package]]
|
|
955
955
|
name = "lora-io"
|
|
956
|
-
version = "0.
|
|
956
|
+
version = "0.29.0"
|
|
957
957
|
dependencies = [
|
|
958
958
|
"lora-executor",
|
|
959
959
|
"lora-store",
|
|
@@ -964,7 +964,7 @@ dependencies = [
|
|
|
964
964
|
|
|
965
965
|
[[package]]
|
|
966
966
|
name = "lora-node"
|
|
967
|
-
version = "0.
|
|
967
|
+
version = "0.29.0"
|
|
968
968
|
dependencies = [
|
|
969
969
|
"anyhow",
|
|
970
970
|
"lora-binding-buffer",
|
|
@@ -979,7 +979,7 @@ dependencies = [
|
|
|
979
979
|
|
|
980
980
|
[[package]]
|
|
981
981
|
name = "lora-parser"
|
|
982
|
-
version = "0.
|
|
982
|
+
version = "0.29.0"
|
|
983
983
|
dependencies = [
|
|
984
984
|
"lora-ast",
|
|
985
985
|
"pest",
|
|
@@ -990,7 +990,7 @@ dependencies = [
|
|
|
990
990
|
|
|
991
991
|
[[package]]
|
|
992
992
|
name = "lora-python"
|
|
993
|
-
version = "0.
|
|
993
|
+
version = "0.29.0"
|
|
994
994
|
dependencies = [
|
|
995
995
|
"anyhow",
|
|
996
996
|
"lora-binding-buffer",
|
|
@@ -1003,7 +1003,7 @@ dependencies = [
|
|
|
1003
1003
|
|
|
1004
1004
|
[[package]]
|
|
1005
1005
|
name = "lora-query-wasm"
|
|
1006
|
-
version = "0.
|
|
1006
|
+
version = "0.29.0"
|
|
1007
1007
|
dependencies = [
|
|
1008
1008
|
"console_error_panic_hook",
|
|
1009
1009
|
"js-sys",
|
|
@@ -1017,7 +1017,7 @@ dependencies = [
|
|
|
1017
1017
|
|
|
1018
1018
|
[[package]]
|
|
1019
1019
|
name = "lora-server"
|
|
1020
|
-
version = "0.
|
|
1020
|
+
version = "0.29.0"
|
|
1021
1021
|
dependencies = [
|
|
1022
1022
|
"anyhow",
|
|
1023
1023
|
"axum",
|
|
@@ -1032,7 +1032,7 @@ dependencies = [
|
|
|
1032
1032
|
|
|
1033
1033
|
[[package]]
|
|
1034
1034
|
name = "lora-snapshot"
|
|
1035
|
-
version = "0.
|
|
1035
|
+
version = "0.29.0"
|
|
1036
1036
|
dependencies = [
|
|
1037
1037
|
"argon2",
|
|
1038
1038
|
"blake3",
|
|
@@ -1047,7 +1047,7 @@ dependencies = [
|
|
|
1047
1047
|
|
|
1048
1048
|
[[package]]
|
|
1049
1049
|
name = "lora-store"
|
|
1050
|
-
version = "0.
|
|
1050
|
+
version = "0.29.0"
|
|
1051
1051
|
dependencies = [
|
|
1052
1052
|
"crc32fast",
|
|
1053
1053
|
"jiff",
|
|
@@ -1062,7 +1062,7 @@ dependencies = [
|
|
|
1062
1062
|
|
|
1063
1063
|
[[package]]
|
|
1064
1064
|
name = "lora-wal"
|
|
1065
|
-
version = "0.
|
|
1065
|
+
version = "0.29.0"
|
|
1066
1066
|
dependencies = [
|
|
1067
1067
|
"crc32fast",
|
|
1068
1068
|
"lora-store",
|
|
@@ -1072,7 +1072,7 @@ dependencies = [
|
|
|
1072
1072
|
|
|
1073
1073
|
[[package]]
|
|
1074
1074
|
name = "lora-wasm"
|
|
1075
|
-
version = "0.
|
|
1075
|
+
version = "0.29.0"
|
|
1076
1076
|
dependencies = [
|
|
1077
1077
|
"anyhow",
|
|
1078
1078
|
"console_error_panic_hook",
|
|
@@ -1088,7 +1088,7 @@ dependencies = [
|
|
|
1088
1088
|
|
|
1089
1089
|
[[package]]
|
|
1090
1090
|
name = "lora_ruby"
|
|
1091
|
-
version = "0.
|
|
1091
|
+
version = "0.29.0"
|
|
1092
1092
|
dependencies = [
|
|
1093
1093
|
"anyhow",
|
|
1094
1094
|
"lora-database",
|
|
@@ -4,7 +4,7 @@ resolver = "2"
|
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
6
|
edition = "2021"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.29.0"
|
|
8
8
|
license = "BUSL-1.1"
|
|
9
9
|
authors = ["LoraDB, Inc."]
|
|
10
10
|
repository = "https://github.com/lora-db/lora"
|
|
@@ -15,18 +15,18 @@ rust-version = "1.87"
|
|
|
15
15
|
# Internal crates — versions are kept in lockstep with [workspace.package].version
|
|
16
16
|
# by `scripts/sync-versions.mjs`. Both `path` and `version` are set so that
|
|
17
17
|
# `cargo publish` works (crates.io cannot resolve path-only deps).
|
|
18
|
-
lora-ast = { path = "crates/lora-ast", version = "=0.
|
|
19
|
-
lora-parser = { path = "crates/lora-parser", version = "=0.
|
|
20
|
-
lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.
|
|
21
|
-
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.
|
|
22
|
-
lora-compiler = { path = "crates/lora-compiler", version = "=0.
|
|
23
|
-
lora-store = { path = "crates/lora-store", version = "=0.
|
|
24
|
-
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.
|
|
25
|
-
lora-io = { path = "crates/lora-io", version = "=0.
|
|
26
|
-
lora-wal = { path = "crates/lora-wal", version = "=0.
|
|
27
|
-
lora-executor = { path = "crates/lora-executor", version = "=0.
|
|
28
|
-
lora-database = { path = "crates/lora-database", version = "=0.
|
|
29
|
-
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.
|
|
18
|
+
lora-ast = { path = "crates/lora-ast", version = "=0.29.0" }
|
|
19
|
+
lora-parser = { path = "crates/lora-parser", version = "=0.29.0" }
|
|
20
|
+
lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.29.0" }
|
|
21
|
+
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.29.0" }
|
|
22
|
+
lora-compiler = { path = "crates/lora-compiler", version = "=0.29.0" }
|
|
23
|
+
lora-store = { path = "crates/lora-store", version = "=0.29.0" }
|
|
24
|
+
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.29.0", default-features = false }
|
|
25
|
+
lora-io = { path = "crates/lora-io", version = "=0.29.0" }
|
|
26
|
+
lora-wal = { path = "crates/lora-wal", version = "=0.29.0" }
|
|
27
|
+
lora-executor = { path = "crates/lora-executor", version = "=0.29.0", default-features = false }
|
|
28
|
+
lora-database = { path = "crates/lora-database", version = "=0.29.0" }
|
|
29
|
+
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.29.0" }
|
|
30
30
|
|
|
31
31
|
# External crates.
|
|
32
32
|
anyhow = "1"
|
|
@@ -19,7 +19,7 @@ use std::collections::{BTreeMap, BTreeSet};
|
|
|
19
19
|
|
|
20
20
|
use anyhow::Result;
|
|
21
21
|
use lora_ast::{Expr, ProcedureInvocationKind, StandaloneCall, YieldItem};
|
|
22
|
-
use lora_executor::{LoraValue, Row};
|
|
22
|
+
use lora_executor::{FulltextPage, LoraValue, Row};
|
|
23
23
|
use lora_store::{
|
|
24
24
|
GraphStorage, GraphStorageMut, IndexDefinition, LoraVector, StoredIndexEntity, StoredIndexKind,
|
|
25
25
|
VectorCoordinateType,
|
|
@@ -134,15 +134,18 @@ where
|
|
|
134
134
|
params: &BTreeMap<String, LoraValue>,
|
|
135
135
|
entity: StoredIndexEntity,
|
|
136
136
|
) -> Result<Vec<Row>> {
|
|
137
|
-
let (index_name, query_text) = parse_fulltext_args(args, params)?;
|
|
137
|
+
let (index_name, query_text, page) = parse_fulltext_args(args, params)?;
|
|
138
138
|
let snapshot = self.read_store();
|
|
139
139
|
let def = snapshot
|
|
140
140
|
.get_index(&index_name)
|
|
141
141
|
.ok_or_else(|| not_found_error(format!("no fulltext index named `{index_name}`")))?;
|
|
142
142
|
validate_procedure_index(&def, StoredIndexKind::Fulltext, entity, "fulltext")?;
|
|
143
143
|
|
|
144
|
-
let scored = snapshot.fulltext_search(&index_name, &query_text);
|
|
145
|
-
Ok(hydrated(
|
|
144
|
+
let scored = snapshot.fulltext_search(&index_name, &query_text, page.window());
|
|
145
|
+
Ok(hydrated(
|
|
146
|
+
scored_rows(page.skipped(scored), None, entity),
|
|
147
|
+
&*snapshot,
|
|
148
|
+
))
|
|
146
149
|
}
|
|
147
150
|
}
|
|
148
151
|
|
|
@@ -262,7 +265,7 @@ fn invocation_parts(
|
|
|
262
265
|
fn parse_fulltext_args(
|
|
263
266
|
args: &[Expr],
|
|
264
267
|
params: &BTreeMap<String, LoraValue>,
|
|
265
|
-
) -> Result<(String, String)> {
|
|
268
|
+
) -> Result<(String, String, FulltextPage)> {
|
|
266
269
|
if args.len() < 2 || args.len() > 3 {
|
|
267
270
|
return Err(invalid_params_error(format!(
|
|
268
271
|
"fulltext procedure expects 2 or 3 arguments (indexName, queryString, options? ); got {}",
|
|
@@ -271,9 +274,22 @@ fn parse_fulltext_args(
|
|
|
271
274
|
}
|
|
272
275
|
let name = eval_string_arg(&args[0], params, "indexName")?;
|
|
273
276
|
let query = eval_string_arg(&args[1], params, "queryString")?;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
+
let page = match args
|
|
278
|
+
.get(2)
|
|
279
|
+
.map(|expr| resolve_literal(expr, params))
|
|
280
|
+
.transpose()?
|
|
281
|
+
{
|
|
282
|
+
None | Some(LoraValue::Null) => FulltextPage::default(),
|
|
283
|
+
Some(LoraValue::Map(options)) => {
|
|
284
|
+
FulltextPage::parse(&options).map_err(invalid_params_error)?
|
|
285
|
+
}
|
|
286
|
+
Some(other) => {
|
|
287
|
+
return Err(invalid_params_error(format!(
|
|
288
|
+
"fulltext options must be a MAP like {{limit: 20}}, got {other:?}"
|
|
289
|
+
)))
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
Ok((name, query, page))
|
|
277
293
|
}
|
|
278
294
|
|
|
279
295
|
fn parse_vector_args(
|
|
@@ -441,6 +457,13 @@ fn resolve_literal(expr: &Expr, params: &BTreeMap<String, LoraValue>) -> Result<
|
|
|
441
457
|
}
|
|
442
458
|
Ok(LoraValue::List(out))
|
|
443
459
|
}
|
|
460
|
+
Expr::Map(items, _) => {
|
|
461
|
+
let mut out = BTreeMap::new();
|
|
462
|
+
for (key, item) in items {
|
|
463
|
+
out.insert(key.clone(), resolve_literal(item, params)?);
|
|
464
|
+
}
|
|
465
|
+
Ok(LoraValue::Map(out))
|
|
466
|
+
}
|
|
444
467
|
Expr::Unary {
|
|
445
468
|
op: lora_ast::UnaryOp::Neg,
|
|
446
469
|
expr: inner,
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
mod test_helpers;
|
|
4
4
|
use test_helpers::TestDb;
|
|
5
5
|
|
|
6
|
+
use std::collections::BTreeMap;
|
|
7
|
+
|
|
8
|
+
use lora_database::LoraValue;
|
|
6
9
|
use serde_json::Value as JsonValue;
|
|
7
10
|
|
|
8
11
|
fn index_named<'a>(rows: &'a [JsonValue], name: &str) -> Option<&'a JsonValue> {
|
|
@@ -312,3 +315,110 @@ fn fulltext_node_ids_returned() {
|
|
|
312
315
|
let ids = node_ids(&rows);
|
|
313
316
|
assert_eq!(ids.len(), 1);
|
|
314
317
|
}
|
|
318
|
+
|
|
319
|
+
// ---------- Options: {skip, limit} ----------
|
|
320
|
+
|
|
321
|
+
fn seed_nights(db: &TestDb) {
|
|
322
|
+
db.run("CREATE FULLTEXT INDEX titles FOR (n:Track) ON EACH [n.title]");
|
|
323
|
+
for (key, title) in [
|
|
324
|
+
("a", "Night Nights"),
|
|
325
|
+
("b", "Nightfall"),
|
|
326
|
+
("c", "Midnight"),
|
|
327
|
+
("d", "Nightly"),
|
|
328
|
+
("e", "Night"),
|
|
329
|
+
] {
|
|
330
|
+
db.run(&format!(
|
|
331
|
+
"CREATE (:Track {{key: '{key}', title: '{title}'}})"
|
|
332
|
+
));
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
fn keys(rows: &[JsonValue]) -> Vec<String> {
|
|
337
|
+
rows.iter()
|
|
338
|
+
.map(|r| r["key"].as_str().unwrap().to_string())
|
|
339
|
+
.collect()
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
#[test]
|
|
343
|
+
fn fulltext_limit_returns_the_best_matches_in_order() {
|
|
344
|
+
let db = TestDb::new();
|
|
345
|
+
seed_nights(&db);
|
|
346
|
+
let all = keys(&db.run(
|
|
347
|
+
"CALL db.index.fulltext.queryNodes('titles', 'night*') YIELD node, score
|
|
348
|
+
RETURN node.key AS key",
|
|
349
|
+
));
|
|
350
|
+
assert_eq!(all.len(), 4, "{all:?}");
|
|
351
|
+
assert_eq!(all[0], "a", "the two-term title ranks first: {all:?}");
|
|
352
|
+
for limit in 0..=5 {
|
|
353
|
+
let top = keys(&db.run(&format!(
|
|
354
|
+
"CALL db.index.fulltext.queryNodes('titles', 'night*', {{limit: {limit}}}) YIELD node, score
|
|
355
|
+
RETURN node.key AS key"
|
|
356
|
+
)));
|
|
357
|
+
assert_eq!(top, all[..limit.min(all.len())], "limit {limit}");
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
#[test]
|
|
362
|
+
fn fulltext_skip_and_limit_page_through_the_ranking() {
|
|
363
|
+
let db = TestDb::new();
|
|
364
|
+
seed_nights(&db);
|
|
365
|
+
let all = keys(&db.run(
|
|
366
|
+
"CALL db.index.fulltext.queryNodes('titles', 'night*') YIELD node, score
|
|
367
|
+
RETURN node.key AS key",
|
|
368
|
+
));
|
|
369
|
+
let options = BTreeMap::from([
|
|
370
|
+
("skip".to_string(), LoraValue::Int(1)),
|
|
371
|
+
("limit".to_string(), LoraValue::Int(2)),
|
|
372
|
+
]);
|
|
373
|
+
let page = keys(&db.run_with_params(
|
|
374
|
+
"CALL db.index.fulltext.queryNodes('titles', 'night*', $options) YIELD node, score
|
|
375
|
+
RETURN node.key AS key",
|
|
376
|
+
BTreeMap::from([("options".to_string(), LoraValue::Map(options))]),
|
|
377
|
+
));
|
|
378
|
+
assert_eq!(page, all[1..3]);
|
|
379
|
+
let tail = keys(&db.run(
|
|
380
|
+
"CALL db.index.fulltext.queryNodes('titles', 'night*', {skip: 3}) YIELD node, score
|
|
381
|
+
RETURN node.key AS key",
|
|
382
|
+
));
|
|
383
|
+
assert_eq!(tail, all[3..]);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
#[test]
|
|
387
|
+
fn fulltext_limit_applies_before_where() {
|
|
388
|
+
// The index ranks `limit` matches; a later WHERE filters within them.
|
|
389
|
+
let db = TestDb::new();
|
|
390
|
+
seed_nights(&db);
|
|
391
|
+
let rows = db.run(
|
|
392
|
+
"CALL db.index.fulltext.queryNodes('titles', 'night*', {limit: 2}) YIELD node AS t, score
|
|
393
|
+
WHERE t.key <> 'a'
|
|
394
|
+
RETURN t.key AS key",
|
|
395
|
+
);
|
|
396
|
+
assert_eq!(rows.len(), 1, "{rows:?}");
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
#[test]
|
|
400
|
+
fn fulltext_options_are_checked() {
|
|
401
|
+
let db = TestDb::new();
|
|
402
|
+
seed_nights(&db);
|
|
403
|
+
let err = db.run_err(
|
|
404
|
+
"CALL db.index.fulltext.queryNodes('titles', 'night', {analyzer: 'english'}) YIELD node",
|
|
405
|
+
);
|
|
406
|
+
assert!(
|
|
407
|
+
err.contains("unknown fulltext option `analyzer`"),
|
|
408
|
+
"got: {err}"
|
|
409
|
+
);
|
|
410
|
+
let err = db.run_err(
|
|
411
|
+
"CALL db.index.fulltext.queryNodes('titles', 'night', {limit: -1}) YIELD node
|
|
412
|
+
RETURN node",
|
|
413
|
+
);
|
|
414
|
+
assert!(err.contains("non-negative integer"), "got: {err}");
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
#[test]
|
|
418
|
+
fn fulltext_standalone_call_takes_options() {
|
|
419
|
+
let db = TestDb::new();
|
|
420
|
+
seed_nights(&db);
|
|
421
|
+
let rows = db
|
|
422
|
+
.run("CALL db.index.fulltext.queryNodes('titles', 'night*', {limit: 1}) YIELD node, score");
|
|
423
|
+
assert_eq!(rows.len(), 1, "{rows:?}");
|
|
424
|
+
}
|
{lora_python-0.28.0 → lora_python-0.29.0}/crates/lora-executor/src/eval/builtins/index_ns.rs
RENAMED
|
@@ -52,12 +52,62 @@ fn fulltext<S: GraphStorage>(
|
|
|
52
52
|
) -> Result<LoraValue, String> {
|
|
53
53
|
let name = string_arg(args, 0, "indexName")?;
|
|
54
54
|
let query = string_arg(args, 1, "queryString")?;
|
|
55
|
+
let page = match args.get(2) {
|
|
56
|
+
None | Some(LoraValue::Null) => FulltextPage::default(),
|
|
57
|
+
Some(LoraValue::Map(options)) => FulltextPage::parse(options)?,
|
|
58
|
+
Some(other) => return Err(format!("fulltext options must be a MAP, got {other:?}")),
|
|
59
|
+
};
|
|
55
60
|
check_index(ctx, &name, StoredIndexKind::Fulltext, entity)?;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
let scored = ctx.storage.fulltext_search(&name, &query, page.window());
|
|
62
|
+
Ok(hits(page.skipped(scored), None, entity))
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/// The `{skip, limit}` options of a full-text query (Neo4j's names): the
|
|
66
|
+
/// index ranks only `skip + limit` matches, so a broad query with a limit
|
|
67
|
+
/// never turns every match into a row.
|
|
68
|
+
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
|
|
69
|
+
pub struct FulltextPage {
|
|
70
|
+
pub skip: usize,
|
|
71
|
+
pub limit: Option<usize>,
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
impl FulltextPage {
|
|
75
|
+
pub fn parse(options: &BTreeMap<String, LoraValue>) -> Result<Self, String> {
|
|
76
|
+
let mut page = Self::default();
|
|
77
|
+
for (key, value) in options {
|
|
78
|
+
if key != "skip" && key != "limit" {
|
|
79
|
+
return Err(format!(
|
|
80
|
+
"unknown fulltext option `{key}` (supported: skip, limit)"
|
|
81
|
+
));
|
|
82
|
+
}
|
|
83
|
+
let n = match value {
|
|
84
|
+
LoraValue::Null => continue,
|
|
85
|
+
LoraValue::Int(n) if *n >= 0 => *n as usize,
|
|
86
|
+
other => {
|
|
87
|
+
return Err(format!(
|
|
88
|
+
"fulltext option `{key}` must be a non-negative integer, got {other:?}"
|
|
89
|
+
))
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
if key == "skip" {
|
|
93
|
+
page.skip = n;
|
|
94
|
+
} else {
|
|
95
|
+
page.limit = Some(n);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
Ok(page)
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/// How many of the best matches the index must rank.
|
|
102
|
+
pub fn window(&self) -> Option<usize> {
|
|
103
|
+
self.limit.map(|limit| limit.saturating_add(self.skip))
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/// `scored` (best first) without the skipped head.
|
|
107
|
+
pub fn skipped(&self, mut scored: Vec<(u64, f64)>) -> Vec<(u64, f64)> {
|
|
108
|
+
scored.drain(..self.skip.min(scored.len()));
|
|
109
|
+
scored
|
|
110
|
+
}
|
|
61
111
|
}
|
|
62
112
|
|
|
63
113
|
fn vector<S: GraphStorage>(
|