예제 #1
0
        public bool DeleteIndex(string indexName, string[] ids)
        {
            var idFields = ids.Select(item => new LnField {
                Name = "ID", Value = item
            });

            return(LnHelper.DeleteIndex(indexName, idFields));
        }
예제 #2
0
 public LnPage SearchIndex(LnQuery query)
 {
     return(LnHelper.SearchIndex(query));
 }
예제 #3
0
 public bool DeleteIndex(string indexName)
 {
     return(LnHelper.DeleteIndex(indexName));
 }
예제 #4
0
 public bool SetIndex(string indexName, LnModel[] models)
 {
     return(LnHelper.SetIndex(indexName, models));
 }