The following sections provide an overview of the configuration models for Guided Navigation features included with Tools and Frameworks and implemented in Discover Electronics.

The Refinement Menu cartridge displays dimension values within a single dimension for Guided Navigation. It supports dimension value boost and bury.

The response model for this cartridge is RefinementMenu, which contains a list of Refinement objects.

The Refinement Menu cartridge configuration model allows you to configure sorting, "Show More..." link behavior, and boosted and buried refinements. Additionally, it includes a whyPrecedenceRuleFired property that can be used for debugging precedence rule behavior in your application.

The configuration model for this cartridge is RefinementMenuConfig. It includes the following properties:

Property name

Description

dimensionId

A string representing the id of the dimension being configured.

boostRefinements

An ordered list of dimension value refinements to display at the top of the list.

buryRefinements

An ordered list of dimension value refinements to display at the bottom of the list.

sort

The base sort order of dimension values within this dimension. This property should have one of the following values:

showMoreLink

A Boolean indicating whether to enable a link to show more refinements than are displayed by default.

moreLinkText

A string representing the text to use for the "show more refinements" link.

lessLinkText

A string representing the text to use for the "show fewer refinements" link.

numRefinements

A string representing the number of refinements to display by default, or when a user clicks the "show fewer refinements" link.

maxNumRefinements

A string representing the maximum number of refinements to display when a user clicks the "show more refinements" link.

refinementsShown

A string that sets the amount of refinements to return, from the following values:

showMore

(Deprecated) A Boolean indicating whether to display the maxNumRefinements number of menu items. When this value is false, the number of menu items generated is limited by numRefinements, and a "show more refinements" link is generated. This value should be set using showMoreIds URL parameter when the "show more refinements" link is selected.

useShowMoreIdsParam

(Deprecated) A Boolean that sets whether to use the showMoreIds URL parameter when determining how many refinements to display. If false, the showMore property on the RefinementMenuConfig object is used instead. If this property is set to true, refinements cannot be collapsed. Defaults to true.

whyPrecedenceRuleFired

If query debugging features are enabled, this property enables debugging information about why precedence rules fired on a query in a DGraph.WhyPrecedenceRuleFired property for each root dimension value. For additional information, see "About query debugging results in the reference application."

The Navigation Container is provided as an alternative the refinement menu cartridge for implementations using Oracle Guided Search with the packaged services. It enables you to retrieve the full list of available dimension refinements for a dimension query.

The response model for the Navigation Container includes a list of RefinementMenu objects that each include the records within a dimension refinement. The NavigationContainerHandler handles the "show more refinements" link and associated link Action for each of these refinements, and also controls whether to display debugging information.

The Navigation Container configuration model includes the List<String> property of dimension IDs that are returned with the response model. Since it is a dimension navigation feature, it includes a whyPrecedenceRuleFired property that can be used for debugging precedence rule behavior in your application.

The configuration model for this cartridge is NavigationContainerConfig. It includes the following properties:

Property name

Description

showMoreIds

A List of dimension IDs to return as expanded lists of available refinements. Any dimension refinements not included in this List are returned in the default, shorter form output by the MDEX Engine.

moreLinkText

A string representing the text to use for the "show more refinements" link. The same string is used for each of the included dimension refinements.

lessLinkText

A string representing the text to use for the "show fewer refinements" link. The same string is used for each of the included dimension refinements.

refinementsShownByDefault

A Boolean indicating whether the refinement menus should be fully expanded. Defaults to true. When using a dataset that includes dimensions with a large number of refinements, you should set this to false.

refinementsShown

A string that sets the amount of refinements to return on each refinement menu, from the following values:

useShowMoreIdsParam

(Deprecated) A Boolean that sets whether to use the showMoreIds URL parameter when determining how many refinements to display. If false, the showMore property on the RefinementMenuConfig object is used instead. If this property is set to true, refinements cannot be collapsed. Defaults to true.

whyPrecedenceRuleFired

If query debugging features are enabled, this property enables debugging information about why precedence rules fired on a query in a DGraph.WhyPrecedenceRuleFired property for each root dimension value. For additional information, see "About query debugging results in the reference application."


Copyright © Legal Notices