public IndexingActivityStatus ReadActivityStatusFromIndex() { using (var client = WcfServiceClient.GetSearchServiceContract()) { return(client.ReadActivityStatusFromIndex()); } }
public QueryResult <string> ExecuteQueryAndProject(SnQuery query, ServiceQueryContext queryContext) { using (var client = WcfServiceClient.GetSearchServiceContract()) { return(client.ExecuteQueryAndProject(query, queryContext)); } }
public BackupResponse QueryBackup() { using (var client = WcfServiceClient.GetSearchServiceContract()) { return(client.QueryBackup()); } }
public void ClearIndex() { using (var client = WcfServiceClient.GetSearchServiceContract()) { client.ClearIndex(); } }
public BackupResponse Backup(IndexingActivityStatus state, string backupDirectoryPath) { using (var client = WcfServiceClient.GetSearchServiceContract()) { return(client.Backup(state, backupDirectoryPath)); } }
public bool Alive() { using (var client = WcfServiceClient.GetSearchServiceContract()) { return(client.Alive()); } }
public void WriteIndex(SnTerm[] deletions, DocumentUpdate[] updates, IndexDocument[] additions) { using (var client = WcfServiceClient.GetSearchServiceContract()) { client.WriteIndex(deletions, updates, additions); } }
public void WriteActivityStatusToIndex(IndexingActivityStatus state) { using (var client = WcfServiceClient.GetSearchServiceContract()) { client.WriteActivityStatusToIndex(state); } }
public void SetIndexingInfo(IDictionary <string, IndexFieldAnalyzer> analyzerTypes, IDictionary <string, IndexValueType> indexFieldTypes, IDictionary <string, string> sortFieldNames) { using (var client = WcfServiceClient.GetSearchServiceContract()) { client.SetIndexingInfo(analyzerTypes, indexFieldTypes, sortFieldNames); } }