Keyoti Search for ASP.NET API Docs
ApplyANDLogic Method (allDocumentsList, Configuration)
API DocumentationKeyoti.SearchEngine.SearchSearchLogicApplyANDLogic(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 ApplyANDLogic(
	IntListList allDocumentsList,
	Configuration Configuration
)
Public Shared Function ApplyANDLogic ( _
	allDocumentsList As IntListList, _
	Configuration As Configuration _
) As IntList
public:
static IntList^ ApplyANDLogic(
	IntListList^ allDocumentsList, 
	Configuration^ Configuration
)
Parameters
allDocumentsList (IntListList)
Document IDs to apply the AND 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 AND logic
Remarks
Eg. if a query = "one two" then two Elements are created, one WordElement for "one" and one for "two". The query specifies AND 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 {3, 5} in it.

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