I am trying to run a query against a collection that contains documents like this
{"Where":{"propertyName":"Where","propertyType":"Text","propertyValue":"where is the blackout?"},"DocumentType":{"propertyName":"DocumentType","propertyType":"Text","propertyValue":"DocumentTemplate"},"HomesAffected":{"propertyName":"HomesAffected","propertyType":"Text","propertyValue":"Number of homes affected"},"ComplaintType":{"propertyName":"ComplaintType","propertyType":"Text","propertyValue":"Blackout"},"Since":{"propertyName":"Since","propertyType":"Text","propertyValue":"since how many days"}}
I am t rying to get documents containing a keyword - say "blackout".
I have tried to do this programatically or through the dashboard with no luck - it always returns no document is in the colection. How can I do a keyword search in the jsonDocument?
Can I for instance use a query like
builtQuery = QueryBuilder.build("propertyValue", "Blackout", Operator.LIKE) which is what i use and get no document found or should I use something else?