阅读背景:

如何按Lucene.Net字段排序并忽略常见的停用词,如'a'和'the'?

来源:互联网 

I've found how to sort query results by a given field in a Lucene.Net index instead of by score; all it takes is a field that is indexed but not tokenized. However, what I haven't been able to figure out is how to sort that field while ignoring stop words such as "a" and "the", so that the following book titles, for example, would sort in ascending order like so:I've found how to sort query results by a given




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: