Commit 7d2815f2f64afddfae6c7e55f1d93b395fa4e83f

Authored by Andrew
1 parent c8a581fb
Exists in routing_queue

Added todo [skip ci]

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
lib/searchkick/record_indexer.rb
@@ -26,6 +26,8 @@ module Searchkick @@ -26,6 +26,8 @@ module Searchkick
26 routing = record.search_routing 26 routing = record.search_routing
27 end 27 end
28 28
  29 + # TODO before merge
  30 + # only escape separator character
29 value = CGI.escape(record.id.to_s) 31 value = CGI.escape(record.id.to_s)
30 value = "#{value}|#{CGI.escape(routing)}" if routing 32 value = "#{value}|#{CGI.escape(routing)}" if routing
31 index.reindex_queue.push(value) 33 index.reindex_queue.push(value)