Switch to unified view

a/src/query/docseq.h b/src/query/docseq.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _DOCSEQ_H_INCLUDED_
17
#ifndef _DOCSEQ_H_INCLUDED_
18
#define _DOCSEQ_H_INCLUDED_
18
#define _DOCSEQ_H_INCLUDED_
19
/* @(#$Id: docseq.h,v 1.11 2007-01-19 15:22:50 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: docseq.h,v 1.12 2007-06-19 08:36:24 dockes Exp $  (C) 2004 J.F.Dockes */
20
#include <string>
20
#include <string>
21
#include <list>
21
#include <list>
22
#include <vector>
22
#include <vector>
23
#ifndef NO_NAMESPACES
23
#ifndef NO_NAMESPACES
24
using std::string;
24
using std::string;
...
...
68
68
69
    /** Get abstract for document. This is special because it may take time.
69
    /** Get abstract for document. This is special because it may take time.
70
     *  The default is to return the input doc's abstract fields, but some 
70
     *  The default is to return the input doc's abstract fields, but some 
71
     *  sequences can compute a better value (ie: docseqdb) */
71
     *  sequences can compute a better value (ie: docseqdb) */
72
    virtual string getAbstract(Rcl::Doc& doc) {
72
    virtual string getAbstract(Rcl::Doc& doc) {
73
    return doc.abstract;
73
    return doc.meta["abstract"];
74
    }
74
    }
75
75
76
    /** Get estimated total count in results */
76
    /** Get estimated total count in results */
77
    virtual int getResCnt() = 0;
77
    virtual int getResCnt() = 0;
78
78