Class NoPrefixSimpleFsLockFactory
A custom
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Examine
Assembly: Umbraco.Examine.Lucene.dll
Syntax
public class NoPrefixSimpleFsLockFactory : SimpleFSLockFactory
Remarks
This is a work around for the Lucene APIs. By default Lucene will use a null prefix however when we set a custom lock factory the null prefix is overwritten.
Constructors
View SourceNoPrefixSimpleFsLockFactory(DirectoryInfo)
Declaration
public NoPrefixSimpleFsLockFactory(DirectoryInfo lockDir)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | lockDir |
Properties
View SourceLockPrefix
Declaration
public override string LockPrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |