-
1 votesanswersviews
后缀链接和失败链接之间有什么区别?
我正在学习本学期的算法,并阅读了有关构建后缀树的Aho-Corasick string matching algorithm和Ukkonen's algorithm . 我读了这两个但是无法理解这两个的主要基本区别,除了故障链接检查前缀和后缀链接检查后缀 . 这两种算法有什么区别? -
0 votesanswersviews
如何在elasticsearch查询中的特定字段上查找多个精确值?
我的样本数据如下所示: {"listings":{"title" : "testing 1", "address" : { "line1" : "3rd cross", "line2" : "6th main", "line3&q... -
2 votesanswersviews
ElasticSearch:具有edge_ngram和模糊性的部分/精确评分
在ElasticSearch中,我试图使用edge_ngram以及模糊来获得正确的评分 . 我希望完全匹配得分最高,子匹配得分较低 . 以下是我的设置和评分结果 . settings: { number_of_shards: 1, analysis: { filter: { ngram_filter:... -
1 votesanswersviews
当查询文本是子字符串时,Elasticsearch完全匹配
我的Elasticsearch中有一个带有字段的数据 PUT /logs/visited_domains/1 { "visited_domain":"microsoft.com" } PUT /logs/visited_domains/2 { "visited_domain":"not-microsoft.com" }... -
2 votesanswersviews
如何在elasticsearch中完全匹配?
在这里,我给出了更新的映射 curl -X PUT localhost:9200/testing/listings/_mapping -d '{ "listings" : { "properties" : { "address" : { "properties": { ... -
2 votesanswersviews
如何在Elasticsearch中对分析的字段执行完全匹配查询?
这可能是一个非常常见的问题,但到目前为止我得到的答案并不令人满意 . 问题:我有一个由近100个字段组成的es索引 . 大多数字段是 string 类型并设置为 analyzed . 但是,查询可以是部分( match )或精确(更像是 term ) . 因此,如果我的索引包含值为 super duper cool pizza 的字符串字段,则可能存在部分查询,如 duper super ,并且... -
0 votesanswersviews
在数组中查找多个精确值
我有一个如下所示的文档,其中PCL是一个关键字 { "name": "test", "PCL": [ "product1_company1_location1", "product2_company2_location2" ...