예제 #1
0
        public AssetIndexer(string name, AssetIndexerSettings settings)
            : base(name ?? "assets")
        {
            this.name                 = name;
            this.settings             = settings;
            getEntryComponentsHandler = GetEntryComponents;

            m_QueryEngine.SetSearchDataCallback(e => null);
        }
예제 #2
0
        public AssetIndexer(string name, AssetIndexerSettings settings)
            : base(name ?? "assets")
        {
            this.name                 = name;
            this.settings             = settings;
            minIndexCharVariation     = Math.Max(2, settings?.minIndexCharVariation ?? 2);
            maxIndexCharVariation     = Math.Max(minIndexCharVariation, settings?.maxIndexCharVariation ?? 12);
            getEntryComponentsHandler = GetEntryComponents;

            m_QueryEngine.SetSearchDataCallback(e => null);
        }