internal LuceneFulltextIndex(PartitionedIndexStorage storage, IndexPartitionFactory partitionFactory, FulltextIndexDescriptor descriptor, TokenHolder propertyKeyTokenHolder) : base(storage, partitionFactory, descriptor) { this._analyzer = descriptor.Analyzer(); this._identifier = descriptor.Name; this._type = descriptor.Schema().entityType(); this._properties = descriptor.PropertyNames(); this._propertyKeyTokenHolder = propertyKeyTokenHolder; File indexFolder = storage.IndexFolder; _transactionsFolder = new File(indexFolder.Parent, indexFolder.Name + ".tx"); }
public AbstractLuceneIndex(PartitionedIndexStorage indexStorage, IndexPartitionFactory partitionFactory, IndexDescriptor descriptor) { this.IndexStorage = indexStorage; this._partitionFactory = partitionFactory; this.DescriptorConflict = descriptor; }
internal LuceneSchemaIndex(PartitionedIndexStorage indexStorage, IndexDescriptor descriptor, IndexSamplingConfig samplingConfig, IndexPartitionFactory partitionFactory) : base(indexStorage, partitionFactory, descriptor) { this._samplingConfig = samplingConfig; }
internal TestLuceneIndex(PartitionedIndexStorage indexStorage, IndexPartitionFactory partitionFactory) : base(indexStorage, partitionFactory, null) { }