Class SearchService
Represents the Search Service provided by a Pellet Server.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.Inference.Pellet.Services
Assembly: dotNetRDF.dll
Syntax
public class SearchService : PelletService
Methods
| Improve this Doc View SourceSearch(String)
Gets the list of Search Results which match the given search term.
Declaration
public List<SearchServiceResult> Search(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Search Term. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<SearchServiceResult> | A list of Search Results representing Nodes in the Knowledge Base that match the search term. |
Search(String, PelletSearchServiceCallback, Object)
Gets the list of Search Results which match the given search term.
Declaration
public void Search(string text, PelletSearchServiceCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Search Term. |
PelletSearchServiceCallback | callback | Callback to invoke when the operation completes. |
System.Object | state | State to pass to the callback. |
Remarks
If the operation succeeds the callback will be invoked normally, if there is an error the callback will be invoked with a instance of AsyncError passed as the state which provides access to the error message and the original state passed in.