View more context

 

Firesphere

You'll probably want to map TM to the UTF-8 code itself

Firesphere

At least, I'd think that would cover about 99% of use cases

Firesphere

You can look at the CWP code or my Solr8 work to see how to implement synonyms from SiteConfig or custom

jkersu

Hi, I’m trying to use Solr search and its returning the results I need. I need to implement a alphabetical sort on the results, but for some fields it seems to sort them incorrectly (as when I change the sort between the ASC and DESC the order of the results change).

jkersu

What I did was pass a sort parameters to the SearchQuery: $params['sort'] = 'Person::class . '_Surname asc'; It works for some fields on the object but not other fields properly for some reason. Int type DB like ID fields seemed to work fine, but for Varchar fields, it doesn’t sort them correctly. Anyone know if the fields have to be a certain type or if there’s something else I’m missing?