Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Smart Search Order by DocumentTags View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
dan-falcon-software - 12/17/2013 12:53:48 PM
   
Smart Search Order by DocumentTags
I was wondering if there was any way to have smart search results display items with DocumentTags corresponding to the search first.

Ex.
I search "savings"
I would like any documents with DocumentTags "savings" to be the first results

User avatar
Member
Member
kentico_sandroj - 12/17/2013 4:40:07 PM
   
RE:Smart Search Order by DocumentTags
Hello,

It is possible to specify how the results should be sorted by setting the Web part property:
Defines the order in which search results are displayed. You can specify one or more document fields (separated by commas) according to which the results will be sorted. The ##SCORE## macro can be used to order results by their score (relevance). The default order is ascending, you can change this using the DESC keyword (e.g. articleid DESC). If you encounter the "field <fieldname> does not appear to be indexed" error when using multiple indexes, try specifying the type of the field using the following syntax: (date)createdwhen

However, in order to change or increase the relevance of specific results, I am afraid that would be done through Lucene.

I apologize for the inconvenience. Please let me know if you have any questions.

Best Regards,
Sandro