如何搜索特殊符号 AWS 搜索

How To search special symbols AWS Search

我正在努力获得带有@ 等特殊符号的搜索结果。每次我尝试这样做时,我都没有得到任何成功,当我尝试不使用特殊符号时,一切正常。这是我提出的要求。

search?q=(or(prefix+field%3Demail+%27email@email%27)(term+field%3Demail+%27email@email%27))&q.parser=structured&return=user

通过将 @ 替换为其他字符来修复它。

Text Processing

中所述,在文本处理过程中将删除这些符号

According to the word break rules, strings separated by whitespace such as spaces and tabs are treated as separate tokens. In many cases, punctuation is dropped and treated as whitespace. For example, strings are split at hyphens (-) and the at symbol (@).

您可以使用不同的方式解决此问题Text Analysis scheme

您可以将字段设置为文字字段,因为文字字段未标记化。