Easy-Es操作Elasticsearch

   日期:2024-12-26    作者:qbw7x 移动:http://mip.riyuangf.com/mobile/quote/44239.html
MySQLEasy-Eses-DSL/es java apiandandmustororshould=eqterm!=neboolQueryBuilder.mustNot(queryBuilder)>gtQueryBuilders.rangeQuery(‘es field’).gt()>=geQueryBuilders.rangeQuery(‘es field’).gte()<ltQueryBuilders.rangeQuery(‘es field’).lt()<=leQueryBuilders.rangeQuery(‘es field’).lte()like ‘%field%’likeQueryBuilders.wildcardQuery(field,value)not like ‘%field%’notLikemust not wildcardQuery(field,value)like ‘%field’likeLeftQueryBuilders.wildcardQuery(field,*value)like ‘field%’likeRightQueryBuilders.wildcardQuery(field,value*)betweenbetweenQueryBuilders.rangeQuery(‘es field’).from(xx).to(xx)notBetweennotBetweenmust not QueryBuilders.rangeQuery(‘es field’).from(xx).to(xx)is nullisNullmust not QueryBuilders.existsQuery(field)is notNullisNotNullQueryBuilders.existsQuery(field)ininQueryBuilders.termsQuery(" xx es field", xx)not innotInmust not QueryBuilders.termsQuery(" xx es field", xx)group bygroupByAggregationBuilders.terms()order byorderByfieldSortBuilder.order(ASC/DESC)minminAggregationBuilders.minmaxmaxAggregationBuilders.maxavgavgAggregationBuilders.avgsumsumAggregationBuilders.sumorder by xxx ascorderByAscfieldSortBuilder.order(SortOrder.ASC)order by xxx descorderByDescfieldSortBuilder.order(SortOrder.DESC)-matchmatchQuery-matchPhraseQueryBuilders.matchPhraseQuery-matchPrefixQueryBuilders.matchPhrasePrefixQuery-queryStringQueryQueryBuilders.queryStringQueryselect *matchAllQueryQueryBuilders.matchAllQuery()-highLightHighlightBuilder.Field

Easy-Es操作Elasticsearch


特别提示:本信息由相关用户自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。


举报收藏 0评论 0
0相关评论
相关最新动态
推荐最新动态
点击排行
{
网站首页  |  关于我们  |  联系方式  |  使用协议  |  隐私政策  |  版权隐私  |  网站地图  |  排名推广  |  广告服务  |  积分换礼  |  网站留言  |  RSS订阅  |  违规举报  |  鄂ICP备2020018471号