def __init__(self, type_=None):
        """Create and return an S.

        :arg type_: class; the MappingType for this S

        """
        self.type = type_
        self.steps = []
        self.start = 0
        self.stop = None
        self.as_list = self.as_dict = False
        self.field_boosts = {}
        self._results_cache = None
def __init__ ( self , type_ = None ) : self . type = type_ self . steps = [ ] self . start = 0 self . stop = None self . as_list = self . as_dict = False self . field_boosts = { } self . _results_cache = None
Create and return an S.

        :arg type_: class; the MappingType for this S