Serialized Form
-
Package com.broadleafcommerce.search.api
-
Exception com.broadleafcommerce.search.api.DistributedLockException
class DistributedLockException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Exception com.broadleafcommerce.search.api.InvalidSearchException
class InvalidSearchException extends Exception implements Serializable- serialVersionUID:
- 1L
-
Exception com.broadleafcommerce.search.api.SearchException
class SearchException extends Exception implements Serializable- serialVersionUID:
- 1L
-
Exception com.broadleafcommerce.search.api.SearchIndexException
class SearchIndexException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Exception com.broadleafcommerce.search.api.TypeAheadException
class TypeAheadException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
-
Package com.broadleafcommerce.search.api.domain
-
Class com.broadleafcommerce.search.api.domain.CustomerContext
class CustomerContext extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
accountId
String accountId
The id for the account that is in the current context. -
customerId
String customerId
The id for the customer that is in the current context. -
customerSegmentIds
Set<String> customerSegmentIds
The list of id's that correspond to customer segments that this customer is a part of.
-
-
Class com.broadleafcommerce.search.api.domain.Facet
class Facet extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
attributes
Map<String,
Object> attributes Miscellaneous attributes for this facet. -
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
displayOrder
Integer displayOrder
Order in which to display this facet on a list of facets. A lower number indicates this item will occur earlier in the returned facet list. -
facetRule
String facetRule
The rule required to be met for this facet to be active. This is by default a SpEL expression, but may be any expression language.- See Also:
-
field
FieldRef field
TheFieldRef
this facet belongs to. This is null if not usingSearchSettings
. Onlyid
,indexableType
, andlabel
are serialized in API responses. -
id
String id
The context ID of the facet. -
label
String label
A value intended for display on a UI. For example, "Manufacturer", "Price", "Category", etc. -
multiSelect
boolean multiSelect
Determines whether or not this facet allows multiple values to be selected. -
name
String name
Name to use to identify the facet. Typically, this should correspond to aFieldDefinition.getAbbreviation()
. -
ranged
boolean ranged
Designates whether or not this facet is ranged. For example price might be a ranged facet ($0.00-49.99, $50.00-99.99, etc), or date ranges. -
ranges
List<FacetRange> ranges
The different range options available for filtering on this search facet. -
variantType
String variantType
The field variant type which should be faceted on.
-
-
Class com.broadleafcommerce.search.api.domain.FacetGroup
class FacetGroup extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
attributes
Map<String,
Object> attributes Miscellaneous attributes for this facet group. -
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
facets
Set<Facet> facets
Thefacets
in this facet group. -
groupIndexableType
String groupIndexableType
The indexable type of the fields for this facet group. -
id
String id
The context ID of the facet group. -
name
String name
The name of the facet group.
-
-
Class com.broadleafcommerce.search.api.domain.FacetGroupFacet
class FacetGroupFacet extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
facet
Facet facet
Thefacet
in this relationship. -
facetGroup
FacetGroup facetGroup
Thefacet group
in this relationship -
id
String id
The context ID of the facet group facet relationship. -
sorted
Boolean sorted
Whether the persistent counterpart to thisFacetGroupFacet
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.- See Also:
-
Sorted.getSorted()
Sortable
-
sorting
String sorting
Field indicating a sort order, if sorted. This is alphanumeric, allowing for lexicographical sorting.
-
-
Class com.broadleafcommerce.search.api.domain.FacetRange
class FacetRange extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
displayOrder
Integer displayOrder
Order in which to display this range on a list of facet ranges. A lower number indicates this item will occur earlier in the returned facet range list. -
label
String label
The label for this facet range, suitable for display. -
maxValue
String maxValue
The highest value included in this facet range. -
minValue
String minValue
The lowest value included in this facet range.
-
-
Class com.broadleafcommerce.search.api.domain.FacetResponse
class FacetResponse extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
facet
Facet facet
The facet which was determined in the search. -
values
List<FacetValue> values
The values returned from search for this facet.
-
-
Class com.broadleafcommerce.search.api.domain.FacetValue
class FacetValue extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
active
boolean active
Whether or not this facet value was active on the search -
displayOrder
Integer displayOrder
The display order for this facet value. Used only for sorting, not returned in JSON object. -
maxValue
String maxValue
If ranged, the upper bound of values matching this facet value -
minValue
String minValue
If ranged, the lower bound of values matching this facet value -
quantity
int quantity
The quantity of results matching this facet value -
ranged
boolean ranged
Whether or not this value is a range. -
value
String value
The value label for this facet value.
-
-
Class com.broadleafcommerce.search.api.domain.FieldDefinition
class FieldDefinition extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
abbreviation
String abbreviation
Short field name which will be used for request parameters for example in sorting and filtering, as well as response field names. -
attributes
Map<String,
Object> attributes Miscellaneous attributes for this field. -
combined
boolean combined
Whether or not this field should be a combination of multiple path values. If true, then instead of propertyPath, the multi-valued propertyPaths will be used and joined with the delimiter. -
delimiter
String delimiter
If this is a combined field, this is the delimiter string which should separate the values found from the propertyPaths. -
facet
Facet facet
The facet which is driven by this field. -
faceted
boolean faceted
Indicates if this field has a facet. Note that this is only used when Search Settings are not in use. Otherwise,Facets
are managed as their own entity rather than embedded in fields. -
facetVariantType
String facetVariantType
The field variant type which should be faceted on.If not provided, the first variant type will be used.
-
fieldQueries
List<FieldQuery> fieldQueries
Defines how this field should be queried by variants on particular query types. -
fieldVariantMap
Map<String,
FieldVariant> fieldVariantMap A map of each field variant type to the correspondingFieldVariant
. Populated byFieldDefinition.getVariantMap()
. -
id
String id
The context ID of the field. -
indexableType
String indexableType
The type to which this field belongs. Populated byIndexableType
type. -
label
String label
The label of the field, suitable for display. -
multiValued
boolean multiValued
Whether or not this field should contain a list of values. -
multiValuedCombinedPropertyRootPath
String multiValuedCombinedPropertyRootPath
For fields which are bothFieldDefinition.multiValued
ANDFieldDefinition.combined
, this will be path to the list containing the objects representing each value. For example, to combine property paths for each category in a list of all categories in the object being indexed, this would becategories[*]
. -
propertyPath
String propertyPath
The JSON path of this field excluding the root prefix, "$.". This is the path to the actual value that will be stored in the index, e.g. 'price', 'description', 'customer.name', etc.For more advanced mapping options, see the JSONPath documentation
-
propertyPaths
List<String> propertyPaths
If this is a combined field, these are the JSON paths to the fields to be combined into the final value, excluding the root prefix, "$.".For combined fields, all property paths should point to a single-valued object, the String value of which will be used.
For fields which are both
FieldDefinition.multiValued
ANDFieldDefinition.combined
, the root for this path will be an individual object in the list defined by theFieldDefinition.multiValuedCombinedPropertyRootPath
. For example, if the indexable domain was:{ "categories": [ { "id": "exampleId", "name": "exampleName" } ] }
, and theFieldDefinition.multiValuedCombinedPropertyRootPath
wascategories[*]
, then the propertyPaths might beid
orname
. -
searchable
boolean searchable
Whether or not the search query should be applied to this field on search. -
sortable
boolean sortable
Indicates if this field is sortable. -
sortOption
SortOption sortOption
The sort option which is driven by this field. -
sortVariantType
String sortVariantType
The field variant type which should be sorted on.If not provided, the first variant type will be used.
-
translatable
boolean translatable
Indicates if this field is translatable. -
variants
List<FieldVariant> variants
The specific typed variants for this field.
-
-
Class com.broadleafcommerce.search.api.domain.FieldQuery
class FieldQuery extends Object implements Serializable- serialVersionUID:
- 1L
-
Class com.broadleafcommerce.search.api.domain.FieldRef
class FieldRef extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
abbreviation
String abbreviation
Short field name which will be used for request parameters for example in sorting and filtering, as well as response field names. -
id
String id
The context ID of the field. -
indexableType
String indexableType
The type to which this field belongs. Populated byIndexableType
type. -
label
String label
The label of the field, suitable for display. -
translatable
boolean translatable
Indicates if this field is translatable.
-
-
Class com.broadleafcommerce.search.api.domain.FieldVariant
class FieldVariant extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
field
FieldRef field
The field which this variant represents. -
includeInResponse
boolean includeInResponse
Determines whether or not this variant should be included in the search response. This must be a stored value in the search index. -
type
String type
The general type of value stored in this field.Should be a value of
FieldType
-
-
Class com.broadleafcommerce.search.api.domain.RelevancyRule
class RelevancyRule extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
activeEndDate
Instant activeEndDate
Defines the ending time for which this relevancy rule is active. If theactive start date
is not null, but the active end date is, the relevancy rule is considered to be active forever, starting on the start date.- See Also:
-
activeStartDate
Instant activeStartDate
Defines the beginning time for which this relevancy rule is active. If both the active start date and theactive end date
are null, this relevancy rule is considered to always be active.- See Also:
-
applyMatchingValueFrequencyBoost
boolean applyMatchingValueFrequencyBoost
Whether or not to apply a small boost for a higher frequency of matching values within the field. -
attributes
Map<String,
Object> attributes Miscellaneous attributes for this relevancy rule. -
boost
Double boost
The amount to boost documents that match this relevancy rule. -
boostRule
String boostRule
The rule required to be met for this relevancy rule to be active. This is by default a SpEL expression, but may be any expression language.- See Also:
-
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
descending
boolean descending
Whether or not the relevancy rule boosts results by the highest or lowest value. This field is only used for ordinal & relative rule types. By default, assumption is an descending sort. -
field
FieldRef field
TheFieldRef
this relevancy rule belongs to. Onlyid
,indexableType
, andlabel
are serialized in API responses. -
id
String id
The context ID of the relevancy rule. -
matchingValue
String matchingValue
The text to match against when using aDefaultRelevancyRuleTypes.MATCHING_VALUE
rule type. Boosts any documents whose field contains this value. -
minimumScore
Double minimumScore
This field can be set to provide the lower limit for a boost function score. Only used for ordinal & relative rule types. -
name
String name
The friendly name to identify this relevancy rule. -
ruleType
String ruleType
The type of rule that is setup to apply relevancy boosts. SeeDefaultRelevancyRuleTypes
for all available types. -
searchTermMatch
String searchTermMatch
The search term required to match for this relevancy rule to be active. IfRelevancyRule.isSearchTermRegex()
istrue
, then this search term will be evaluated as a regex expression. If left empty, will assume that every search term matches. -
searchTermRegex
boolean searchTermRegex
Whether or not to evaluate the match against theRelevancyRule.getSearchTermMatch()
with regex enabled. -
variantType
String variantType
The field variant type that should be boosted for this rule.
-
-
Class com.broadleafcommerce.search.api.domain.RelevancyRuleGroup
class RelevancyRuleGroup extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
attributes
Map<String,
Object> attributes Miscellaneous attributes for this relevancy rule group. -
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
groupIndexableType
String groupIndexableType
The indexable type of the fields for this relevancy rule group. -
id
String id
The context ID of the relevancy rule group. -
name
String name
The name of the relevancy rule group. -
relevancyRules
Set<RelevancyRule> relevancyRules
Therelevancy rules
in this relevancy rule group.
-
-
Class com.broadleafcommerce.search.api.domain.RelevancyRuleGroupRule
class RelevancyRuleGroupRule extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
id
String id
The context ID of the relevancy rule group relevancy rule relationship. -
relevancyRule
RelevancyRule relevancyRule
Therelevancy rule
in this relationship. -
relevancyRuleGroup
RelevancyRuleGroup relevancyRuleGroup
Therelevancy rule group
in this relationship
-
-
Class com.broadleafcommerce.search.api.domain.SearchRedirect
class SearchRedirect extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
id
String id
The context ID of this search redirect. -
isRegex
boolean isRegex
Whether or not the queryMatch should be applied as a Regex. -
name
String name
A name to describe the purpose of this search redirect.Non-functional, only used as a description for administration.
-
queryMatch
String queryMatch
The value that a query must match to activate the redirect.If isRegex, the match will be applied as a Regex. Otherwise, an exact match is required.
-
redirectType
RedirectType redirectType
The type of redirect which should be performed. -
redirectUri
String redirectUri
The URI which the client should be redirected to if the search query matches.
-
-
Class com.broadleafcommerce.search.api.domain.SearchRedirectResponse
class SearchRedirectResponse extends Object implements Serializable- serialVersionUID:
- 1L
-
Class com.broadleafcommerce.search.api.domain.SearchSettings
class SearchSettings extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
attributes
Map<String,
Object> attributes Miscellaneous attributes for this search settings. -
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
facetGroups
Set<FacetGroup> facetGroups
The facet groups managed on this search settings. -
id
String id
The context ID of the search settings. -
relevancyRuleGroups
Set<RelevancyRuleGroup> relevancyRuleGroups
The relevancy rule groups managed on this search settings. -
searchEnabled
boolean searchEnabled
Whether advanced search is enabled. Note: This is only implemented for search settings scoped toDefaultSettingsContextType.ADMIN
-
settingsContext
String settingsContext
The scoped context of this SearchSettings.- See Also:
-
sortGroups
Set<SortGroup> sortGroups
The sort groups managed on this search settings.
-
-
Class com.broadleafcommerce.search.api.domain.SettingsFacetGroup
class SettingsFacetGroup extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
facetGroup
FacetGroup facetGroup
Thefacet group
in this relationship -
id
String id
The context ID of the settings facet group relationship. -
searchSettings
SearchSettings searchSettings
Thesearch settings
in this relationship
-
-
Class com.broadleafcommerce.search.api.domain.SettingsRelevancyRuleGroup
class SettingsRelevancyRuleGroup extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
id
String id
The context ID of the settings relevancy rule group relationship. -
relevancyRuleGroup
RelevancyRuleGroup relevancyRuleGroup
Therelevancy rule group
in this relationship -
searchSettings
SearchSettings searchSettings
Thesearch settings
in this relationship
-
-
Class com.broadleafcommerce.search.api.domain.SettingsSortGroup
class SettingsSortGroup extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
id
String id
The context ID of the settings sort group relationship. -
searchSettings
SearchSettings searchSettings
Thesearch settings
in this relationship -
sortGroup
SortGroup sortGroup
Thesort group
in this relationship
-
-
Class com.broadleafcommerce.search.api.domain.SortGroup
class SortGroup extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
attributes
Map<String,
Object> attributes Miscellaneous attributes for this sort group. -
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
groupIndexableType
String groupIndexableType
The indexable type of the fields for this facet group. -
id
String id
The context ID of the sort group. -
name
String name
The name of the sort group. -
sortOptions
Set<SortOption> sortOptions
Thesort options
in this sort group.
-
-
Class com.broadleafcommerce.search.api.domain.SortGroupSortOption
class SortGroupSortOption extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
id
String id
The context ID of the sort group sort option xref. -
sorted
Boolean sorted
Whether the persistent counterpart to thisSortGroupSortOption
has a non-default value forSortable.getSorting()
, which determines order in admin list grids.- See Also:
-
Sorted.getSorted()
Sortable
-
sortGroup
SortGroup sortGroup
Thesort group
in this relationship. -
sorting
String sorting
Field indicating a sort order, if sorted. This is alphanumeric, allowing for lexicographical sorting. -
sortOption
SortOption sortOption
Thesort option
in this relationship.
-
-
Class com.broadleafcommerce.search.api.domain.SortOption
class SortOption extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
ascendingLabel
String ascendingLabel
The "Ascending" label of this search option. Should be used if thesort behavior
isascending only
ordefault
.- Since:
- Search Service 2.1.4, Release Train 2.1.4, Search Service 2.2.0, Release Train 2.2.0
-
attributes
Map<String,
Object> attributes Miscellaneous attributes for this sort option. -
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
descendingLabel
String descendingLabel
The "Descending" label of this search option. Should be used if thesort behavior
isdescending only
ordefault
.- Since:
- Search Service 2.1.4, Release Train 2.1.4, Search Service 2.2.0, Release Train 2.2.0
-
displayOrder
Integer displayOrder
The display order of this sort option -
field
FieldRef field
The field to be sorted on. Onlyid
,indexableType
, andlabel
are serialized in API responses. -
id
String id
The context ID of the sort option. -
label
String label
The label of this sort option. This is the label that may be displayed to the user when thesort behavior
isdefault
and alabel behavior
ofSortSettings.Labels.SINGLE
. -
labelBehavior
String labelBehavior
The label behavior for this sort option. IfSortSettings.Labels.SINGLE
, then theSortOption.label
should be used for both ascending and descending sort options. IfSortSettings.Labels.PER_OPTION
, thenSortOption.ascendingLabel
andSortOption.descendingLabel
should be used.- Since:
- Search Service 2.1.4, Release Train 2.1.4, Search Service 2.2.0, Release Train 2.2.0
-
name
String name
Name to use to identify the sort option. Typically, this should correspond to aFieldDefinition.getAbbreviation()
. -
sortBehavior
String sortBehavior
The sorting behavior of this sort option. This is useful in cases where it may not make sense to sort in both ascending and descending order. For example, sorting by "In stock" or "Most Popular".Note that this doesn't actually enforce any behavior, but is a hint to the client on how to display the sort option.
- Since:
- Search Service 2.1.4, Release Train 2.1.4, Search Service 2.2.0, Release Train 2.2.0
-
variantType
String variantType
The field variant type which should be sorted on.
-
-
Class com.broadleafcommerce.search.api.domain.SortResponse
class SortResponse extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
active
boolean active
Whether or not this sort is active. -
descending
boolean descending
Whether the sort should be descending. Sort will be ascending by default.Only included for the active sort.
-
sortOption
SortOption sortOption
The Sort Option information for this sort.
-
-
Class com.broadleafcommerce.search.api.domain.SpellCheckResult
class SpellCheckResult extends Object implements Serializable-
Serialized Fields
-
originalQuery
String originalQuery
The original search query. -
suggestedQueries
List<SpellCheckResult.SuggestedQuery> suggestedQueries
The suggested queries after spell correction, in order of most to least recommended. -
suggestionMap
Map<String,
SpellCheckSuggestion> suggestionMap Suggested spelling corrections of the original query to retrieve results.
-
-
-
Class com.broadleafcommerce.search.api.domain.SpellCheckResult.SuggestedQuery
class SuggestedQuery extends Object implements Serializable -
Class com.broadleafcommerce.search.api.domain.SpellCheckSuggestion
class SpellCheckSuggestion extends Object implements Serializable-
Serialized Fields
-
incorrectWord
String incorrectWord
The original word in the search query that is misspelled. -
offsets
List<SpellCheckSuggestion.TermPosition> offsets
The offset positions of this string in the original query. This is a list, as it's possible for a single term to appear multiple times in a single query. -
suggestions
List<String> suggestions
The suggested terms to replace the corrected word, ordered by recommendation.
-
-
-
Class com.broadleafcommerce.search.api.domain.SpellCheckSuggestion.TermPosition
class TermPosition extends Object implements Serializable-
Serialized Fields
-
endOffset
int endOffset
The ending index of the incorrectly spelled word in the original query. -
startOffset
int startOffset
The starting index of the incorrectly spelled word in the original query string.
-
-
-
-
Package com.broadleafcommerce.search.api.domain.accesspolicy
-
Class com.broadleafcommerce.search.api.domain.accesspolicy.SearchCatalogAccessPolicy
class SearchCatalogAccessPolicy extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
activeEndDate
Instant activeEndDate
The date until which the policy should be active. Must be afterSearchCatalogAccessPolicy.activeStartDate
.null
indicates the policy will not stop being active afterSearchCatalogAccessPolicy.activeStartDate
. -
activeStartDate
Instant activeStartDate
The date from which the policy should be active. -
contextState
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState
A subset ofTracking
information to expose the context state for this object. -
filterRules
Map<String,
String> filterRules Filters that should be applied to catalog requests. They key specifies the type, e.g, PRODUCT or CATEGORY. The rule value for each entry should be a valid RSQL string. -
id
String id
Id for the policy. -
matchRule
String matchRule
Match rule to evaluate against a context object containing user and request data. This rule is a SpEL expression. -
name
String name
Name of the policy. -
targetCatalogIds
List<String> targetCatalogIds
List of the targetCatalog.getId()
that this catalog access policy applies to. This is only used whenSearchCatalogAccessPolicy.getTargetType()
isDefaultCatalogAccessPolicyTargetType.CATALOG
. -
targetType
String targetType
The target type denoting how to restrict this catalog access policy.- See Also:
-
-
Class com.broadleafcommerce.search.api.domain.accesspolicy.SearchCatalogAccessPolicyContext
class SearchCatalogAccessPolicyContext extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
accountHierarchy
List<String> accountHierarchy
The hierarchy of accounts, from the root account to the account member's account.For example, if we have this account setup, rootAcct -> subAcct (child of rootAcct) -> subSubAcct (child of subAcct), this field would be [rootAcct, subAcct, subSubAcct]. This is useful to have queries include sub-accounts.
-
accountId
String accountId
The ID of the account the user belongs to. -
attributes
Map<String,
Object> attributes Additional, arbitrary request attributes. -
customerSegmentIds
Set<String> customerSegmentIds
The list of ids that correspond to customer segments that this customer is a part of. -
email
String email
The user's email. -
fullName
String fullName
The user's full name. -
phoneNumber
String phoneNumber
The user's phone number. -
registered
boolean registered
Defines whether the user is registered. If false, then the user is considered anonymous. -
rootAccountId
String rootAccountId
The ID of the root account the account member belongs to. -
userId
String userId
The user's id. -
username
String username
The user's username.
-
-
-
Package com.broadleafcommerce.search.api.type
-
Class com.broadleafcommerce.search.api.type.DefaultFieldType
class DefaultFieldType extends FieldType implements Serializable -
Class com.broadleafcommerce.search.api.type.FieldType
class FieldType extends Object implements Serializable-
Serialized Fields
-
multiValued
boolean multiValued
Whether this type supports multiple values. -
type
String type
The named representation of the type.
-
-
-
Exception com.broadleafcommerce.search.api.type.IndexableInitializationException
class IndexableInitializationException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Class com.broadleafcommerce.search.api.type.IndexableType
class IndexableType extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
behaviors
List<com.broadleafcommerce.data.tracking.core.TrackableBehavior> behaviors
The trackable behaviors which apply to objects of this indexable type. -
label
String label
The label representation of the indexable type shown for administration. -
parent
IndexableType parent
Some of these enumerated types can have a parent or common type. For example, imagine that there is a CATALOG type, which could be the parent of PRODUCT and CATEGORY. In this case, PRODUCT and CATEGORY would have a parent of CATALOG, and CATALOG would have no parent. -
translatable
boolean translatable
Whether or not objects of this indexable type are translatable. -
type
String type
The named representation of the indexable type. -
vendorBehavior
boolean vendorBehavior
Whether or not objects of this indexable type can be discriminated by vendor
-
-