Using ES for gmail-like application

I am going to use ES to implement gmail-like app, distributed over multiple
cluster nodes. Questions are:

  1. Messages will be compressed, so I need to store binaries in index, not
    plain text. Is it possible to store binary data with minimal overhead,
    without base64 encoding ?

  2. I need to show message list ordered by date with paging. How to
    implement this on clustered ES ? As I understand, if we ask first 10
    records and don't specify routing key, ES will return 10 items from each
    server, not global first 10. How to get page 2,3,..,1000 for clustered ES ?

  3. It seems like using Lucene+GlusterFS can solve both problems, any ES
    benefits for this case ?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/26cd0bb4-56bc-45f1-9c35-01b9a30c7ea2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.