Version History

Version 2.1.0

  • Added support for System.Transactions (TransactionScope)
  • New connection string option Enlist
  • Fixed a possible NullReferenceException in SphinxQLDataReader.Close()
  • The CommandTimeout property of the SphinxQLCommand class threw a NotSupportedException, which caused problems when the class was being used in the Visual Studio designer. Now the property can be assigned to, though it is still not supported.

Version 2.0.1

  • Changed sending of command type of queries to accommodate for changes in latest Sphinx trunk revision.
  • SphinxConnector.NET now detects automatically whether Sphinx supports the ping command.
  • Added property IsConnected to SphinxClient class.

Version 2.0.0

  • Full SphinxQL support
  • New logging and tracing infrastructure
  • An ArgumentOutOfRangeException was thrown in case Sphinx returned an empty result packet. Now a SphinxClientException with the message "Received zero-sized searchd response" is thrown.
  • The default port of the SphinxClient class has been changed to 9312.

Version 1.3.0

  • Optimizations in the network code which provide significant speed ups in conjunction with persistent connections (especially when Sphinx is not located on the same machine as the calling application).
  • Added support for querying Sphinx with SphinxQL. Introduced method QueryWithSphinxQL.
  • Added method SphinxHelper.EscapeString.
  • Query and AddQuery methods threw an ArgumentException if they received an empty ("") query string as input, although this is a valid query string.
  • Added property Encoding to SphinxClient class. If you are using sbcs encoding for one of your indexes, set this property to the appropriate encoding. Default is UTF8.
  • Setting the SphinxSearchOptions.SortBy property does not throw an InvalidOperationException anymore, if SphinxSearchOptions.SortMode is set to Relevance. The check has been moved to the query methods of the SphinxClient class.
  • Added support for Sphinx 1.10.1 (preliminary) and removed support for Sphinx 0.9.10 (replaced by 1.10.1).
  • Added QueryMode and ForceAllWords to BuildExcerptsOptions (introduced with Sphinx 1.10.1).
  • Added SphinxException class which all exceptions thrown by SphinxConnector.NET are now derived from.
  • Corrected some typos and wrong references in the documentation.

Version 1.2.0

  • SphinxSearchOptions.SetFilter() and SphinxSearchOptions.SetFilterRange() threw a NullReferenceException when passing IFilterableType or IRangeFilterableType instead of an implementing type as a parameter.
  • Property SphinxOrdinal.SphinxAttributeType of SphinxOrdinal did not return SphinxAttributeType.Ordinal.
  • Added method SphinxClient.ClearQueries() to SphinxClient class.
  • Implemented operators >= and <= in SphinxInteger, SphinxFloat, SphinxBigInt and SphinxTimestamp.
  • The ToString() methods of SphinxTimestamp, SphinxFloat and SphinxBigInt now return an appropriate string representation of the respective type.

Version 1.1.0

  • Support for string attributes introduced with Sphinx 0.9.10
  • Support for rank modes SPH04 and Total introduced with Sphinx 0.9.10
  • Added SphinxClient.FlushAttributes() method (needs Sphinx 0.9.10)
  • SphinxInteger can now be assigned to from System.Int32
  • SphinxAttributeMatch.ToString() now returns the attribute value(s)
  • A SphinxConversionException will now be thrown in case the conversion from a .NET type to a Sphinx type fails

Version 1.0.0

  • Initial release.