Depending on the type of dimension search you use (default or compound dimension search), Dgidx requires different settings.
To make all dimension values available for the default dimension search, Dgidx does not require special flags. If a dimension value is properly created and used to classify a record in the data set, it is automatically indexed and enabled for the default dimension search.
Although all dimension values are enabled for the default dimension search, you can prevent certain dimension values from being added to the dimension search index, by filtering results with dimension values that have no associated records.
You can also limit the default dimension search to one dimension by using the Di parameter and specifying a single dimension for it.
To make dimension values available for the compound dimension search, run the indexing using the--compoundDimSearch flag for Dgidx. Otherwise, compound dimension search will not be used by the MDEX Engine.
Although all dimension values are enabled for the compound dimension search if the--compoundDimSearch flag is used for Dgidx, you can limit the compound dimension search to a list of dimensions, by using the Di parameter and specifying a list of dimension value IDs for it.