public LinqToLuceneIndexWithSpatial(LuceneSearchWithSpatialContext context, IExecutionContext[] executionContext) : base(context, executionContext) { this.context = context; this.executionContext = executionContext; queryMapper = new Sitecore.ContentSearch.Spatial.Query.LuceneQueryMapperWithSpatial(new LuceneIndexParameters(context.Index.Configuration.IndexFieldStorageValueFormatter, ((LuceneIndexConfiguration)context.Index.Configuration).Analyzer, context.Index.Configuration.VirtualFieldProcessors, context.Index.FieldNameTranslator, executionContext)); queryOptimizer = new Sitecore.ContentSearch.Spatial.Query.LuceneQueryOptimizerWithSpatial(); linqToLuceneIndex = new LinqToLuceneIndex <TItem>(context, executionContext); }
public SynthesisLinqToLuceneIndex(LuceneSearchContext context, params IExecutionContext[] executionContexts) : base(context, executionContexts) { _fieldNameTranslator = new SynthesisFieldNameTranslator(context.Index.FieldNameTranslator); }
public SynthesisLinqToLuceneIndex(LuceneSearchContext context) : this(context, null) { }
/// <summary> /// Initializes a new instance of the <see cref="ExtendedLinqToLuceneIndex{TItem}"/> class. /// </summary> /// <param name="context">The context.</param> /// <param name="executionContext">The execution context.</param> public ExtendedLinqToLuceneIndex(LuceneSearchContext context, IExecutionContext executionContext) : base(context, executionContext) { }
/// <summary> /// Initializes a new instance of the <see cref="ExtendedLinqToLuceneIndex{TItem}"/> class. /// </summary> /// <param name="context">The context.</param> public ExtendedLinqToLuceneIndex(LuceneSearchContext context) : base(context) { }
public BugFixIndex(LuceneSearchContext context, IExecutionContext executionContext) : base(context, executionContext) { }
public BugFixIndex(LuceneSearchContext context) : this(context, null) { }