Switch to side-by-side view

--- a/src/python/recoll/pyrecoll.cpp
+++ b/src/python/recoll/pyrecoll.cpp
@@ -1248,11 +1248,9 @@
     }
     string abstract;
     if (hlmethods == 0) {
-	if (!self->query->makeDocAbstract(*(pydoc->doc), abstract)) {
-	    PyErr_SetString(PyExc_EnvironmentError, 
-			    "rcl makeDocAbstract failed");
-	    return 0;
-	}
+        // makeDocAbstract() can fail if there are no query terms (e.g. for
+        // a query like [ext:odt]. This should not cause an exception
+	self->query->makeDocAbstract(*(pydoc->doc), abstract);
     } else {
 	HighlightData hldata;
 	sd->getTerms(hldata);