Keyoti SearchUnit API Docs
GetIndexedDocumentIds Method (from, to, sourceID, filter, getCount, totalCount, securityGroupID, contentCategoryIDs, locationCategoryID)
API DocumentationKeyoti.SearchEngine.SearchSearcherIOGetIndexedDocumentIds(Int32, Int32, Int32, String, Boolean, Int32%, array<Int32>[]()[][], array<Int32>[]()[][], Int32)
Keyoti SearchUnit v6
Gets a list of DocumentRecord object IDs in the index within the specified limit.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual IntList GetIndexedDocumentIds(
	int from,
	int to,
	int sourceID,
	string filter,
	bool getCount,
	out int totalCount,
	int[] securityGroupID,
	int[] contentCategoryIDs,
	int locationCategoryID
)
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
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
public:
virtual IntList^ GetIndexedDocumentIds(
	int from, 
	int to, 
	int sourceID, 
	String^ filter, 
	bool getCount, 
	[OutAttribute] int% totalCount, 
	array<int>^ securityGroupID, 
	array<int>^ contentCategoryIDs, 
	int locationCategoryID
)
public:
virtual IntList^ GetIndexedDocumentIds(
	int from, 
	int to, 
	int sourceID, 
	String^ filter, 
	bool getCount, 
	[OutAttribute] int% totalCount, 
	array<int>^ securityGroupID, 
	array<int>^ contentCategoryIDs, 
	int locationCategoryID
)
abstract GetIndexedDocumentIds : 
        from : int * 
        to : int * 
        sourceID : int * 
        filter : string * 
        getCount : bool * 
        totalCount : int byref * 
        securityGroupID : int[] * 
        contentCategoryIDs : int[] * 
        locationCategoryID : int -> IntList 
override GetIndexedDocumentIds : 
        from : int * 
        to : int * 
        sourceID : int * 
        filter : string * 
        getCount : bool * 
        totalCount : int byref * 
        securityGroupID : int[] * 
        contentCategoryIDs : int[] * 
        locationCategoryID : int -> IntList 
abstract GetIndexedDocumentIds : 
        from : int * 
        to : int * 
        sourceID : int * 
        filter : string * 
        getCount : bool * 
        totalCount : int byref * 
        securityGroupID : int[] * 
        contentCategoryIDs : int[] * 
        locationCategoryID : int -> IntList 
override GetIndexedDocumentIds : 
        from : int * 
        to : int * 
        sourceID : int * 
        filter : string * 
        getCount : bool * 
        totalCount : int byref * 
        securityGroupID : int[] * 
        contentCategoryIDs : int[] * 
        locationCategoryID : int -> 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

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