internal LinqToSolrQueryTranslator(ILinqToSolrService query, Type elementType)
 {
     _service     = query;
     _elementType = GetElementType(elementType);
     _sortings    = new List <string>();
     _elementType = elementType;
 }
Example #2
0
        public void Init()
        {
            var config = new LinqToSolrRequestConfiguration("http://localhost:8983/")
                         .MapIndexFor <TestCoreDoc>("testcore");

            _solr = new LinqToSolrService(config);
        }
Example #3
0
 public LinqToSolrProvider(ILinqToSolrService service)
 {
     Service     = service;
     ElementType = Service.ElementType;
 }
Example #4
0
 public LinqToSolrQueriable(ILinqToSolrService service)
 {
     service.ElementType = typeof(TObject);
     Provider            = new LinqToSolrProvider(service);
     Expression          = Expression.Constant(this);
 }