Found a bug when using a lambda as from option. Small fix.
From option might be a lambda on index_flush
Thanks! Heh, not yet a bug, actually – it only works when using Index#add or similar. But let's go ahead with this. Can you add a minimal test case to the functional tests (picky/server/spec/functional/from_spec.rb)?