Gets or sets the maximum time for a query. This value is applied per index. Default is MaxValue which means no limit.

Namespace: Gronewold.SphinxConnector
Assembly: Gronewold.SphinxConnector (in Gronewold.SphinxConnector.dll) Version: 2.7.0.3011 (2.7.0.3011)

Syntax

C#
public TimeSpan MaxQueryTime { get; set; }
Visual Basic
Public Property MaxQueryTime As TimeSpan
	Get
	Set

Field Value

The maximum time for a query.

Remarks

This value is handled as an integer by sphinx. That means if you e.g. set the max query time to value shown below, the .5 part will be cut off.
CopyC#
SphinxClient sphinxClient = new SphinxClient();
sphinxClient.SearchOptiions.MaxQueryTime = TimeSpan.FromMilliseconds(100.5)

See Also