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 Basic |
public static IntList ApplyORLogic( IntListList allDocumentsList, Configuration Configuration )
Public Shared Function ApplyORLogic ( allDocumentsList As IntListList, Configuration As Configuration ) As IntList
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
IntList of Document IDs satisfying the OR logic
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: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610