Tablestore provides match query and match phrase query for full-text search. Full-text search matches data based on tokens and highlights matched keywords in query results.
Background information
When you create a search index, you can specify a Tokenization method for Text fields. The default is single-word tokenization.
Data query
The following table describes the data query features for full-text search.
|
Feature |
Description |
Scenario |
|
Match query searches for data that contains a specific keyword based on approximate matches. Tablestore tokenizes Text field values and query keywords based on the specified tokenization method, then matches data against the tokens. |
Big data analytics, content search, knowledge management, social media analysis, log analysis, intelligent Q&A systems, and compliance review. |
|
|
Match phrase query searches for data that contains a specific keyword whose tokens appear in a specific order. A row meets the query conditions only when the token order and positions in the row match those in the tokenized keyword. |
Big data analytics, content search, and intelligent recommendation. |
Data processing
The following table describes the data processing features for full-text search.
|
Feature |
Description |
|
The highlight feature highlights text that matches or relates to query strings in the results, helping you quickly locate relevant content. |