摘要:在Lucene.net实现自定义排序,需要实现两个Lucene.Net.Search的两个接口:public interface SortComparatorSource{ ScoreDocComparator NewComparator(IndexReader reader , System.String fieldname) ;}public interface ScoreDocComparator{ int Compare(ScoreDoc i , ScoreDoc j) ; System.IComparable SortValue(ScoreDoc i) ; int SortType(
阅读全文