public AssetIndexer(string name, AssetIndexerSettings settings) : base(name ?? "assets") { this.name = name; this.settings = settings; getEntryComponentsHandler = GetEntryComponents; m_QueryEngine.SetSearchDataCallback(e => null); }
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); }