Is it possible to construct `field:foo` searches using SearchNode?

I failed to find such option in the source code. Can this be added? Or perhaps there is already a way to construct such search expressions, without having to manually build a string and escape special characters?

field_name doesn’t support specifying field content, so I imagine you’d need to add a new variant that took a message with the field name as a string, field content as a string, and whether it was a regex. Does that sound right @Rumo?

1 Like

Yes, I think we’ve only added nodes used by Anki, so there is currently no support for field content or arbitrary text.

2 Likes