Solr有这个漂亮的分析工具,可以尝试不同的字段类型和分析器,而不必经历索引/查询周期。
https://lucene.apache.org/solr/guide/6_6/analysis-screen.html
Elastic Search也有类似的功能吗?
发布于 2020-08-27 09:19:00
Elasticsearch没有用于分析的任何这样的UI。Elasticsearch提供API进行分析,并以json格式进行响应。
GET /_analyze
{
"analyzer" : "standard",
"text" : "Quick Brown Foxes!"
}另一个API是:
GET /_analyze
{
"tokenizer" : "standard",
"filter" : ["snowball"],
"text" : "detailed output",
"explain" : true,
"attributes" : ["keyword"]
}https://stackoverflow.com/questions/63607005
复制相似问题