Comments (3)
分不分词取决于字段的索引类型是否为text,是否指定分词器等.
并不缺少不分词查询接口,像eq就是精确匹配,并不分词.但一个字段无法同时既支持分词查询,又支持不分词查询,es本身就不支持.
如果你非要这么做,可以建立该字段的冗余字段,值用同一个,类型一个采用keyword,一个用text,就可以化解.
from easy-es.
明白了,多谢
from easy-es.
from easy-es.
Related Issues (20)
- match_phrase中支持slop的支持
- IdType无法满足单个注解中使用IdType.NONE,全局使用自定义
- matchPhrasePrefixQuery报错,不支持zero_terms_query
- groupBy,无法聚合text类型 HOT 1
- interface default方法无法执行
- vararg 形参的未检查的泛型数组创建 问题
- date字段在es中存储的是long
- 使用nested类型启动报错 HOT 1
- 混合查询getSearchSourceBuilder无法识别wrapper的排序OrderByParam的condition导致null
- 反向过滤(不查询指定字段) wrapper.notSelect(Document::getTitle,Document::getName); 只生效了一个
- @indexname 不能引用参数 HOT 1
- 使用多数据源,全局配置index-prefix 无法生效
- ignoreCase 这个注解没有生效 忽略大小写查询不生效
- Map类型字段fastjson保存序列化问题 HOT 1
- 数据迁移后,新旧索引的别名切换为啥用的是默认别名?
- 使用8X版本的es,创建索引报错
- 对用户名称进行排序怎么写?
- 查询所有数据
- 分组查询没有接收返回结果的api
- LambdaEsQueryWrapper拼接条件时,无论第一个条件是否用了.filter().eq()进行拼接,最后生成的dsl始终为must
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-es.