diff --git a/data-discovery/src/main/java/search/DbObstap.java b/data-discovery/src/main/java/search/DbObstap.java index ef7e7af1279aa7275d9e253534cf075b1561350d..513c9fe9b0ce0efb0c5908c8a136346d8bf6b2e9 100644 --- a/data-discovery/src/main/java/search/DbObstap.java +++ b/data-discovery/src/main/java/search/DbObstap.java @@ -136,9 +136,6 @@ public class DbObstap if(qArgs.maxrec != null) theQuery += " LIMIT " + qArgs.maxrec; - - //theQuery += " ORDER BY obs_collection"; - LOGGER.fine(theQuery); List<String> pubdidList = new ArrayList<>(); @@ -215,12 +212,10 @@ public class DbObstap + inputRegion + " @> " + dbRegion + " AS dbInsideInput FROM obscore WHERE (obs_publisher_did IN (\'" +commaSepPubdids+"\'))"; - theQuery += " ORDER BY obs_collection"; - - //LOGGER.fine(theQuery); - List<Obstap> obstapList = new ArrayList<>(); + LOGGER.fine(theQuery); + LOGGER.fine("Connecting to: " + dbConnArgs.uri() + " with optional user/pwd: " + dbConnArgs.userName() +" / "+ dbConnArgs.password() ); try(