Switch to unified view

a/src/rcldb/rcldoc.h b/src/rcldb/rcldoc.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 _RCLDOC_H_INCLUDED_
17
#ifndef _RCLDOC_H_INCLUDED_
18
#define _RCLDOC_H_INCLUDED_
18
#define _RCLDOC_H_INCLUDED_
19
/* @(#$Id: rcldoc.h,v 1.9 2008-09-08 16:49:10 dockes Exp $  (C) 2006 J.F.Dockes */
19
/* @(#$Id: rcldoc.h,v 1.10 2008-09-16 08:18:30 dockes Exp $  (C) 2006 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
#include <map>
22
#include <map>
23
23
24
#ifndef NO_NAMESPACES
24
#ifndef NO_NAMESPACES
...
...
42
    ////////////////////////////////////////////////////////////
42
    ////////////////////////////////////////////////////////////
43
    // The following fields are stored into the document data record (so they
43
    // The following fields are stored into the document data record (so they
44
    // can be accessed after a query without fetching the actual document).
44
    // can be accessed after a query without fetching the actual document).
45
    // We indicate the routine that sets them up during indexing
45
    // We indicate the routine that sets them up during indexing
46
    
46
    
47
    // This is just "file://" + binary filename. No transcoding: this
47
    // This is just "file://" + binary or url-encoded filename. No
48
    // is used to access files
48
    // transcoding: this is used to access files Index: computed from
49
    // Index: computed from fn by Db::add caller. Query: from doc data.
49
    // fn by Db::add caller. Query: from doc data.
50
    string url;
50
    string url;
51
51
52
    // Transcoded version of the simple file name for SFN-prefixed
52
    // Transcoded version of the simple file name for SFN-prefixed
53
    // specific file name indexation
53
    // specific file name indexation
54
    // Index: set by DbIndexer::processone    
54
    // Index: set by DbIndexer::processone    
...
...
132
132
133
    text.erase();
133
    text.erase();
134
    pc = 0;
134
    pc = 0;
135
    xdocid = 0;
135
    xdocid = 0;
136
    }
136
    }
137
    static const string keyfn;
137
138
    // The official names for recoll native fields when used in a text
139
    // context (ie: the python interface duplicates some of the fixed
140
    // fields in the meta array, these are the names used). Defined in
141
    // rcldoc.cpp. For fields stored in the meta[] array (ie, title,
142
    // author), filters _must_ use these values
138
    static const string keyrr;
143
    static const string keyurl; // url
144
    static const string keyfn;  // file name
145
    static const string keyipt; // ipath
146
    static const string keytp;  // mime type
147
    static const string keyfmt; // file mtime
148
    static const string keydmt; // document mtime
149
    static const string keymt;  // mtime dmtime if set else fmtime
150
    static const string keyoc;  // original charset
151
    static const string keyfs;  // file size
152
    static const string keyds;  // document size
153
    static const string keysz;  // dbytes if set else fbytes
139
    static const string keyabs;
154
    static const string keysig; // sig
155
    static const string keyrr;  // relevancy rating
156
    static const string keyabs; // abstract
140
    static const string keyau;
157
    static const string keyau;  // author
141
    static const string keytt;
158
    static const string keytt;  // title
142
    static const string keykw;
159
    static const string keykw;  // keywords
143
};
160
};
144
161
145
162
146
#ifndef NO_NAMESPACES
163
#ifndef NO_NAMESPACES
147
}
164
}