Lucene sort

Lucene sort:

1.索引顺序

2.相关度

3.sort field

4.custom sort (comparator)

5.function query(score函数)

6.boost(norm) 7.custom collector。

他们各有所长,有的耗cpu时间,有的耗索引大小。

猜你喜欢

转载自ldd600.iteye.com/blog/1566701