#NEWLINE# @ property #NEWLINE# def es_facet_mapping( self ) : #NEWLINE# #INDENT# def remove_profile( name ) : #NEWLINE# #INDENT# return name [ len ( 'profile.' ) : ] #NEWLINE# #UNINDENT# profile_mapping = create_mapping_from_list ( self . profile_list , 'Profile' , True , True , remove_profile ) #NEWLINE# other_mapping = create_mapping_from_list ( self . properties , 'Other' ) #NEWLINE# return [ profile_mapping , self . calculated_properties_mapping , other_mapping ]