I am developing a database app using Google Cloud Datastore but don't see any built-in way of doing full-text search on fields. Is there a google-cloud-native solution?
The alternative I see is either:
Do full text search application side (read in each row, find matches)
dupe the fields that need to be full-text-indexed into some other product like Google Cloud Sql (mysql) and use it's full-text-search capabilities instead.
Full-text search refers to searching some text inside extensive text data stored electronically and returning results that contain some or all of the words from the query. In contrast, traditional search would return exact matches.
Because Cloud Datastore API v1 is released, Cloud Datastore API v1beta3 is now deprecated.
As described above, a Datastore mode database creates an entry in a predefined index for every property of every entity except those you have explicitly declared as excluded from your indexes. The property may also be included in additional, custom indexes declared in your index configuration file ( index. yaml ).
You might want to look into the App Engine search API as an alternative to duplicating fields into Cloud SQL for full text search.
You still need to duplicate the data into documents/indexes but you only pay per queries and storage.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With