Inherits NSObject.
Public Member Functions | |
(id) | - initWithFacetName: |
(id) | - initWithFacetName:limit: |
(id) | - initWithFacetName:facetId: |
(id) | - initWithFacetName:facetId:order:limit: |
(id) | - initWithFacetName:facetId:order:limit:offset: |
Static Public Member Functions | |
(id) | + facetConfigurationWithName: |
(id) | + facetConfigurationWithName:limit: |
(id) | + facetConfigurationWithName:facetId: |
(id) | + facetConfigurationWithName:facetId:limit: |
(id) | + facetConfigurationWithName:facetId:order:limit: |
Protected Attributes | |
NSString * | _facetName |
NSString * | _facetId |
EMFacetValueOrder | _facetValueOrder |
NSInteger | _facetValueLimit |
NSInteger | _facetValueOffset |
Properties | |
NSString * | facetName |
NSString * | facetId |
EMFacetValueOrder | facetValueOrder |
NSInteger | facetValueLimit |
NSInteger | facetValueOffset |
- (NSString*) facetId [read, write, retain] |
The id of the facet, if ids are employed
- (NSString*) facetName [read, write, retain] |
The name of the facet
- (NSInteger) facetValueLimit [read, write, assign] |
Specifies the maximum number of EMFacetValues that should be returned in the EMFacetResult for this facet. A value of -1 can be used to indicate that all facet values should be returned.
This usually often applied when ordering facet values by count.
The default is -1.
- (NSInteger) facetValueOffset [read, write, assign] |
Solr supports the ability to include an offset to page through facet values.
The default is 0.
- (EMFacetValueOrder) facetValueOrder [read, write, assign] |
Currently the values for this are either Alphabetically, asc or by count, desc (dynamically in Endeca). The default is EMFacetValueOrderCountDesc.