Switch to unified view

a/src/query/docseq.h b/src/query/docseq.h
...
...
96
     *  sequences can compute a better value (ie: docseqdb) */
96
     *  sequences can compute a better value (ie: docseqdb) */
97
    virtual string getAbstract(Rcl::Doc& doc) {
97
    virtual string getAbstract(Rcl::Doc& doc) {
98
    return doc.meta[Rcl::Doc::keyabs];
98
    return doc.meta[Rcl::Doc::keyabs];
99
    }
99
    }
100
100
101
    virtual bool getEnclosing(Rcl::Doc&, Rcl::Doc&) {return false;}
101
    virtual bool getEnclosing(Rcl::Doc&, Rcl::Doc&) = 0;
102
102
103
    /** Get estimated total count in results */
103
    /** Get estimated total count in results */
104
    virtual int getResCnt() = 0;
104
    virtual int getResCnt() = 0;
105
105
106
    /** Get title for result list */
106
    /** Get title for result list */
...
...
170
              vector<int>& gslks) 
170
              vector<int>& gslks) 
171
    {
171
    {
172
    if (m_seq.isNull())
172
    if (m_seq.isNull())
173
        return false;
173
        return false;
174
    return m_seq->getTerms(terms, groups, gslks);
174
    return m_seq->getTerms(terms, groups, gslks);
175
    }
176
    virtual bool getEnclosing(Rcl::Doc& doc, Rcl::Doc& pdoc) 
177
    {
178
  if (m_seq.isNull())
179
      return false;
180
  return m_seq->getEnclosing(doc, pdoc);
175
    }
181
    }
176
    virtual void getUTerms(vector<string>& terms)
182
    virtual void getUTerms(vector<string>& terms)
177
    {
183
    {
178
    if (m_seq.isNull())
184
    if (m_seq.isNull())
179
        return;
185
        return;