Update built-in projection configuration?

Hi!

I’d like to use the default $by_category projection, but need to change the configuration to “last”. Is there any way to do this using the current Java client?

If it is not possible, is there a JavaScript somewhere which will do the same thing? Would be ok to do a custom projection instead.

thanks!

It’s quite weird that I can’t find anything about it, but it’s possible to change the configuration via the UI. What you could do is to trace the HTTP call from the browser dev console and do the same from Java. I will add it to the list of client improvements.