Repository: incubator-rocketmq-site
Updated Branches:
  refs/heads/master 42a8b8c9e -> 51503d3f2


Polish te filter example.


Project: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/commit/51503d3f
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/tree/51503d3f
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/diff/51503d3f

Branch: refs/heads/master
Commit: 51503d3f2449b5b2072ea4888ff7f009accc00f3
Parents: 42a8b8c
Author: yukon <[email protected]>
Authored: Wed Apr 26 17:27:16 2017 +0800
Committer: yukon <[email protected]>
Committed: Wed Apr 26 17:27:16 2017 +0800

----------------------------------------------------------------------
 _data/navigation.yml                | 2 +-
 _docs/19-filter-by-sql92-example.md | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/51503d3f/_data/navigation.yml
----------------------------------------------------------------------
diff --git a/_data/navigation.yml b/_data/navigation.yml
index 7efeea7..97f0958 100644
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -33,7 +33,7 @@ docs:
         url: /docs/schedule-example/
       - title: "Batch Example"
         url: /docs/batch-example/
-      - title: "Filter By SQL92 Example"
+      - title: "Filter Example"
         url: /docs/filter-by-sql92-example/
 
   - title: Deployment & Operations

http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/51503d3f/_docs/19-filter-by-sql92-example.md
----------------------------------------------------------------------
diff --git a/_docs/19-filter-by-sql92-example.md 
b/_docs/19-filter-by-sql92-example.md
index 111d616..52a28ac 100644
--- a/_docs/19-filter-by-sql92-example.md
+++ b/_docs/19-filter-by-sql92-example.md
@@ -5,16 +5,15 @@ excerpt: "How to filter messages by SQL92 in Apache RocketMQ."
 modified: 2017-04-26T16:35:00-04:00
 ---
 
-
-{% include toc %}
-
-In most cases, tag is simple and useful to select message as you want.For 
example:
+In most cases, tag is simple and useful to select message as you want. For 
example:
 
 ```java
 DefaultMQPushConsumer consumer = new DefaultMQPushConsumer("CID_EXAMPLE");
 consumer.subscribe("TOPIC", "TAGA || TAGB || TAGC");
 ```
 
+{% include toc %}
+
 Consumer will recieve messages that contains TAGA or TAGB or TAGC. But the 
limitation is that one message only could has one tag, this may be not suitable 
for more sophisticated scenarios.At this time, you could use sql expression to 
select messages.
 
 ### Principle

Reply via email to