NCATS-Tangerine / beacon-aggregator

A web service that operates over the Beacon network to provide a single software interface over the all the Beacons
Other
2 stars 0 forks source link

/data/{queryId} sometimes doesn't always return pageSize # of results #72

Open isuen opened 6 years ago

isuen commented 6 years ago

Try: searching ncbigene:3578 under /cliques ncbigene:3578 is part of clique ENSEMBL:ENST00000274520

Then try: ENSEMBL:ENST00000274520 under /statements

Query status shows 2 results You get the 2 results if pageSize >= 3, but only 1 result if pageSize = 2

isuen commented 6 years ago

Seems to be an issue with bio.knowledge.database.repository.StatementRepository.getQueryResults() CYPHER query - only returns 1 result even when pageSize is 2

isuen commented 6 years ago

Also a problem on the /concepts/data/{queryId} endpoint:

e.g. search GDM with NDEX and TKG-Monarch linked up, only 1 result returned (even though status finds 3, and neo4j graph has 3 concept cliques)

isuen commented 6 years ago

seems to be a case where some results returned don't actually have the search term in the name or description (could be a beacon-specific bug)