SphinxConnector.NET is an all managed .NET library to access the functions and features of the Sphinx full text search engine from any .NET application. SphinxConnector.NET supports both native API and SphinxQL.

Native API Features

  • Support for Sphinx 0.9.8, 0.9.9 and 1.10.1 (preliminary) in one library
  • Support for performing queries via SphinxQL
  • Support for string attributes introduced with Sphinx 1.10.1
  • Support for features introduced in 0.9.9 like:
    • Persistent connections: open one connection for several operations to minimize connection overhead.
    • Override attributes: temporarily change the value of an attribute without modifying the actual value for advanced search scenarios.
    • Select clause: write SQL-like statements to operate on attributes
  • Configurable Encoding
  • Search related features:
    • Set value and range filters
    • Schedule several queries for batch execution
    • Specify how Sphinx should match and rank documents
    • and more
  • Access to additional functions exposed by the Sphinx search engine:
    • Build excerpts
    • Build keywords
    • Update attributes
    • Query Sphinx for status variables
  • SphinxConnector.NET uses custom types as arguments for methods operating on Sphinx attributes. This gives you strongly typed access to these methods and also enables compile-time checking of whether a operation is applicable to the specified type.

Sphinx QL Features

  • Based on standard ADO.NET 2.0 classes
  • Insert and Update Records in Real-Time Indexes
  • Select from any Index Type
  • Select via DataReader or DataAdapter
  • Connection Pooling
  • Support for System.Transactions (TransactionScope)
  • Support for Transactions
  • Support for Command Parameters

Additional Features

SphinxConnector.NET supports outputting different types of log messages to help developers identify problems or optimize their setup. The logging infrastructure integrates with the most popular .NET logging frameworks such as NLog, log4net and the Microsoft Enterprise Library.

SphinxConnector.NET comes with extensive documentation which can also be integrated in Visual Studio 2005/2008.

Requirements

.NET Framework 2.0, 3.0, 3.5 or 4.0 and Sphinx search engine 0.9.8, 0.9.9 or 1.10.1

About Sphinx

See Also