Cache per document doesn't make much sense. I was talking about cache per data type.
Ideally, you should split Document and Page objects (instead of creating a nested map within the document), store each page as a separate document and use collocation [1] to make sure that all pages are stored next to corresponding documents. In this case you will end up with two caches - one for documents and another for pages. You can then join them using SQL queries [2]. [1] https://apacheignite.readme.io/docs/affinity-collocation#collocate-data-with-data [2] https://apacheignite.readme.io/docs/sql-queries#cross-cache-queries -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Overall-desgn-question-tp7459p7495.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
