Google Cloud Datastore: Full text search?
Asked Answered
D

1

11

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:

  1. Do full text search application side (read in each row, find matches)

  2. 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.

Drippy answered 29/10, 2016 at 18:12 Comment(0)
T
8

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.

Trait answered 30/10, 2016 at 20:43 Comment(2)
thx for links @Trait - Q is that search suitable for 1MB text content?Whimper
@BGBruno Search API has a limit of 1 MB for each document.Trait

© 2022 - 2024 — McMap. All rights reserved.