#pragma once

#include <saas/rtyserver/model/index.h>

class TBaseSearch;

namespace NMemorySearch {
    class TMemorySearch;
    struct TMemorySearchOptions;
}

namespace NRTYServer {
    THolder<TBaseSearch> CreateBaseSearch(IIndexController::TPtr contoller);
    THolder<NMemorySearch::TMemorySearch> CreateMemorySearch(IIndexController::TPtr contoller, const NMemorySearch::TMemorySearchOptions& options);
}
