Switch to unified view

a/src/query/recollq.cpp b/src/query/recollq.cpp
...
...
72
    string out;
72
    string out;
73
    if (!it->compare("abstract")) {
73
    if (!it->compare("abstract")) {
74
        string abstract;
74
        string abstract;
75
        query.makeDocAbstract(doc, abstract);
75
        query.makeDocAbstract(doc, abstract);
76
        base64_encode(abstract, out);
76
        base64_encode(abstract, out);
77
        } else if (!it->compare("xdocid")) {
78
            char cdocid[30];
79
            sprintf(cdocid, "%lu", (unsigned long)doc.xdocid);
80
            base64_encode(cdocid, out);
77
    } else {
81
    } else {
78
        base64_encode(doc.meta[*it], out);
82
        base64_encode(doc.meta[*it], out);
79
    }
83
    }
80
        // Before printnames existed, recollq printed a single blank for empty
84
        // Before printnames existed, recollq printed a single blank for empty
81
        // fields. This is a problem when printing names and using strtok, but
85
        // fields. This is a problem when printing names and using strtok, but