简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM