예제 #1
0
 def properties(self):
     return filter(lambda p: p and p not in self.excluded_properties, Application.properties().keys())
예제 #2
0
 def es_facet_mapping(self):
     def remove_profile(name):
         return name[len("profile."):]
     profile_mapping = create_mapping_from_list(self.profile_list, "Profile", True, True, remove_profile)
     return [profile_mapping, create_mapping_from_list(Application.properties().keys(), "Other")]
예제 #3
0
 def properties(self):
     return filter(lambda p: p and p not in self.excluded_properties,
                   Application.properties().keys())
예제 #4
0
 def es_facet_list(self):
     return Application.properties().keys() + self.profile_list