IUserSessionLuceneQueryCountT, TIndex Method
|
Queries the content store using Lucene query syntax and returns the count of results.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax long LuceneQueryCount<T, TIndex>(
string luceneQueryExpression
)
where TIndex : new(), AbstractIndexCreationTask
Function LuceneQueryCount(Of T, TIndex As {New, AbstractIndexCreationTask}) (
luceneQueryExpression As String
) As Long
generic<typename T, typename TIndex>
where TIndex : gcnew(), AbstractIndexCreationTask
long long LuceneQueryCount(
String^ luceneQueryExpression
)
abstract LuceneQueryCount :
luceneQueryExpression : string -> int64 when 'TIndex : new() and AbstractIndexCreationTask
Parameters
- luceneQueryExpression
- Type: SystemString
The Lucene query
Type Parameters
- T
- Type of objects to retrieve
- TIndex
- Type of index to use. Index types can be found in the Ingeniux.CMS.RavenDB.Indexes namespace
Return Value
Type:
Int64Count of documents that match the query
See Also Reference
IUserSession.LuceneQuery``2(String)
IUserSession.LuceneQuery``1(String)