dossier/store/elastic.py
def _source(self, feature_names):
        '''Maps feature names to ES's "_source" field.'''
        if feature_names is None:
            return True
        elif isinstance(feature_names, bool):
            return feature_names
        else:
            return map(lambda n: 'fc.' + n, feature_names)
def _source(self, feature_names):
        '''Maps feature names to ES's "_source" field.'''
        if feature_names is None:
            return True
        elif isinstance(feature_names, bool):
            return feature_names
        else:
            return map(lambda n: 'fc.' + n, feature_names)
def _source ( self , feature_names ) : if feature_names is None : return True elif isinstance ( feature_names , bool ) : return feature_names else : return map ( lambda n : 'fc.' + n , feature_names )
Maps feature names to ES's "_source" field.
Maps feature names to ES s _source field .