mybatis的模糊查询格式: <select id="xxx" parameterType="com.model.xxx" resultMap="BaseResultMap"> select * from users WHERE 1=1 <if test="name != null and name != ''" > and name like CONCAT('%',#{name,jdbcType=V…
记录常用的es 查询 聚合 GET _cat / indices GET / p_ext_develop / _mapping / g GET / p_ext_develop / _analyze { "field": "other_name_en", "text": "(3S)-N-Boc-2-azabicyclo[2.2.1]heptane-3-carboxylicacid;"} GET / hs2840 / _analy…
# es 查询更新操作# _*_ coding: utf-8 _*_ import time import datetime import pymysql from elasticsearch import Elasticsearch from urllib3.connectionpool import xrange # class EsClient(): es_host = "192.168.8.190" port = 9200 timeout = 15000 global inde…