I'm searching my fulltext fields with a seblod search and a single text-field.
I built a custom search item and placed the mainbody.php in "templates/seb_one/positions/my_search/item/".
In my custom search item I use the searchvalue ($_GET['searchvalue'];) and check via php substr_count how often the searchvalue matches my fulltext. I render a part of the fulltext where the first match is located and also the total hits ("Treffer:").
So far so good. Now it would be beautiful to sort my searchitems by the amount of hits. To achieve this I guess I have to build a custom list for the seb_blog. I tried to add a mainbody.php in "templates/seb_blog/positions/my_search/list/" and also in "templates/seb_one/positions/my_search/list/" but it had no effect on the Output.
Is such a search possile with seblod. What exactly am I doing wrong and what should be the code of the list-override?
Thanks a lot in advance.