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# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public static IntList ApplyANDLogic( IntListList allDocumentsList, Configuration Configuration )
public static IntList ApplyANDLogic( IntListList allDocumentsList, Configuration Configuration )
Public Shared Function ApplyANDLogic ( allDocumentsList As IntListList, Configuration As Configuration ) As IntList
Public Shared Function ApplyANDLogic ( allDocumentsList As IntListList, Configuration As Configuration ) As IntList
public: static IntList^ ApplyANDLogic( IntListList^ allDocumentsList, Configuration^ Configuration )
public: static IntList^ ApplyANDLogic( IntListList^ allDocumentsList, Configuration^ Configuration )
static member ApplyANDLogic : allDocumentsList : IntListList * Configuration : Configuration -> IntList
static member ApplyANDLogic : allDocumentsList : IntListList * Configuration : Configuration -> IntList
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
IntList of Document IDs satisfying the AND logic
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: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120