Quaero.DW.Criteria

Implicit Conversions

Fields

Quaero.DW.Criteria

Quaero.DW.Criteria Class

public class Quaero.DW.Criteria : Quaero.DW.Json;
Search criteria are used when searching the archive. See JSON criteria.

words Field

System.String (Quaero.DW.Criteria)criteria.words;
Words to search for. Optional if type and a date are specified. See JSON words.

types Field

System.Collections.Generic.List<System.String> (Quaero.DW.Criteria)criteria.types;
Only search these document types. Optional if words are specified. See JSON type.

fields Field

System.Collections.Generic.List<System.String> (Quaero.DW.Criteria)criteria.fields;
Sort search results on this field. Defaults to all the fields in the document type. See JSON fields.

sort Field

System.Collections.Generic.List<System.String> (Quaero.DW.Criteria)criteria.sort;
Sort search results on this field. Defaults is [ "date", "NUM" ]. See JSON sort.

during Field

Quaero.DW.Date (Quaero.DW.Criteria)criteria.during;
Only search during this periode. Optional if from and to are specified. See JSON during.

from Field

Quaero.DW.Date (Quaero.DW.Criteria)criteria.from;
Start search at the begining of this date. Ignored if during is specified. See JSON from.

to Field

Quaero.DW.Date (Quaero.DW.Criteria)criteria.to;
End search at the end of this date. Ignored if during is specified. See JSON to.

Implicit Conversion From System.String

implicit public static operator Quaero.DW.Criteria (System.String str);
Implicit conversion from a string to search criteria object. The string is used as search words, obviously.

Parameters

str
[System.String]

Returns