Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
4ae827a
filter expr impl
shivamka1 Jun 4, 2026
4460d19
split NodePropOp into NodePropOp and NodeMetaOp, remove is_metadata flag
shivamka1 Jun 4, 2026
9d4691c
remove NodeTypeStringOp, use ArcStr directly for node type comparisons
shivamka1 Jun 4, 2026
793b0e6
ref
shivamka1 Jun 5, 2026
c3c3da7
split CompositeNodeFilter::Node into typed Id/Name/Type variants, rem…
shivamka1 Jun 5, 2026
9889d5f
replace NodeIdFilterBuilder/InternalNodeIdFilterBuilder/NodeIdFilterO…
shivamka1 Jun 5, 2026
454e3d1
implement InternalNodeFilterBuilder on Name and Type directly, replac…
shivamka1 Jun 5, 2026
142699f
implement InternalNodeFilterBuilder on Name and Type directly, replac…
shivamka1 Jun 5, 2026
af438c1
add comment
shivamka1 Jun 5, 2026
18eaec7
some experiments
ljeub-pometry Jun 5, 2026
4659ba2
add temporal property NodeExpr with any/all quantifiers and aggregato…
shivamka1 Jun 8, 2026
6e853bb
Merge branch 'filter_expr' of github.com:Pometry/Raphtory into filter…
shivamka1 Jun 8, 2026
16e6304
split QuantifiedNodeOp into AnyNodeOp/AllNodeOp, fix post-merge build…
shivamka1 Jun 8, 2026
b09096a
start reworking some bits
ljeub-pometry Jun 8, 2026
9a1381f
break more things
ljeub-pometry Jun 9, 2026
e5ff97d
make things
shivamka1 Jun 9, 2026
fd45acf
start introducing prop_type for handling validation
ljeub-pometry Jun 9, 2026
fedf488
reorganise node_expr into exprs/ops/filters, drop NoWrap, document th…
shivamka1 Jun 10, 2026
d2cbd57
add is_true() / is_false() convenience filters for boolean properties
shivamka1 Jun 10, 2026
66ef4d1
rename TemporalPropContext/QuantifiedContextBuilder/NodeExprContextBu…
shivamka1 Jun 10, 2026
d74efe2
add NodeFilter::name/id/node_type associated fns and export NodeExprF…
shivamka1 Jun 11, 2026
4c02e77
implement InternalPropertyFilterBuilder for PropertyExpr/MetadataExpr…
shivamka1 Jun 11, 2026
54747e5
remove TemporalNodeExprBuilderOps and temporal_property shortcut — us…
shivamka1 Jun 11, 2026
ac0f1f6
impl edge sides of things
shivamka1 Jun 15, 2026
d58cdc5
merge from db_v4
shivamka1 Jun 15, 2026
02bb984
output type is now option of prop, ref
shivamka1 Jun 15, 2026
4a000c8
fix
shivamka1 Jun 15, 2026
30e4d7f
ref
shivamka1 Jun 15, 2026
0277285
refactor(filter): unify NodeExpr output to Option<Prop>, replace quan…
shivamka1 Jun 15, 2026
6678607
more changes
shivamka1 Jun 16, 2026
89b8c38
fix ops
shivamka1 Jun 16, 2026
998e526
experimenting
shivamka1 Jun 16, 2026
9048bbd
fix the other issues
ljeub-pometry Jun 16, 2026
49f6b94
add markers
ljeub-pometry Jun 16, 2026
ba90796
impl entity marker and rid duplications
shivamka1 Jun 17, 2026
49acda0
fix tests
shivamka1 Jun 17, 2026
5ea726e
fix tests
shivamka1 Jun 17, 2026
7061d8b
fix tests
shivamka1 Jun 17, 2026
ea7f63d
fix tests
shivamka1 Jun 17, 2026
eb2f921
remove degree temporal aggregation entries now caught at compile time
shivamka1 Jun 17, 2026
95b2b88
fix ordering of filters
shivamka1 Jun 17, 2026
a81ee5d
fix tests
shivamka1 Jun 17, 2026
58688de
add EntityExpr/NodeExpr/EdgeExpr impls for AndFilter/OrFilter to enab…
shivamka1 Jun 17, 2026
f275608
fix exploded edgefilter
shivamka1 Jun 17, 2026
9d2ee27
fix: complete type-safe filter API migration - EntityAggOps, EdgeEndp…
shivamka1 Jun 17, 2026
6629d70
fix tests
shivamka1 Jun 18, 2026
a611bc3
reorder quantifier chains and make broadcast_binary recursive to fix…
shivamka1 Jun 18, 2026
3ed6c10
use Prop::try_cast for cross-type numeric comparisons in filters
shivamka1 Jun 18, 2026
8df0447
fix: apply view transforms (window/latest/snapshot/layer) before dele…
shivamka1 Jun 19, 2026
a5b27cb
Merge branch 'db_v4' into filter_expr_wip
shivamka1 Jun 19, 2026
5c39363
fix tests
shivamka1 Jun 19, 2026
4a5c804
reorder temporal quantifier chains: comparator before quantifier; res…
shivamka1 Jun 19, 2026
a571fbf
rewrite tests
shivamka1 Jun 19, 2026
4d8c56f
fix tests
shivamka1 Jun 21, 2026
bff4ce7
fix test
shivamka1 Jun 21, 2026
a19e539
fix tests
shivamka1 Jun 21, 2026
ca43cd4
fix tests
shivamka1 Jun 21, 2026
0383aa0
fix tests
shivamka1 Jun 22, 2026
969b9b9
cleanup: stale comments, dead code, get_prop_id, drop static NodeFilt…
shivamka1 Jun 22, 2026
c2180d1
rename BinaryCmpFilter/StringFilter/UnaryFilter/PropValueSetFilter to…
shivamka1 Jun 22, 2026
b54460a
unify TemporalProp into TemporalExpr; delete TemporalPropOps shim trait
shivamka1 Jun 22, 2026
a68023b
And/Or bool ops broadcast over Prop::List inputs
shivamka1 Jun 23, 2026
6572425
Merge branch 'db_v4' into filter_expr_wip
shivamka1 Jun 23, 2026
762038d
ref
shivamka1 Jun 23, 2026
baee2e3
rid search tests rust
shivamka1 Jun 23, 2026
67ec8a6
rid search tests py
shivamka1 Jun 23, 2026
db868ba
rid search tests gql
shivamka1 Jun 23, 2026
5b51c5d
impl. py expr
shivamka1 Jun 24, 2026
3322b3a
impl py expr
shivamka1 Jun 24, 2026
4dea8f8
ref
shivamka1 Jun 24, 2026
b305f1b
ref
shivamka1 Jun 24, 2026
a95cb11
composable filters need not be exprs
shivamka1 Jun 24, 2026
b53c473
ref
shivamka1 Jun 24, 2026
7d3172c
expose EntityExprFilterOps surface on PyExpr
shivamka1 Jun 24, 2026
1207c20
expose aggregator methods on PyExpr
shivamka1 Jun 24, 2026
7b464ee
wip
shivamka1 Jun 25, 2026
46af857
impl missing traits
shivamka1 Jun 25, 2026
6a26411
ref
shivamka1 Jun 25, 2026
089eff5
impl CreateOp for UnaryExpr and missing ExplodedEdgeFilter variants
shivamka1 Jun 25, 2026
51ecb59
fix error messages
shivamka1 Jun 25, 2026
08d7bfc
align CreateOp/error-code dispatch for EntityMarker variants
shivamka1 Jun 25, 2026
7138962
fix node filter Python wrappers: add From<Arc<dyn DynNodeFilterFactor…
shivamka1 Jun 25, 2026
9f45b9d
mirror DynNodeFilterFactory pattern on edge side: add DynEdgeFilterFa…
shivamka1 Jun 25, 2026
36c77b7
relax CreateOp bound on PropertyExpr/MetadataExpr to allow edge-side use
shivamka1 Jun 25, 2026
e694c0e
add with_entity to BinaryCmpExpr and simplify EntityMarker dispatcher…
shivamka1 Jun 25, 2026
01fdbe4
Merge branch 'db_v4' into filter_expr_wip
shivamka1 Jun 25, 2026
b26c29f
drop search_nodes/search_edges from Python API and remove composite-p…
shivamka1 Jun 25, 2026
29cdf28
delete composite-path test invocations and trait bounds from raphtory…
shivamka1 Jun 25, 2026
080da9c
drop remaining TryAsCompositeFilter trait bounds and imports from tes…
shivamka1 Jun 25, 2026
1cf86fb
remove gql search apis
shivamka1 Jun 25, 2026
274d04f
fix isactivenode
shivamka1 Jun 26, 2026
7d89dda
break recursive Window bound on Dyn*FilterFactory blanket impls via g…
shivamka1 Jun 26, 2026
6c864cd
fix isactivenode
shivamka1 Jun 26, 2026
bb67535
add prop-type aware validation for IsActiveNode: prop_type/nullable o…
shivamka1 Jun 26, 2026
d29a721
migrate structural edge predicates (IsActive/IsValid/IsDeleted/IsSelf…
shivamka1 Jun 26, 2026
ca60173
Merge branch 'db_v4' into filter_expr_wip
shivamka1 Jun 26, 2026
bcbc358
ref
shivamka1 Jun 26, 2026
288bdbb
fix bounds
shivamka1 Jun 26, 2026
0ef95b0
add EntityExpr + CreateOp impls to IsActive/IsValid/IsDeleted/IsSelfL…
shivamka1 Jun 26, 2026
a47b471
fix by_state_column, ref
shivamka1 Jun 26, 2026
d5f07df
Merge branch 'db_v4' into filter_expr_wip
shivamka1 Jun 29, 2026
f7de3ea
simplify some trait implementations
ljeub-pometry Jun 29, 2026
a0aac86
fix the trait implementations and clean up redundant implementations …
ljeub-pometry Jun 29, 2026
00b5a93
still recursing
ljeub-pometry Jun 29, 2026
5f348b1
narrow EntityExprFilterOps to EntityExprBuilder marker to avoid stdli…
shivamka1 Jun 29, 2026
5e06c06
expr for gql
shivamka1 Jun 29, 2026
a5baeb6
Merge branch 'db_v4' into filter_expr_wip
shivamka1 Jun 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
392 changes: 196 additions & 196 deletions python/tests/test_base_install/test_filters/test_node_filter.py

Large diffs are not rendered by default.

27 changes: 0 additions & 27 deletions python/tests/test_base_install/test_graphdb/test_graphdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3015,30 +3015,3 @@ def datadir(tmpdir, request):
raise e
return tmpdir


# def currently_broken_fuzzy_search(): #TODO: Fix fuzzy searching for properties
# g = Graph()
# g.add_edge(2,"haaroon","hamza", properties={"value":60,"value_f":31.3,"value_str":"abc123"})
# g.add_edge(1,"ben","hamza", properties={"value":59,"value_f":11.4,"value_str":"test test test"})
# g.add_edge(3,"ben","haaroon", properties={"value":199,"value_f":52.6,"value_str":"I gitgit awanna rock right now"})
# g.add_edge(4,"hamza","naomi", properties={"value_str":"I wanna rock right now"})
# assert len(index.fuzzy_search_edges("value_str:\"I wanna nock right now\"",levenshtein_distance=2)) == 2


# def test_search_with_layers(): #TODO: Fix layer seearching
# g = Graph()
# g.add_edge(3,"haaroon","hamza",properties={"value":70,"value_f":11.3,"value_str":"abdsda2c123"},layer="1")
# g.add_edge(4,"ben","naomi",properties={"value":100,"value_f":22.3,"value_str":"ddddd"},layer="2")
# g.add_edge(5,"ben","naomi",properties={"value":100,"value_f":22.3,"value_str":"ddddd"},layer="3")
# index = g.index()

# need to expose actual layer searching
# assert len(index.search_edges("layer:1")) == 1

# assert len(index.search_edges("value_str:ddddd")) == 1
# assert len(index.search_edges("value:>60")) == 2

# l_g = g.layer(["1","3"])
# l_index = l_g.index()
# assert len(index.search_edges("value_str:ddddd")) == 1
# assert len(index.search_edges("value:>60")) == 2
29 changes: 0 additions & 29 deletions python/tests/test_base_install/test_graphql/misc/test_index_off.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

Each field is tested under a combination of base / window / layer views to
exercise the composition plumbing, not just the field itself.

`searchEdges` is left untested here — it's marked experimental in the schema
and requires an index-creation path that these fixtures don't exercise.
"""

from utils import run_group_graphql_test
Expand Down
169 changes: 0 additions & 169 deletions python/tests/test_search/test_gql_index_spec.py

This file was deleted.

Loading
Loading