Use case: I'm trying to separate my documents for each client. As in, one client may only be interested in documents that only have ___ value for ___ field. Currently, I have a main index with all documents, and then reindexing documents that the client is interested in to their own index.
So, all documents have the same mapping. Just want to separate them.
Should I be creating types for each user instead.
I read this:
"If you have many documents for each type, then the overhead of Lucene indices will be easily amortized so you can safely use indices, with fewer shards than the default of 5 if necessary"
We currently don't. I've thought about this though:
Create a field clientIDs that contains a set of client IDs. Then, for the dashboards that we are providing clients, filter by client ID's. But, then, for the API we are providing our clients, how would you recommend filtering aliases?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.