internal LinqToSolrQueryTranslator(ILinqToSolrService query, Type elementType) { _service = query; _elementType = GetElementType(elementType); _sortings = new List <string>(); _elementType = elementType; }
public void Init() { var config = new LinqToSolrRequestConfiguration("http://localhost:8983/") .MapIndexFor <TestCoreDoc>("testcore"); _solr = new LinqToSolrService(config); }
public LinqToSolrProvider(ILinqToSolrService service) { Service = service; ElementType = Service.ElementType; }
public LinqToSolrQueriable(ILinqToSolrService service) { service.ElementType = typeof(TObject); Provider = new LinqToSolrProvider(service); Expression = Expression.Constant(this); }