/// <summary> /// Sets the text query type. Defaults to "boolean". /// </summary> public TQuery Type(TextQueryType type = TextQueryType.boolean) { RegisterJsonPart("'type': {0}", type.AsString().Quotate()); return((TQuery)this); }