You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present do not have a QueryResult but just return a set of "document" dicts/hashes (and have the Backend explicitly set total on Dataset in form of docCount. Issues:
Will need this once we have facets
Every backend needs to repeat setting of docCount on backend
Pros of current system:
We allow Backends to whatever they want without having to conform to a specific QueryResult construct (and anyway Dataset is sort of our QueryResult ...)
Structure of query result:
{
total: // total number of results
hits: [ // as per elasticsearch
{
_score: // optional match score
_type: // optional document type
_source: { // document data
}
}
],
facets: { //
}
}
The text was updated successfully, but these errors were encountered:
At present do not have a QueryResult but just return a set of "document" dicts/hashes (and have the Backend explicitly set total on Dataset in form of docCount. Issues:
Pros of current system:
Structure of query result:
The text was updated successfully, but these errors were encountered: