splittingred / SimpleSearch

A simple search component for MODx Revolution
http://docs.modxcms.com/display/ADDON/SimpleSearch
36 stars 36 forks source link

Issue with fieldPotency and multi-page results #52

Open ghost opened 13 years ago

ghost commented 13 years ago

When there are multiple pages of results for a search query, the results do not seem to be weighted and sorted properly. The problem seems to be that the results are limited first, and THEN weighted according to the fieldPotency property. So for example, running a search query with perPage set to 10, it will limit the results, pull out the first 10 matches (unweighted, and sorted by whatever field is specified) and then weight+sort only the first 10 results. Likewise for the next page of results, and so on. So the results are not "truly" weighted - only the results for "x" page of results is sorted by weight.

One obvious solution is to pull out all matches (not limited), weight those results, and display the top x results.

bwente commented 9 years ago

I was really hoping this was fixed. I don't understand, it seems this project is dead and splittingred is no longer associated with the modx community, but this extra is getting updated and not fixed.