2 ms·
Are the indices based on reql expressions updated incrementally? How about making indices based on map-reduce? Would that work? Would they be updated increment
by pixelcort 13y ago
Are the indices based on reql expressions updated incrementally?
How about making indices based on map-reduce? Would that work? Would they be updated incrementally?
- coffeemug 13y agoYes, indices are updated incrementally. You can currently only evaluate an index for a given row based only on that row, not on other rows. The reasons for this are pretty deep -- if you start evaluating indexes on a row based on other rows, the result becomes non-deterministic and can't easily be replicated across the cluster. Once we introduce value-based replication (as opposed to evaluation-based replication we have now) this will become possible.