Click or drag to resize

IFulltextStore Interface

Provides access to Sphinx. Used to create instances of IFulltextSession and configuring the environment.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public interface IFulltextStore : IDisposable

The IFulltextStore type exposes the following members.

Properties
  NameDescription
Public propertyConnectionString
Provides methods to configure a connection string for this instance. If no connection string is provided, the default will be used.
Public propertyConventions
Gets the conventions used for index- and attributes names for session started by this instance.
Public propertySettings
Gets the settings for this instance.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodCode exampleStartSession
Starts a new full-text session.
Top
Examples
IFulltextStore fulltextStore = new FulltextStore().Initialize();
fulltextStore.ConnectionString.IsThis("datasource=192.168.105;port=9306");

using (IFulltextSession session = fulltextStore.StartSession())
{
    //Do stuff with session
}
Thread Safety
Instance members of this type are safe for multi-threaded operations.
See Also