REST API Design Best Practices for Parameters and Query String Usage

When we’re designing APIs, the goal is to give our users some amount of power over the service we provide. While HTTP verbs and resource URLs allow for some basic interaction, oftentimes, it’s necessary to provide additional functionality or else the system becomes too cumbersome to work with.

An example of this is pagination: we can’t send every article to a client in one response if we have millions in our database.

8 Ways to Customize Couchbase Full Text Search Indexes

Couchbase Search service supports the creation of special purpose indexes for Full Text Search to provide extensive capabilities for natural language querying on JSON documents. Couchbase Full Text Search indexes support an extensive range of query types, like:

  • Match, Match Phrase, Doc ID, and Prefix queries
  • Conjunction, Disjunction, and Boolean field queries
  • Numeric Range and Date Range queries
  • Geospatial queries
  • Query String queries, which employ a special syntax to express the details of each query

To perform a full text search, a Full Text Search Index has to be created first upon a bucket on which the search has to be targeted. The search could be performed on the textual and other contents of documents within a specified bucket.