def search(self, query):
        if query:
            cleaned = re.sub(r'[\W_]+', ' ', query)
            terms = cleaned.lower().split()

            if terms:
                queries = []
                for term in terms:
                    term = '%%' + term + '%%'
                    q = "(search_index LIKE '%s')" % term
                    queries.append(q)

                return self.extra(where=[' OR '.join(queries)])

        return self
Find element with in this element's children by name.
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/managers.py/ObservationQuerySet.search--crossover with--dataset/ETHPy150Open apiad/sublime-browser-integration/selenium/webdriver/remote/webelement.py/WebElement.find_element_by_name