public void WriteTo(JsonWriter writer)
        {
            //$icase Case insensitive string matching:
            //{'fpath' : {'$icase' : 'val1'}} //icase matching
            //Ignore case matching with '$in' operation:
            //{'name' : {'$icase' : {'$in' : ['théâtre - театр', 'hello world']}}}
            //For case insensitive matching you can create special index of type: `JBIDXISTR`

            writer.WriteObjectBasedCriterion("$icase", _subCriterion);
        }
Esempio n. 2
0
 /// <summary>
 /// Writes criterion to specifed <seealso cref="JsonWriter"/>
 /// </summary>
 /// <param name="writer"></param>
 public void WriteTo(JsonWriter writer)
 {
     //*$not Negate operation.
     // {'fpath' : {'$not' : val}} //Field not equal to val
     writer.WriteObjectBasedCriterion("$not", _criterion);
 }