We are using the EPiServer Full Text Search in a solution for a customer. They want to be able to specify a sorting parameter that we can send to the SearchHandler to get the search result sorted from the IndexingService. Is it possible to do this? Is it possible to write a class that implements the IQueryExpression interface to do so?
Just want to ask, did you find a way to sort in Full Text Search?
I need the same thing, but when I dug into the source code I found that there is no lucene sort object passed in when search.
And there is no sort syntax for lucene, so it seems that custom IQueryExpression is a dead end.
Any update on this question? I'd like to do the same thing. Use IQueryExpression to sort search results on a custom field.
Registered a support case with EPiServer on this matter and the conclusion was that this is not supported at the moment.
Thanks for the follow up, Tore. I had also tried to game Lucene's scoring to sort by a custom field, but that didn't work out. Guess we can chalk this up to another selling point on Find.