We have a custom attibute, 'tags', on a custom object type that we trying to configuring a facet for and it is not working. We have read the appropriate sections in both the Administrator and Developer xPlore guides and we are out of ideas. We are hoping there is someone out there in the community that knows what we might be missing.
Following is a run-down of what we have been trying.
We have placed the following in the indexserverconfig.xml file under the dmftdoc path-value-index and done the appropriate restarts.
<sub-path compress="true" returning-contents="true" value-comparison="true" full-text-search="true"enumerate-repeating-elements="false" type="string" path="dmftmetadata//tags"/>
We have uploaded assets and can see the tag data in the index using the xPlore Administrator application.
<dmftmetadata>
<dm_sysobject>
... <tags dmfttype="dmstring">private</tags> <tags dmfttype="dmstring">documents</tags> <tags dmfttype="dmstring">event</tags>... </dm_sysobject>
</dmftmetadata>
We are using QueryBuilder to get the facet.
DfFacetDefinition definitionModifier = new DfFacetDefinition("tags");
queryBuilder.addFacetDefinition(definitionModifier);
definitionModifier.setMax(Integer.MAX_VALUE);We don't get an error when running our test to retreive the facet, but we also don't get any facet entries.
...--- Facet: tags
--- Facet: keywords
value = test(50)
value = domenator(45)
value = jeff(29)
...