elasticsearch - Elasticsearch 自动查找查询
问题描述
我需要以下问题陈述的帮助
问题是实现具有以下要求的自动查找功能
Input -> BTech
Output ->
BTech in cse
b.tech in computer science
b tech in computer
Input -> B.Tech
Output ->
BTech in cse
b.tech in computer science
b tech in computer
Input -> Tec
Output ->
Technological Advance
Artificial Technology
BTech in cse
b.tech in computer science
b tech in computer
但是使用 text=b.tech,我的结果也与“be”标记匹配,这是最重要的。结果应该是让 btech 位居榜首。(我用过 Ngrams、word_delimiter 等)
我不是故意在这里显示我的查询,因为它变得非常复杂,会造成混乱。如果有人以全新的心态从头开始写作,将不胜感激。
谁能帮我解决所需的查询?:|
解决方案
推荐阅读
- ios - 哪个 MobileDB 容器更适合存储用户数据模型(iOS)?
- r - 如何仅使用基本 R 过滤数据框
- java - 使用 Jsoup 从网页获取价格
- c# - 使用 WhenAnyObservable 组合和过滤多个事件
- authentication - IdentityServer:为什么用户名和密码错误但可以通过登录页面登录
- php - 如何使用 Google 的 OAuth API 为用户获取 API 密钥?
- r - 在 igraph 中重新编码顶点属性
- node.js - 打字稿给出,“找不到模块'xmlhttprequest'的声明文件。”
- asp.net - “无法创建 SSL/TLS 安全通道”:克隆如何工作?
- javascript - 使用 Joi 的条件标头