Project

General

Profile

« Previous | Next » 

Revision 60547

Added resultpid to the public API queries

View differences:

modules/uoa-search/trunk/src/main/java/eu/dnetlib/data/search/utils/cql/ParameterQueryEnhancer.java
422 422
                String[] commaSeparated = ids[i].split(",");
423 423
                for (int j = 0; j < commaSeparated.length; j++) {
424 424
                    queryBuilder.append("(" + idIndexFieldName + " exact \"").append(commaSeparated[j]).append("\")");
425
                    if (idIndexFieldName.equals("objidentifier"))
426
                        queryBuilder.append(" or ( resultdupid exact \"").append(commaSeparated[j]).append("\")");
425 427
                    if (i < ids.length-1 || j < commaSeparated.length-1 ) {
426 428
                        queryBuilder.append(" or ");
427 429
                    }

Also available in: Unified diff