public static ICollection <string> CreateCollection(this string value) { ICollection <string> result; if (string.IsNullOrWhiteSpace(value)) { result = new List <string>(); } else { result = SolrHelper.CreateCollection(new string[] { value }); } return(result); }
public static IDictionary <string, ICollection <string> > AddOptions(this IDictionary <string, ICollection <string> > options, string key, params string[] values) { options.AddOptions(key, SolrHelper.CreateCollection(values)); return(options); }
public IDictionary <string, ICollection <string> > CreateSpatial(string sfield, float longitude, float latitude, float d) { return(SolrHelper.CreateSpatial(sfield, longitude, latitude, d)); }
public IDictionary <string, ICollection <string> > CreateGroup(string groupField, string groupSort, int groupLimit) { return(SolrHelper.CreateGroup(groupField, groupSort, groupLimit)); }
public IDictionary <string, ICollection <string> > CreateHL(string hlFields, string hlSimplePre = "<em class='highlight'>", string hlSimplePost = "</em>") { return(SolrHelper.CreateHL(hlFields, hlSimplePre, hlSimplePost)); }
public IDictionary <string, ICollection <string> > CreateDismax(string qf, string bf = "", DefTypeType defTypeType = DefTypeType.edismax) { return(SolrHelper.CreateDismax(qf, bf, defTypeType)); }
public ICollection <string> CreateCollection(params string[] values) { return(SolrHelper.CreateCollection(values)); }
public IDictionary <string, ICollection <string> > CreateCommon(string fl, string sort, int start, int rows, ICollection <string> fiterQuery = null) { return(SolrHelper.CreateCommon(fl, sort, start, rows, fiterQuery)); }