Преглед изворни кода

chore(topicidx): refine example of wildcard compare

Andrew Mayorov пре 2 година
родитељ
комит
ca59a87d47
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/emqx/src/emqx_trie_search.erl

+ 1 - 1
apps/emqx/src/emqx_trie_search.erl

@@ -258,7 +258,7 @@ compare([], _Words, _) ->
 compare(['#'], _Words, _) ->
     % NOTE
     %  Topic: a/b/c/d
-    % Filter: a/+/+/d/#
+    % Filter: a/+/+/d/# or just a/#
     % We matched the topic to a topic filter with wildcard (possibly with pluses).
     % We include it in the result set, and now need to try next entry in the table.
     % Closest possible next entries that we must not miss: