feat:完善信息

This commit is contained in:
henry
2022-01-25 11:45:53 +08:00
parent 26b58e3ca6
commit 932ed31450
13 changed files with 169 additions and 45 deletions

View File

@ -82,12 +82,12 @@ func TestNewInstance2(t *testing.T) {
client := _new()
query := elastic.NewBoolQuery()
query.Must(elastic.NewMatchQuery("title", "一种"))
//query.Must(elastic.NewMatchQuery("title", "一种"))
//query.Must(elastic.NewMatchPhraseQuery("industry", "你是"))
service := client.Search().
//Index("es_patent_index")
Index("es_manage_index_1")
Index("es_manage_index_2")
result, err := service.From(0).Size(10).
//Explain(true).