SphinxConnector.NET 3.1 has been released
October 25, 2012
We're pleased to announce the immediate availability of SphinxConnector.NET 3.1!
This version introduces support for future queries with the fluent query API. This feature allows to defer the execution of queries until their results are needed, enabling SphinxConnector.NET to send them in batches. This functionality is only available with .NET 4.0 or higher and Mono.
Additional improvements to the fluent query API:
- IFulltextQuery.Where can now be called multiple times for a query.
- The generic type of collections for multi-value attributes e.g. IList
etc. can now be of any type that is large enough to hold the result values. Previously only 'long' was supported.
- A workaround to the query generator has been added, to account for the fact that Sphinx currently doesn't support using 'weight()' in an expression, e.g. 'SELECT weight()*2 AS c1 FROM example'. The query generator will now emit a separate, aliased weight() column and use the alias in the expression, e.g. 'SELECT weight() AS c2, c2*2 AS c1 FROM example'.
Last but not least, a bug that caused the RecordsAffected property of the SphinxQLDataReader class not being set correctly when the reader was used to read results from multiple SELECT or SHOW statements, has been fixed.
Remember to follow us on Twitter!
If you would like to send us feedback about the new version, you can use the contact form or send us an e-mail to firstname.lastname@example.org.