Map <String,Object> fields = new HashMap<>();
fields.put(“type”,“test”);
fields.put(“value”,“B&lore”);
status= cl.addDocument(“Sample”,1,fields,false,true,null);
Query q = new Query("*");
SearchResult res= cl.search(q,cl);
When I print res.docs, I face the above issue. Though it is saved as “B&lore” in the redis data base. Search result has the unicode format instead of user input.