marklogic/Corona — Issue #85: Facet Endpoint: Query Required
Author: sastafford
Created: 2012-02-09 22:00:35+00:00
State: open

Small issue with the facet endpoint. Currently a stringQuery OR a structuredQuery is a required parameter. This is not stated in the documentation and I had to dig through the code to figure that out. Could we set the default behavior of retrieving a facet to be the first 10 results?

In other words, I want to just call this: /facet/title without any parameters and return the first 10 results by default.