I’m entering
[[!SimpleSearch? &fieldPotency=`pagetitle:3,alias:10`]]
as per the instructions here: https://github.com/splittingred/SimpleSearch/pull/29, but it’s not working. The examples on this page (https://docs.modx.com/current/en/extras/simplesearch/simplesearch) work to change the search results, so I know I’m inputting it on the correct page.
I tried this search instead:
[[!SimpleSearch?
&searchStyle=`partial`
&docFields= `pagetitle,longtitle,content`
&perPage=`50`
&fieldPotency=`pagetitle:10,longtitle:1,content:1`
]]
it seems to “work”, but it’s narrowing down too much. When I search for the word “books” with just [[!SimpleSearch?]]
, I get 200 results. When I search with the above code, I get 12 results. I’d still like all 200 results, I just want priority to those resources that have it in the title. Any ideas?