def __init__ (self):
		"""
		Create a new client object, and fill defaults.
		"""
		self._host			= 'localhost'					# searchd host (default is "localhost")
		self._port			= 9312							# searchd port (default is 9312)
		self._path			= None							# searchd unix-domain socket path
		self._socket		= None
		self._offset		= 0								# how much records to seek from result-set start (default is 0)
		self._limit			= 20							# how much records to return from result-set starting at offset (default is 20)
		self._weights		= []							# per-field weights (default is 1 for all fields)
		self._sort			= SPH_SORT_RELEVANCE			# match sorting mode (default is SPH_SORT_RELEVANCE)
		self._sortby		= bytearray()					# attribute to sort by (defualt is "")
		self._min_id		= 0								# min ID to match (default is 0)
		self._max_id		= 0								# max ID to match (default is UINT_MAX)
		self._filters		= []							# search filters
		self._groupby		= bytearray()					# group-by attribute name
		self._groupfunc		= SPH_GROUPBY_DAY				# group-by function (to pre-process group-by attribute value with)
		self._groupsort		= str_bytes('@group desc')		# group-by sorting clause (to sort groups in result set with)
		self._groupdistinct	= bytearray()					# group-by count-distinct attribute
		self._maxmatches	= 1000							# max matches to retrieve
		self._cutoff		= 0								# cutoff to stop searching at
		self._retrycount	= 0								# distributed retry count
		self._retrydelay	= 0								# distributed retry delay
		self._indexweights	= {}							# per-index weights
		self._ranker		= SPH_RANK_PROXIMITY_BM15		# ranking mode
		self._rankexpr		= bytearray()					# ranking expression for SPH_RANK_EXPR
		self._maxquerytime	= 0								# max query time, milliseconds (default is 0, do not limit)
		self._timeout = 1.0									# connection timeout
		self._fieldweights	= {}							# per-field-name weights
		self._select		= str_bytes('*')				# select-list (attributes or expressions, with optional aliases)
		self._query_flags	= SetBit ( 0, 6, True )			# default idf=tfidf_normalized
		self._predictedtime = 0								# per-query max_predicted_time
		self._outerorderby = bytearray()					# outer match sort by
		self._outeroffset = 0								# outer offset
		self._outerlimit = 0								# outer limit
		self._hasouter = False								# sub-select enabled
		self._tokenfilterlibrary = bytearray()						# token_filter plugin library name
		self._tokenfiltername = bytearray()						# token_filter plugin name
		self._tokenfilteropts = bytearray()						# token_filter plugin options
		
		self._error			= ''							# last error message
		self._warning		= ''							# last warning message
		self._reqs			= []							# requests array for multi-query

		Create a new client object, and fill defaults.
		
plugins/sphinx/class/sphinxapi.py