• Resolved braino

    (@braino)


    Hello! I really love your plugin and was wondering if it is possible for you to add a random-results query. it would be really helpful for my use case and probably others too. in my case i run a directory and need to make sure that the top result changes randomly so no client of mine will get mad that only the “first” or “last” entry is on top all the time.

    looking forward to your reply in advance and best regards!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor digamberpradhan

    (@digamberpradhan)

    Hi @braino,
    It isn’t possible to randomize the results via the plugin.
    You would need to transform items and randomize the results based on a transform items. This can’t be done via the plugin and you would need to implement your own frontend / instant search implementation.

    Thread Starter braino

    (@braino)

    thank you for your reply and apologies for me being late. is randomized results on your roadmap somehow? i believe many other people would appreciate this too

    Plugin Contributor Sachyya

    (@sachyya-sachet)

    Hello @braino

    Currently it’s not on our roadmap but once Typesense implements it, we will most likely implement it on our plugin.

    There’s a thread for this feature in Typesense’s github here: https://github.com/typesense/typesense/issues/637 in which they have suggested a workaround.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Random results’ is closed to new replies.