Interface IFullTextSearchProvider
Interface for classes that provide full text search capability.
Inherited Members
Namespace: VDS.RDF.Query.FullText.Search
Assembly: dotNetRdf.Query.FullText.dll
Syntax
public interface IFullTextSearchProvider : IDisposable
Remarks
The Match() methods may allow for provider specific query syntaxes depending on the the underlying provider.
Properties
| Edit this page View SourceIsAutoSynced
Gets whether the search provider is automatically synced with the index i.e. whether queries will always return results based on the latest state of the index.
Declaration
bool IsAutoSynced { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Some implementations may allow this behaviour to be configured while for others this feature may always be on/off.
Methods
| Edit this page View SourceMatch(IEnumerable<Uri>, string)
Searches for matches for specific text.
Declaration
[Obsolete("Replaced by Match(IEnumerable<IRefNode>, string)")]
IEnumerable<IFullTextSearchResult> Match(IEnumerable<Uri> graphUris, string text)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Uri> | graphUris | Graph URIs. |
string | text | Search Query. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(IEnumerable<Uri>, string, double)
Searches for matches for specific text.
Declaration
[Obsolete("Replaced by Match(IEnumerable<IRefNode>, string, double)")]
IEnumerable<IFullTextSearchResult> Match(IEnumerable<Uri> graphUris, string text, double scoreThreshold)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Uri> | graphUris | Graph URIs. |
string | text | Search Query. |
double | scoreThreshold | Score Threshold. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(IEnumerable<Uri>, string, double, int)
Searches for matches for specific text.
Declaration
[Obsolete("Replaced by Match(IEnumerable<IRefNode>, string, double, int)")]
IEnumerable<IFullTextSearchResult> Match(IEnumerable<Uri> graphUris, string text, double scoreThreshold, int limit)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Uri> | graphUris | Graph URIs. |
string | text | Search Query. |
double | scoreThreshold | Score Threshold. |
int | limit | Result Limit. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(IEnumerable<Uri>, string, int)
Searches for matches for specific text.
Declaration
[Obsolete("Replaced by Match(IEnumerable<IRefNode>, string, int)")]
IEnumerable<IFullTextSearchResult> Match(IEnumerable<Uri> graphUris, string text, int limit)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Uri> | graphUris | Graph URIs. |
string | text | Search Query. |
int | limit | Result Limit. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(IEnumerable<IRefNode>, string)
Searches for matches for specific text.
Declaration
IEnumerable<IFullTextSearchResult> Match(IEnumerable<IRefNode> graphUris, string text)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRefNode> | graphUris | Graph URIs. |
string | text | Search Query. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(IEnumerable<IRefNode>, string, double)
Searches for matches for specific text.
Declaration
IEnumerable<IFullTextSearchResult> Match(IEnumerable<IRefNode> graphUris, string text, double scoreThreshold)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRefNode> | graphUris | Graph URIs. |
string | text | Search Query. |
double | scoreThreshold | Score Threshold. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(IEnumerable<IRefNode>, string, double, int)
Searches for matches for specific text.
Declaration
IEnumerable<IFullTextSearchResult> Match(IEnumerable<IRefNode> graphUris, string text, double scoreThreshold, int limit)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRefNode> | graphUris | Graph URIs. |
string | text | Search Query. |
double | scoreThreshold | Score Threshold. |
int | limit | Result Limit. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(IEnumerable<IRefNode>, string, int)
Searches for matches for specific text.
Declaration
IEnumerable<IFullTextSearchResult> Match(IEnumerable<IRefNode> graphUris, string text, int limit)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRefNode> | graphUris | Graph URIs. |
string | text | Search Query. |
int | limit | Result Limit. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(string)
Searches for matches for specific text.
Declaration
IEnumerable<IFullTextSearchResult> Match(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | Search Query. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(string, double)
Searches for matches for specific text.
Declaration
IEnumerable<IFullTextSearchResult> Match(string text, double scoreThreshold)
Parameters
Type | Name | Description |
---|---|---|
string | text | Search Query. |
double | scoreThreshold | Score Threshold. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(string, double, int)
Searches for matches for specific text.
Declaration
IEnumerable<IFullTextSearchResult> Match(string text, double scoreThreshold, int limit)
Parameters
Type | Name | Description |
---|---|---|
string | text | Search Query. |
double | scoreThreshold | Score Threshold. |
int | limit | Result Limit. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |
Match(string, int)
Searches for matches for specific text.
Declaration
IEnumerable<IFullTextSearchResult> Match(string text, int limit)
Parameters
Type | Name | Description |
---|---|---|
string | text | Search Query. |
int | limit | Result Limit. |
Returns
Type | Description |
---|---|
IEnumerable<IFullTextSearchResult> |