public bool PostClassifyItem(JObject value) { try { var rule = value.ToObject <Rule>(); Classify classify = Classify.SetupRule(rule); classify.UpdateDBLucene(); return(true); } catch (Exception ex) { Utilities.SolrException.WriteError(ex); } return(false); }