I\'m working on a project where a user should be able to define a logical expression in a document. To search the docs, they should provide a set of properties used in the expre