(self, results, docnum, pos=None, score=None)
:param results: the Results object this hit belongs to.
        :param pos: the position in the results list of this hit, for example
            pos = 0 means this is the first (highest scoring) hit.
        :param docnum: the document number of this hit.
        :param score: the score of this hit.
:param results: the Results object this hit belongs to.
        :param pos: the position in the results list of this hit, for example
            pos = 0 means this is the first (highest scoring) hit.
        :param docnum: the document number of this hit.
        :param score: the score of this hit.
: param results : the Results object this hit belongs to . : param pos : the position in the results list of this hit for example pos = 0 means this is the first ( highest scoring ) hit . : param docnum : the document number of this hit . : param score : the score of this hit .
def __init__(self, results, docnum, pos=None, score=None):
        """
        :param results: the Results object this hit belongs to.
        :param pos: the position in the results list of this hit, for example
            pos = 0 means this is the first (highest scoring) hit.
        :param docnum: the document number of this hit.
        :param score: the score of this hit.
        """

        self.results = results
        self.searcher = results.searcher
        self.reader = self.searcher.reader()
        self.pos = self.rank = pos
        self.docnum = docnum
        self.score = score
        self._fields = None
def __init__ ( self , results , docnum , pos = None , score = None ) : self . results = results self . searcher = results . searcher self . reader = self . searcher . reader ( ) self . pos = self . rank = pos self . docnum = docnum self . score = score self . _fields = None