Try Playground
Show / Hide Table of Contents

Interface ISearchService

This interface contains properties and methods required for Search Service.

Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface ISearchService

Methods

Name Description
ExecuteNonQuery(QueryCommand)

Executes delete statements on cache. Returns number of affected rows after query is executed.

ExecuteReader(QueryCommand, Boolean, Int32)

Performs search on the cache based on the query specified. Returns list of key-value pairs in a data reader which fulfills the query criteria. This key-value pair has cache key and its respective value. You can specify the flag for specifying if you want data with keys.

ExecuteScalar(QueryCommand)

Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.

GetByTag<T>(Tag)

Gets all the cached items with the specified tag.

GetByTag<T>(String)

Gets all the cached objects with the wild card supported tag.

GetByTags<T>(IEnumerable<Tag>, TagSearchOptions)

Returns the cached objects that have tags with specified TagSearchOptions.

GetGroupData<T>(String)

Retrieves the key and value pairs of the specified group.

GetGroupKeys(String)

Retrieves the keys of the items in the specified group.

GetKeysByTag(Tag)

Gets all keys of the objects with the specified tag.

GetKeysByTag(String)

Gets all the keys with the wild card supported tag.

GetKeysByTags(IEnumerable<Tag>, TagSearchOptions)

Returns keys of the cached items that have tags with specified TagSearchOptions.

RemoveByTag(Tag)

Removes the cached objects with the specified tag.

RemoveByTags(IEnumerable<Tag>, TagSearchOptions)

Removes the cached objects that have tags with specified TagSearchOptions.

RemoveGroupData(String)

Remove the data items pertaining to the specified group from cache.

In This Article
  • Methods

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
� Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top