Category Archives: Programming

cannot change DocValues type from SORTED to SORTED_SET – DataStax Graph – Titan – Solr

cannot change DocValues type from SORTED to SORTED_SET – DataStax Graph – Titan – Solr

Are you facing these errors??? cannot change docvalues type from sorted_set to sorted for field field_name cannot change docvalues type from sorted to sorted_set for field field_name No worries. We have the solution. First of all we need to know what DocValues means in Solr. You will find a lot of information in the internet. Now… Read More »

Writing REST APIs – CREATE/POST – Best Practices – Part II

Writing REST APIs – CREATE/POST – Best Practices – Part II

This is my second post on Writing REST APIs. Today the focus is on POST HTTP method. Basically POST method is used for create a resource. Sample Request : POST /users { “users” : [{ “firstName” : “Tom”, “lastName” : “Cruise” },{ “firstName” : “Tom”, “lastName” : “Hardy” }] } Sample Response : { “statusCode” :… Read More »

Writing REST APIs – CRUD – Request & Response – Best Practices – Part I

Writing REST APIs - CRUD - Request & Response - Part I

Writing REST APIs – CRUD – Request & Response – Best Practices – Part I

Writing REST APIs - CRUD - Request & Response - Part I

I am going to publish a series of posts  related to REST APIs standards and today we will see some details on designing the request and response for an API. So now we will assume we are going to write an API for user managements and we call this User API. When writing an API, the following… Read More »