使用配置文件和生产索引
This commit is contained in:
		@@ -272,7 +272,7 @@ func NewSchema(config Config) (graphql.Schema, error) {
 | 
			
		||||
							"bool": map[string]interface{}{
 | 
			
		||||
								"must": []map[string]interface{}{
 | 
			
		||||
									{
 | 
			
		||||
										"query_string": map[string]string{"query": "City:" + args.Text},
 | 
			
		||||
										"query_string": map[string]string{"query": "text:" + args.Text},
 | 
			
		||||
									},
 | 
			
		||||
								},
 | 
			
		||||
							},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user