searchplayframeworksiena

How does siena query search work?


I'm looking for a documentation on how to do a query in siena that returns all the elements which contains a string. I tried something like

return all().search("nome", query).fetch();

but it returns all the elements, with no filtering.


Solution

  • Sorry for the delay, I wasn't available!
    You use GAE, isn't it?
    Siena Search for GAE is very limited as GAE provides very limited search features for its datastore. So Siena implements what it can using some tricks.

    In a summary:

    Siena ALLOWS the following searches for GAE (for the time being):

    Siena DOESN'T ALLOW the following searches for GAE: