Torch Log Service
Query types | Keyword query (non-phrase query) | Phrase query | Phrase query (index edition) |
Query types | Keyword query (non-phrase query) | Phrase query | Phrase query (index edition) |
Description | Keyword matching is performed using delimiter, which means the phrase is split into individual keywords based on the index delimiter for querying. | Use the #"specified phrase" format to precisely match logs containing the specified phrase. For information about restrictions and principles, see Query logs via phrase query. | Use the "specified phrase" format to precisely match logs containing the specified phrase.
|
Example |
|
|
|
Result | Query logs that contain both the keywords connection, after and connection after. | Only query logs that contain the complete phrase connection after. | Only query logs that contain the complete phrase connection after. |
Query methods | Full-text query | Key-value query |
Query methods | Full-text query | Key-value query |
Syntax for keyword query (not phrase query) | "abc def" is equivalent to abc AND def. | key: 'abc def' is equivalent to key: abc AND key: def. |
Phrase query syntax | #"abc def" | key:#"abc def" |
Phrase query (index edition) syntax | "abc def" | key:"abc def" |
Query statement examples | Results when phrase query enhancement is disabled | Results when phrase query enhancement is enabled |
Query statement examples | Results when phrase query enhancement is disabled | Results when phrase query enhancement is enabled |
connection after | Match logs containing the following keywords (keyword match):
Notice Enabling the enhanced phrase query feature does not affect the query results for this statement. | |
#"connection after" | Match logs that contain only the keyword connection after (phrase query - standard version). | |
"connection after" | Match logs containing the following keywords (keyword match):
| Match logs containing only the keyword connection after (phrase query - index edition). |
Query statements | Results when phrase query enhancement is disabled | Results when phrase query enhancement is enabled |
Query statements | Results when phrase query enhancement is disabled | Results when phrase query enhancement is enabled |
connection after | A | A |
#"connection after" | B | B |
"connection after" | A | B |