Gets a list of DocumentRecord object IDs in the index within the specified limit.
Declaration Syntax
C# | Visual Basic |
public virtual IntList GetIndexedDocumentIds( int from, int to, int sourceID, string filter, bool getCount, out int totalCount, int[] securityGroupID, int[] contentCategoryIDs, int locationCategoryID )
Public Overridable Function GetIndexedDocumentIds ( from As Integer, to As Integer, sourceID As Integer, filter As String, getCount As Boolean, <OutAttribute> ByRef totalCount As Integer, securityGroupID As Integer(), contentCategoryIDs As Integer(), locationCategoryID As Integer ) As IntList
Parameters
- from (Int32)
- Document from which to start
- to (Int32)
- Document at which to end
- sourceID (Int32)
- If !=-1 then document must be in this indexed source, if -1 then all.
- filter (String)
- Substring the must be in any document field in order to add
- getCount (Boolean)
- Whether to get a count of all documents that are in source (requires extra work).
- totalCount (Int32%)
- Output param holding the total count if getCount is true.
- securityGroupID (array<Int32>[]()[][])
- Security group IDs that documents must belong to, eg. 1 for default, -1 for all
- contentCategoryIDs (array<Int32>[]()[][])
- Content category group IDs that document must belong to, eg. 0 for all
- locationCategoryID (Int32)
- Location category group ID that document must belong to, eg. -1 for all
Return Value
IntList
ArrayList of DocumentRecord objects
ArrayList of DocumentRecord objects
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610