request.setSortBy(this.sortBy);
request.setSpatialFilter(this.spatialFilter);
// stores each QueryInfo object into the database
if (this.queryInfos != null && !this.autoGenQuery) {
request.addAll(this.queryInfos);
} else {
if (this.autoGenQuery) {
if (Log.isDebugEnabled(Geonet.SEARCH_LOGGER)) {
Log.debug(Geonet.SEARCH_LOGGER, "Guiservice/autogenerated query not inserted into database: " + this.luceneQuery);
}