Search Results for

    Show / Hide Table of Contents
    View Source

    Class NoPrefixSimpleFsLockFactory

    A custom that ensures a prefixless lock prefix

    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 Source

    NoPrefixSimpleFsLockFactory(DirectoryInfo)

    Declaration
    public NoPrefixSimpleFsLockFactory(DirectoryInfo lockDir)
    Parameters
    Type Name Description
    DirectoryInfo lockDir

    Properties

    View Source

    LockPrefix

    Declaration
    public override string LockPrefix { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • NoPrefixSimpleFsLockFactory(DirectoryInfo)
    • Properties
      • LockPrefix
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX