Testing conductivity in JRedisSearch to Redis without a previous created Index

The Client Class, which wraps all connection and command calls to the RediSearch module, requires an index when creating an instance.

Any Client method invocation that cannot be connected to Redis with the connection information provided when calling the constructor you will get the following exception JedisConnectionException from Jedis this exposes the jedis api to all users of the JRediseach api.

If the connection information works and there is a successfull connection but the index used is not present then any valid call to the methods in the Client class will result in various exceptions depending on the call accept the one to createIndex which will create the index.



  • dropIndex(boolean) will return false but really the api is suppressing the thrown exception that the index was not found.
  • getInfo() which will throw an “JedisDataException: Unknown Index name”.


None of these approaches are ideal but for now my vote would be to call getInfo since no harm can happen, dropIndex and others can actually alter the index if it did all ready exsist.

Reference to the API docs



Microstack Developer

Definition of Microstack: A set of Microservices developed to provide a coherent set of API's, UI/UX, Security and bridging legacy systems.

The popularity of Microservices has grown and many large companies have started to adopt Microservices. There are many books, blogs and opinions... on Microservices and their implementation. I have been using the term Microstack, to address the fact that the past traditional Fullstack way of development does not cut it. A colleague of mine never heard this before and has encouraged me to describe it. Hence the definition in this blog post to capture what I believe is the coining of the term Microstack.

In my own experiences in deploying the complete solution of Microservices there is a growing need for the Development, Architecture and Devop teams to work together to produce a complete deployable solution for Production. This new type of Microstack Team will address the needs of the stack to make a Production Product successful.


JRedisearch Workshop

The talk @ JavaMUG, December 12, 2018 was fun and a success!

The Github account that has all the exercises can be found here

Some photos and screenshots to capture the talk for future reference.


Inspiration Development

"Excuses do not compile" - David Parry #developer #quote
“Java is to JavaScript what car is to Carpet.”   - Chris Heilmann
  "Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”   - Martin Fowler
 “First, solve the problem. Then, write the code.”  - John Johnson
 “Talk is cheap. Show me the code. "  -Linus Torvalds
"Code does not lie." -David Parry
Walking on water and developing software from a specification are easy if both are frozen. ” - Edward V Berard
Programming is the real test of your creativity,its all about how you turn your ideas into codes. - Shreyansh Dwivedi



Digital Play Date DpD

#DpD : When 2 children make plans to meet digitally to either play a collaborative game like first person shooter or to watch youtube together and chat about the videos.