Update built-in projection configuration?


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.