To enhance the search capability we had to configure xPlore to use the new customer attributes as facets and configure D2 to use the default and new facets.

Configuring xPlore to use facets with the customer attributes

  • Stop the Index Agent and Server
  • Update indexserverconfig.xml by adding the following line (e. g.):

xml-code

  • Keep only the indexserverconfig.xml file in $DSSEARCH_HOME/config
  • Remove $DSSEARCH_HOME/data/*
  • Start index and agent server
  • Start a full reindexing
  • Once all is indexed, set index to normal mode

Necessary tests

You should do two tests before configuring the D2-Client.

1. On the content server:

java com.emc.d2.api.config.search.D2FacetTest -docbase_name test67 -user_name admin -password xxxx -full_text -facet_names dbi_events

2. On the xPlore server:

  • Check if the new lines have been validated by executing $DSEARCH_HOME/dsearch/xhive/admin/XHAdmin
  • Navigate to xhivedb/root-library/dsearch/data/default
  • Under the Indexes Tab, click the “Add Subpaths” button to open the “Add sub-paths to index” window where you can see in the Path column the added customer attributes

Configure the search in D2-Config

  • Launch D2-Config
  • Select Interface and then the Search sub-menu
  • Tick  “Enable Facets” and enter a value for “Maximun of result by Facet”

 

D2-Config

Once this is done, you are able to use the facets with the D2-Client.