Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Vertex generic search with keyword matching enforcement?

I'm trying to build a simple search layer on top of my own structured data using Vertex Search + custom data store.

I'm having a hard time figure out how to enforce keyword match on the query string, e.g. if I'm searching by people's name that doesn't exist in my data, the current semantic search would return arbitrary persons. 

0 2 216
2 REPLIES 2

Hi @Yingzxu,

Welcome to Google Cloud Community!

To enhance your Vertex Search, you can try the hybrid approach. This approach combines a semantic search with keyword-based(token-based) which can give you better results by using the strengths of both methods. For further details, check out the documentation below:

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

thanks for the direction, I'm using datastore with generic search instead of vector search, is vector search the only way to do keyword-match based search?

I guess I'm just looking for traditional search just like the google search with keyword matches, surprising that there isn't an simple solution in gcp.