SimpleSearch icon indicating copy to clipboard operation
SimpleSearch copied to clipboard

Issue with fieldPotency and multi-page results

Open ghost opened this issue 13 years ago • 1 comments

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.

ghost avatar Jul 01 '11 04:07 ghost

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.

bwente avatar Apr 12 '15 12:04 bwente