marklogic-community / data-explorer

Data Explorer Tool
Other
15 stars 4 forks source link

Fixing issue #18: added doc counts to DB selection #165

Closed mhuang-ml closed 6 years ago

mhuang-ml commented 6 years ago

FERR-91: updated the adhoc database query to return the document count along with the database name. The document count will be comma separated already. The adhoc database query will now return a JSON object that has the name and document count stored inside of it. The document counts will ONLY factor in the documents that the user has access to.

Resolved an issue where the root element document sampling was NOT working properly as no results were being returned with the root element name specified.

A sample screenshot of the changes implemented for the sampling by root element name is attached below: ferr-91

markschiffner commented 6 years ago

Tested, looks good!