Is there some way to implement Django like contains or icontains filters with Google App Engine as well? I am using app engine patch.
I have used the below query earlier to match the start of a string but now the requirement is to find a string pattern within Datastore.
Employee.all().filter('name >=',value).filter('name <',unicode(value) + u'\ufffd')
Basically the requirement is to implement a search functionality with all the strings containing the search string as a result.
Please suggest.
Thanks in advance.
What you need to do is create a string list property with the different string permutations and query on that list.
Take a look at appengine.ext.search.SearchableModel for an example implementation.
You can also check out nonrel-search.