I want to build a hstQuery for a custom property. My node has a custom compound where the property is stored.
When I build a query with a constraint like this: .constraint(“myproject:title”).contains(“test”)
or add filter to the query: addContains(“myproject:title”, “test”)
nothing will be found.
If I search with: .constraint(".").contains(“test”) or addContains(".", “test”) the documents will be found.
Do I have to register my properties somehow to use them in a hstQuery? Or is my query wrong?
Thanks in advance