Example #1
0
 /// <summary>
 /// Default document visitor
 /// </summary>
 /// <param name="mapper"></param>
 /// <param name="parser"></param>
 public DefaultDocumentVisitor(IReadOnlyMappingManager mapper, ISolrFieldParser parser)
 {
     visitor = new AggregateDocumentVisitor(new ISolrDocumentPropertyVisitor[] {
         new RegularDocumentVisitor(parser, mapper),
         new GenericDictionaryDocumentVisitor(mapper, parser),
     });
 }
Example #2
0
 /// <summary>
 /// Default document visitor
 /// </summary>
 /// <param name="mapper"></param>
 /// <param name="parser"></param>
 public DefaultDocumentVisitor(IReadOnlyMappingManager mapper, ISolrFieldParser parser)
 {
     visitor = new AggregateDocumentVisitor(new ISolrDocumentPropertyVisitor[] {
         new RegularDocumentVisitor(parser, mapper),
         new GenericDictionaryDocumentVisitor(mapper, parser),
     });
 }