Amazon CloudSearch
Developer Guide (API Version 2011-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Getting Facet Information for Uint Fields in Amazon CloudSearch

When you request facet information for a uint field, Amazon CloudSearch returns the min and max values for the field. For example, when you specify facet=year, you get the first and last year that appears in the year field:

"facets":{"year":{"min":1974,"max":2012}}

To drill down into particular bins of integers, you use the facet-FIELD-constraints parameter. For more information, see Getting Facet Information for Particular Values in Amazon CloudSearch.