我需要有关如何在facet上添加描述的帮助,在这里我将放置我的代码,以便您可以看到我的想法:
List<Facet> facetsExecutor = findFacets("executorFaceting", "caseFileUserApps.activeUsers.executor", fullTextQuery, queryBuilder, includeZeroCounts);
addMoreFacets(najdeniFaceti, facetsExecutor, rb.getString("com..........executor"));
for(int i=0;i<facetsExecutor.size();i++){
String name=facetsExecutor.get(i).getValue();
setDescription(name); //The method setDescription(name) is undefined for the type HibernateIndexSearch
}
有人可以帮助我,因为当我的鼠标位于构面中元素的名称上时,我需要看一下具有指定文本的字段(构面中元素的名称)???