/// <summary> /// Default field parser /// </summary> public DefaultFieldParser() { parser = new AggregateFieldParser(new ISolrFieldParser[] { new NullableFieldParser(new IntFieldParser()), new NullableFieldParser(new FloatFieldParser()), new NullableFieldParser(new DoubleFieldParser()), new NullableFieldParser(new DateTimeFieldParser()), new NullableFieldParser(new DateTimeOffsetFieldParser()), new NullableFieldParser(new DecimalFieldParser()), new NullableFieldParser(new LongFieldParser()), new NullableFieldParser(new EnumFieldParser()), new NullableFieldParser(new GuidFieldParser()), new CollectionFieldParser(this), new MoneyFieldParser(), new LocationFieldParser(), new TypeConvertingFieldParser(), new InferringFieldParser(this), }); }
/// <summary> /// Default field parser /// </summary> public DefaultFieldParser() { parser = new AggregateFieldParser(new ISolrFieldParser[] { new NullableFieldParser(new IntFieldParser()), new NullableFieldParser(new FloatFieldParser()), new NullableFieldParser(new DoubleFieldParser()), new NullableFieldParser(new DateTimeFieldParser()), new NullableFieldParser(new DateTimeOffsetFieldParser()), new NullableFieldParser(new DecimalFieldParser()), new NullableFieldParser(new LongFieldParser()), new NullableFieldParser(new EnumFieldParser()), new NullableFieldParser(new GuidFieldParser()), new CollectionFieldParser(this), new MoneyFieldParser(), new LocationFieldParser(), new TypeConvertingFieldParser(), new InferringFieldParser(this), }); }