Skip to content

Commit

Permalink
Updated redis update
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 committed Dec 31, 2022
1 parent 3561ae9 commit de4ea5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public BasicPolyList insert(String poly, Collection<InsertRequest> insertRequest
for (String indexName : insertRequest.getIndexToPersist()) {
// add poly it to list of polys
byte[] indexId = fetchId(poly, indexName);
jedis.rpush(indexId, insertRequest.getPoly()._id().getBytes());
jedis.lpush(indexId, insertRequest.getPoly()._id().getBytes());

BasicPoly tagIndex = index(poly).orElseGet(() -> BasicPoly.newPoly(TAG_INDEX_KEY));

Expand Down

0 comments on commit de4ea5f

Please sign in to comment.