Switch to unified view

a/src/rcldb/rcldb.cpp b/src/rcldb/rcldb.cpp
...
...
1499
1499
1500
    // If abstract is empty, we make up one with the beginning of the
1500
    // If abstract is empty, we make up one with the beginning of the
1501
    // document. This is then not indexed, but part of the doc data so
1501
    // document. This is then not indexed, but part of the doc data so
1502
    // that we can return it to a query without having to decode the
1502
    // that we can return it to a query without having to decode the
1503
    // original file.
1503
    // original file.
1504
  bool syntabs = false;
1505
    // Note that the map accesses by operator[] create empty entries if they
1504
    // Note that the map accesses by operator[] create empty entries if they
1506
    // don't exist yet.
1505
    // don't exist yet.
1507
        string& absref = doc.meta[Doc::keyabs];
1506
        string& absref = doc.meta[Doc::keyabs];
1508
    trimstring(absref, " \t\r\n");
1507
    trimstring(absref, " \t\r\n");
1509
    if (absref.empty()) {
1508
    if (absref.empty()) {
1510
      syntabs = true;
1511
        if (!doc.text.empty())
1509
        if (!doc.text.empty())
1512
        absref = cstr_syntAbs + 
1510
        absref = cstr_syntAbs + 
1513
            neutchars(truncate_to_word(doc.text, m_idxAbsTruncLen), 
1511
            neutchars(truncate_to_word(doc.text, m_idxAbsTruncLen), 
1514
                              cstr_nc);
1512
                              cstr_nc);
1515
    } else {
1513
    } else {