Shailendra Madda
Shailendra Madda

Reputation: 21551

Objectify - Case in sensitive - GAE

How an we get data or filter the list without case sensitive?

Example: I have list of records in GAE DB like: {Test, test}

I want to get both of them(Test and test) when I enter 't' OR 'T' in search filter.

Upvotes: 0

Views: 135

Answers (1)

Nick
Nick

Reputation: 1822

Using objectify, you will need to normalise and store a duplicate property.

For a more flexible solution, consider storing a document in the search api. This will give you normalisation, stemming and advanced ordering and scoring at the cost of needing to coordinate writes and searches across the search index and the datastore.

Upvotes: 1

Related Questions