Click or drag to resize

SQLiteSearchIndexServiceSearchTEntity Method

Search based on already tokenized string

Namespace:  SanteDB.DisconnectedClient.SQLite.Search
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public IEnumerable<TEntity> Search<TEntity>(
	string[] tokens,
	Guid queryId,
	int offset,
	int? count,
	out int totalResults,
	ModelSort<TEntity>[] orderBy
)
where TEntity : new(), IdentifiedData

Parameters

tokens
Type: SystemString

[Missing <param name="tokens"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Search.SQLiteSearchIndexService.Search``1(System.String[],System.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{``0}[])"]

queryId
Type: SystemGuid

[Missing <param name="queryId"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Search.SQLiteSearchIndexService.Search``1(System.String[],System.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{``0}[])"]

offset
Type: SystemInt32

[Missing <param name="offset"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Search.SQLiteSearchIndexService.Search``1(System.String[],System.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{``0}[])"]

count
Type: SystemNullableInt32

[Missing <param name="count"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Search.SQLiteSearchIndexService.Search``1(System.String[],System.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{``0}[])"]

totalResults
Type: SystemInt32

[Missing <param name="totalResults"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Search.SQLiteSearchIndexService.Search``1(System.String[],System.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{``0}[])"]

orderBy
Type: SanteDB.Core.Model.QueryModelSortTEntity

[Missing <param name="orderBy"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Search.SQLiteSearchIndexService.Search``1(System.String[],System.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{``0}[])"]

Type Parameters

TEntity

[Missing <typeparam name="TEntity"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Search.SQLiteSearchIndexService.Search``1(System.String[],System.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{``0}[])"]

Return Value

Type: IEnumerableTEntity

[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.SQLite.Search.SQLiteSearchIndexService.Search``1(System.String[],System.Guid,System.Int32,System.Nullable{System.Int32},System.Int32@,SanteDB.Core.Model.Query.ModelSort{``0}[])"]

Implements

IFreetextSearchServiceSearchTEntity(String, Guid, Int32, NullableInt32, Int32, ModelSortTEntity)
See Also