JP AJAX Search - Smart Relevance Ranking
Article Index
- JP AJAX Search
- How to install & use
- Basic Module Settings
- Using Language Constants in Text Fields
- Source Status Overview
- Joomla Articles Source
- Product Sources
- Phoca Cart Source
- HikaShop Source
- J2Commerce Source
- OCH Subscriptions Source
- Document and File Sources
- jDownloads Source
- DOCman Source
- eDocman Source
- Event Sources
- Event Booking Source
- JEvents Source
- Frontend Style Presets
- Display Settings
- Smart Relevance Ranking
- Access Levels and Visibility
- Frontend Testing
- Troubleshooting
- Developer Notes
- Recommended Setup
- All Pages
Page 21 of 26
Smart Relevance Ranking
JP Ajax Search includes two ranking modes.
Simple / Source Order
Simple mode keeps results close to source priority and provider order. It is the safest and most predictable mode.
Smart Relevance
Smart relevance ranks mixed results by match quality. Strong title, SKU, file name, product key, category, manufacturer, location, and description matches can outrank higher-priority sources. Source priority is still used, but only as a small boost.
The scoring model works like this:
final_score = match score + (source priority * 3)
Example:
score 85 + priority 6 * 3 = final_score 103
This means a strong match from a lower-priority source can still appear above a weak match from a higher-priority source.
Ranking Debug
Ranking debug adds scoring information to AJAX JSON responses for testing.
Debug fields can include:
scorefinal_scorescore_debugpriority
Ranking debug should normally be disabled on production websites.