i am adding special enum to lucene for relevant the search. how i can sort the result who have a specific enum value.
suppose i add Poor moderate Best and i need to get best first in result then how i can do this in Lucene.net.
any way to do this in Lucene.net
Lucene does have its own Sort. Look at the Namespace
Lucene.Net.Search.Sort. Below is an example where I am sorting by DateOfMessage.