Developer forum

Forum » Development » New index: sort by score

New index: sort by score

Anders Ebdrup
Reply

Hi Dynamicweb,

 

Is it possible to have the results from the new index sorted by score? I need to sort my documents by score as the third option.

 

Best regards, Anders


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Anders

When searching the index, the results are returned by score - you can see the score in 8.7+ using the the query publisher.

If you change the sort of a search to one or more other fields, they are used in stead. It is not possible to set the sort to i.e. "price desc, name asc, score desc". But that is what you are asking for?

BR Nicolai

 
Anders Ebdrup
Reply

Hi Nicolai,

 

Yes, that is exactly what I need :-) Can it be possible?

 

Best regards, Anders

 
Anders Ebdrup
Reply

Hi Nicolai,

 

Is it possible that this can be done in the 8.7-branch? Preferable in the administration or by custom code?

 

Best regards, Anders

 
Anders Ebdrup
Reply

Hi again,

 

Will this be possible in the near future? Our client is waiting for an update on this.

 

Best regards, Anders

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Anders

We have not made this feature yet - but we have it on the board for 8.8.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum