Exemplo n.º 1
0
 public DefaultQuerySerializer(ISolrFieldSerializer fieldSerializer)
 {
     serializer = new AggregateQuerySerializer(new ISolrQuerySerializer[] {
         new QueryByFieldSerializer(),
         new LocalParamsSerializer(this),
         new BoostQuerySerializer(this),
         new HasValueQuerySerializer(this),
         new NotQuerySerializer(this),
         new QueryInListSerializer(this),
         new NullableDateTimeRangeQuerySerializer(fieldSerializer),
         new DateTimeRangeQuerySerializer(fieldSerializer),
         new RangeQuerySerializer(fieldSerializer),
         new MultipleCriteriaQuerySerializer(this),
         new SelfSerializingQuerySerializer(),
     });
 }
Exemplo n.º 2
0
 public DefaultQuerySerializer(ISolrFieldSerializer fieldSerializer)
 {
     serializer = new AggregateQuerySerializer(new ISolrQuerySerializer[] {
         new QueryByFieldSerializer(),
         new LocalParamsSerializer(this),
         new BoostQuerySerializer(this),
         new HasValueQuerySerializer(this),
         new NotQuerySerializer(this),
         new QueryInListSerializer(this),
         new NullableDateTimeRangeQuerySerializer(fieldSerializer),
         new DateTimeRangeQuerySerializer(fieldSerializer),
         new RangeQuerySerializer(fieldSerializer),
         new MultipleCriteriaQuerySerializer(this),
         new SelfSerializingQuerySerializer(),
     });
 }