Keyoti Search for ASP.NET API Docs
ApplyORLogic Method (allDocumentsList, Configuration)
API DocumentationKeyoti.SearchEngine.SearchSearchLogicApplyORLogic(IntListList, Configuration)
Keyoti Search for ASP.NET 2010
Receives an IntListList of IntList objects, each IntList contains the document IDs matching each Element in the query, and applies logic to the list.
Declaration Syntax
C#Visual BasicVisual C++
public static IntList ApplyORLogic(
	IntListList allDocumentsList,
	Configuration Configuration
)
Public Shared Function ApplyORLogic ( _
	allDocumentsList As IntListList, _
	Configuration As Configuration _
) As IntList
public:
static IntList^ ApplyORLogic(
	IntListList^ allDocumentsList, 
	Configuration^ Configuration
)
Parameters
allDocumentsList (IntListList)
Document IDs to apply the OR logic to
Configuration (Configuration)
The instance of the Configuration class that holds the settings to be used.
Return Value
IntList of Document IDs satisfying the OR logic
Remarks
Eg. if a query = "one OR two" then two WordElements are created, one WordElement for "one" and one for "two". The query specifies OR logic between those elements, thus this method receives an ArrayList with elements as follows; allDocumentsList[0] = {1, 3, 5} where 1, 3 and 5 are document IDs with "one" in them. allDocumentsList[1] = {3, 5, 8, 10} where 3, 5, 8, 10 are document IDs with "two" in them. This method will then return an IntList of ints with {1, 3, 5, 8, 10} in it.

Assembly: Keyoti2.SearchEngine.Core (Module: Keyoti2.SearchEngine.Core) Version: 2010.4.1.609