Is there a way to list all synonyms in an index?

Now that Algolia has end-of-lifed the package, I’m working on moving to Laravel Scout.

With this package, we were able to define synonyms inside a Laravel model. The doesn’t address synonyms. doesn’t list a method for getting a list of synonyms.

Is there a way to get a list of all the synonyms from an index?

Hey @lokiracer,

That’s a good question! It’s not very clear in the documentation, I will let the team know.

The best way to do it is to use the search method and pass it an empty string.

I was thinking about adding a command similar to settings to import/export synonyms. Do you think that make sense?

Ah, cool. Empty string search it is.

I forked the repo and was going to add synonym import/export today as we need it. Do you monitor the github repo?

I made a pull request:

Thanks! :raised_hands: :tada:
I’ll review it right now