public LinqToXmlIndex(XmlSearchContext context, IExecutionContext executionContext) { Assert.ArgumentNotNull(context, "context"); _context = context; _configuration = (XmlIndexConfiguration)context.Index.Configuration; _queryOptimizer = new XmlQueryOptimizer(); _mapper = new XmlQueryMapper(); _fieldNameTranslator = context.Index.FieldNameTranslator; }
public LinqToXmlIndex(XmlSearchContext context) : this(context, null) { }