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)
 {
 }
Beispiel #4
0
 /// <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)
 {
 }
Beispiel #5
0
 /// <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)
 {
 }
Beispiel #6
0
 public BugFixIndex(LuceneSearchContext context, IExecutionContext executionContext) : base(context, executionContext)
 {
 }
Beispiel #7
0
 public BugFixIndex(LuceneSearchContext context) : this(context, null)
 {
 }