Keyoti SearchUnit API Docs
GetIndexedDocumentIds Method (from, to, sourceID, filter, getCount, totalCount, securityGroupID)
API DocumentationKeyoti.SearchEngine.SearchSearcherIOGetIndexedDocumentIds(Int32, Int32, Int32, String, Boolean, Int32%, array<Int32>[]()[][])
Keyoti SearchUnit v6
Gets a list of DocumentRecord object IDs in the index within the specified limit.
Declaration Syntax
C#Visual Basic
[ObsoleteAttribute("Please use new version of this method with content and location arguments added.", 
	true)]
public virtual IntList GetIndexedDocumentIds(
	int from,
	int to,
	int sourceID,
	string filter,
	bool getCount,
	out int totalCount,
	int[] securityGroupID
)
<ObsoleteAttribute("Please use new version of this method with content and location arguments added.", 
	true)> 
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()
) 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
Return Value
IntList
ArrayList of DocumentRecord objects

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610