This is an automated email from the ASF dual-hosted git repository. rnewson pushed a commit to branch nouveau-improvements in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 7199abd3de089999ab0e59218b508758f588d945 Author: Robert Newson <[email protected]> AuthorDate: Fri Aug 8 10:40:47 2025 +0100 switch to couch_util:to_hex_bin --- src/nouveau/src/nouveau_util.erl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/nouveau/src/nouveau_util.erl b/src/nouveau/src/nouveau_util.erl index ad0ce6663..0dfcb1e1e 100644 --- a/src/nouveau/src/nouveau_util.erl +++ b/src/nouveau/src/nouveau_util.erl @@ -73,16 +73,15 @@ design_doc_to_index(DbName, #doc{id = Id, body = {Fields}}, IndexName) -> undefined -> {error, InvalidDDocError}; Def -> - Sig = ?l2b( - couch_util:to_hex( + Sig = + couch_util:to_hex_bin( crypto:hash( sha256, ?term_to_bin( {DefaultAnalyzer, FieldAnalyzers, Def} ) ) - ) - ), + ), {ok, #index{ dbname = DbName, default_analyzer = DefaultAnalyzer,
