You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The intent is that you can create multiple c4Indexers at the same time, and then iterate through the docs once, feeding each indexer its keys and values.
Looking at the API, what's missing is a version of c4indexer_enumerateDocuments that takes multiple indexers as input, computes the earliest sequence that needs to be indexed, and starts from there. Should be easy to do.
@snej I think the enumerateDocuments logic that you described above has already been implemented as C4Indexer extended from MapReduceIndexer. The only missing piece is that multiple views if available should be given to c4indexer_begin() instead of only just 1 from the current view (See beginIndex code). Probably we also need to extract an Indexer class from the View class in order to do that.
Can we make the interface below support multiple view indexing?
cbforest/Java/jni/native_view.cc
Lines 124 to 134 in d0afb82
The text was updated successfully, but these errors were encountered: