How to sort by Lucene.Net field and ignore common stop words such as 'a' and '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: The Cat in the Hat Horton Hears a Who Is such a thing possible, and if yes, how? I'm using Lucene.Net 2.3.1.2. 回答1: I wrap the