Exemplo n.º 1
0
        public SearchContext(Action <FluentConfig <T> > configure)
        {
            _fluentDefaults = new FluentDefaults <T>();

            var config = _fluentDefaults.DefaultConfig();

            configure(config);
            _searchConfig = config;


            _fluentIndex    = new FluentIndex <T>(_searchConfig);
            _fluentSearcher = new FluentSearcher <T>(_searchConfig, _fluentIndex);
        }
Exemplo n.º 2
0
 protected internal FluentSearcher(FluentConfig <T> searchConfig, FluentIndex <T> fluentIndex)
 {
     _searchConfig = searchConfig;
     _fluentIndex  = fluentIndex;
 }