IFulltext Store Interface
Provides access to Sphinx. Used to create instances of IFulltextSession
and configuring the environment.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public interface IFulltextStore : IDisposableVB
Public Interface IFulltextStore
Inherits IDisposable- Implements
- IDisposable
Example
C#
IFulltextStore fulltextStore = new FulltextStore().Initialize();
fulltextStore.ConnectionString.IsThis("datasource=192.168.105;port=9306");
using (IFulltextSession session = fulltextStore.StartSession())
{
//Do stuff with session
}Properties
| ConnectionString | Provides methods to configure a connection string for this instance. If no connection string is provided, the default will be used. |
| Conventions | Gets the conventions used for index- and attributes names for session started by this instance. |
| Settings | Gets the settings for this instance. |
Methods
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
| StartSession | Starts a new full-text session. |
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.