there are more terms than documents in field "XX", but it's impossible to sort on tokenized fields
java.lang.RuntimeException: there are more terms than documents in field "XX", but it's impossible to sort on tokenized fields
出现这种错误是在compass或者lucene 进行排序的时候 没有对排序字段 加上 index = Index.NOT_ANALYZED
原创
2012-09-11 18:26:34 ·
1500 阅读 ·
0 评论