Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If your facet does not appear in the Advanced Search, ensure that:
    • you have created one of your annotated content items;
    • the value you expect to see is actually used and does not return null;
    • the content item is indexed;
    • your path is fully lowercased.
  • If a class that is not exported through the Export-Package directive in the pom.xml adds a facet, this facet's SearchFacetDescriptor will have owner void.class.
  • Many things are logged at log level FINE. This should give you detailed information about what values are indexed for a specific method, and why.


Back to top


...

Search Facet Group Methods


Panel
borderColor#0081C0
titleColor#0081C0

The following applies to XperienCentral versions R41 and higher.

When a SearchFacetComponentDefinition is created, a SearchFacetGroup can be provided as well. Providing a SearchFacetGroup will make sure that the custom facet is also added to the Configure Columns panel within the R41 list view in Advanced Search. In XperienCentral versions R41 and higher, the following methods can be used to add and remove search facet groups:


Code Block
themeEclipse
/**
 * Add a search facet group to an existing search facet group definition
 * @param searchFacetGroup the search facet group to add.
 */
void addSearchFacetGroup(SearchFacetGroup searchFacetGroup);

/**
 * Remove the SearchFacetGroup with the specified identifier from the set of search facets groups
 * @param identifier the identifier of the the search facet group that needs to be removed.
 */
void removeSearchFacetGroup(String identifier); 

If the facet should not be added as a column, provide null.


Back to top