Switch to unified view

a/src/query/filtseq.cpp b/src/query/filtseq.cpp
...
...
104
    // First backend seq doc we fetch is the one after last stored 
104
    // First backend seq doc we fetch is the one after last stored 
105
    int backend_idx = m_dbindices.size() > 0 ? m_dbindices.back() + 1 : 0;
105
    int backend_idx = m_dbindices.size() > 0 ? m_dbindices.back() + 1 : 0;
106
106
107
    // Loop until we get enough docs
107
    // Loop until we get enough docs
108
    Rcl::Doc tdoc;
108
    Rcl::Doc tdoc;
109
  int i = 0;
110
    while (idx >= (int)m_dbindices.size()) {
109
    while (idx >= (int)m_dbindices.size()) {
111
        if (!m_seq->getDoc(backend_idx, tdoc)) 
110
        if (!m_seq->getDoc(backend_idx, tdoc)) 
112
        return false;
111
        return false;
113
        if (filter(m_spec, &tdoc)) {
112
        if (filter(m_spec, &tdoc)) {
114
        m_dbindices.push_back(backend_idx);
113
        m_dbindices.push_back(backend_idx);