Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

104.8. Sorting

		
SearchResponse response = client.prepareSearch("netkiller")  
	.setQuery(QueryBuilders.matchAllQuery())  
	.addSort(SortBuilders.fieldSort("title"))  
	.addSort("_score", SortOrder.DESC)  
	.get()