def METHOD_NAME(doctype, txt, searchfield, start, page_len, filters):
	meta = frappe.get_meta(doctype)
	searchfields = meta.get_search_fields()
	search_conditions = []
	if not frappe.db.exists("DocType", doctype):
		return
	numberCard = DocType("Number Card")
	if txt:
		search_conditions = [numberCard[field].like(f"%{txt}%") for field in searchfields]
	condition_query = frappe.qb.get_query(
		doctype,
		filters=filters,
		validate_filters=True,
	)
	return (
		condition_query.select(numberCard.name, numberCard.label, numberCard.document_type)
		.where((numberCard.owner == frappe.session.user) | (numberCard.is_public == 1))
		.where(Criterion.any(search_conditions))
	).run()