摘要:
一:多字段排序 可以如下构造Sort。example.displayHits(allBooks,new Sort(new SortField[]{new SortField("category"),SortField.FIELD_SCORE,new SortField("pubmonth", SortField.INT, true)}));备注:knowing that sorting by a String is the most expensive type in termsof resources(对字符型数据排序是最耗资源的)-------参考& 阅读全文
posted @ 2012-04-21 11:24
李克华
阅读(744)
评论(0)
推荐(0)

浙公网安备 33010602011771号