Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以通过前缀通过 facet 搜索并突出显示结果吗?例如我有 2 个文档: name = "document1" title = "Simple query" name = "document2" title = "Simple queries"
我可以搜索带有前缀“quer”的文档吗?我可以突出显示返回的结果吗?
facet.prefix 只是将要分面的术语限制为以给定字符串前缀开头的术语。
这不会影响或更改搜索结果,它只是将返回的构面值减少为以指定前缀开头的构面值。
搜索结果将仅由查询确定,并受方面或过滤查询的限制。
所以你不能使用 facet.prefix 搜索文档,结果不会被参数突出显示。