//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setup() throws java.io.IOException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void Setup() { _index = LuceneSchemaIndexBuilder.create(IndexDescriptorFactory.forSchema(SchemaDescriptorFactory.forLabel(1, 1)), Config.defaults()).withFileSystem(Fs).withIndexRootFolder(Directory.directory()).build(); _index.create(); _index.open(); }
public IIndexBuilder AlterIndex(SchemaIndex index) { AddStatement(AlterIndexInternal(index)); return(this); }
public UniqueLuceneIndexPopulatingUpdater(LuceneIndexWriter writer, int[] propertyKeyIds, SchemaIndex luceneIndex, NodePropertyAccessor nodePropertyAccessor, UniqueIndexSampler sampler) : base(writer) { this._propertyKeyIds = propertyKeyIds; this._luceneIndex = luceneIndex; this._nodePropertyAccessor = nodePropertyAccessor; this._sampler = sampler; }