Switch to unified view

a/src/query/docseqdb.cpp b/src/query/docseqdb.cpp
...
...
63
    m_rescnt= m_q->getResCnt();
63
    m_rescnt= m_q->getResCnt();
64
    }
64
    }
65
    return m_rescnt;
65
    return m_rescnt;
66
}
66
}
67
67
68
bool DocSequenceDb::getAbstract(Rcl::Doc &doc, 
69
              vector<pair<int, string> >& vpabs)
70
{
71
    LOGDEB(("DocSequenceDb::getAbstract/pair\n"));
72
    setQuery();
73
    if (m_q->whatDb() &&
74
  m_queryBuildAbstract && (doc.syntabs || m_queryReplaceAbstract)) {
75
  m_q->whatDb()->makeDocAbstract(doc, m_q.getptr(), vpabs);
76
    } 
77
    if (vpabs.empty())
78
  vpabs.push_back(pair<int, string>(0, doc.meta[Rcl::Doc::keyabs]));
79
    return true;
80
}
68
bool DocSequenceDb::getAbstract(Rcl::Doc &doc, vector<string>& vabs)
81
bool DocSequenceDb::getAbstract(Rcl::Doc &doc, vector<string>& vabs)
69
{
82
{
70
    setQuery();
83
    setQuery();
71
    if (m_q->whatDb() &&
84
    if (m_q->whatDb() &&
72
    m_queryBuildAbstract && (doc.syntabs || m_queryReplaceAbstract)) {
85
    m_queryBuildAbstract && (doc.syntabs || m_queryReplaceAbstract)) {