public string PostStream(string relativeUrl, string contentType, Stream content, IEnumerable <KeyValuePair <string, string> > getParameters) { if (postStream == null) { throw new NotImplementedException(); } return(postStream.Invoke(relativeUrl, contentType, content, getParameters)); }
public string Post(string relativeUrl, string s) { if (post == null) { throw new NotImplementedException(string.Format("Post called with\n{0}\n{1}", relativeUrl, s)); } return(post.Invoke(relativeUrl, s)); }
public ICollection <Type> GetRegisteredTypes() { return(getRegisteredTypes.Invoke()); }
public SolrFieldModel GetUniqueKey(Type type) { return(getUniqueKey.Invoke(type)); }
public string Serialize(object q) { return(serialize.Invoke(q)); }
public object GetService(Type serviceType) { return(getService.Invoke(serviceType)); }
public ResponseHeader AddWithBoost(IEnumerable <KeyValuePair <T, double?> > docs, AddParameters parameters) { return(addWithBoost.Invoke(docs, parameters)); }
public SolrSchema GetSchema() { return(getSchema.Invoke()); }
public XDocument QueryXDocument(string q, QueryOptions options) { return(queryStringOptionsXDocument.Invoke(q, options)); }
public SolrMoreLikeThisHandlerResults <T> Parse(string r) { return(parse.Invoke(r)); }
public ResponseHeader Parse(XDocument response) { return(parse.Invoke(response)); }
public Task <string> GetAsync(string relativeUrl, IEnumerable <KeyValuePair <string, string> > parameters) { return(getAsync.Invoke(relativeUrl, parameters)); }
public SolrCacheEntity this[string url] { get { return(get.Invoke(url)); } }
public void Add(SolrCacheEntity e) { add.Invoke(e); }
public Task <string> GetAsync(string relativeUrl, IEnumerable <KeyValuePair <string, string> > parameters, CancellationToken cancellationToken = default(CancellationToken)) { return(getAsync.Invoke(relativeUrl, parameters)); }
public SolrSchema GetSchema(string schemaFileName) { return(getSchema.Invoke()); }
public SolrQueryResults <T> Query(ISolrQuery q, QueryOptions options) { return(query.Invoke(q, options)); }
public SolrQueryResults <T> Query(string q, QueryOptions options) { return(queryStringOptions.Invoke(q, options)); }
public string Get(string relativeUrl, IEnumerable <KeyValuePair <string, string> > parameters) { return(get.Invoke(relativeUrl, parameters)); }
public ResponseHeader Add(T doc, AddParameters parameters) { return(addDocParams.Invoke(doc, parameters)); }
public ResponseHeader Rollback() { return(rollback.Invoke()); }
public ResponseHeader Delete(IEnumerable <string> ids, ISolrQuery q, DeleteParameters parameters) { return(delete.Invoke(ids, q, parameters)); }
public ResponseHeader Delete(IEnumerable <string> ids, ISolrQuery q) { return(delete.Invoke(ids, q)); }
public IDictionary <string, SolrFieldModel> GetFields(Type type) { return(getFields.Invoke(type)); }
public IEnumerable <ValidationResult> EnumerateValidationResults(Type documentType, SolrSchema schema) { return(enumerate.Invoke(documentType, schema)); }
public void Parse(XDocument xml, AbstractSolrQueryResults <T> results) { parse.Invoke(xml, results); }