Repository: incubator-rocketmq-site
Updated Branches:
  refs/heads/asf-site 3ee8692be -> 9767736ea


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/8defff26
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/tree/8defff26
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/diff/8defff26

Branch: refs/heads/asf-site
Commit: 8defff26857783f6e36f4c3fb873c5c6253fe6d0
Parents: 3ee8692
Author: yukon <[email protected]>
Authored: Wed Apr 26 17:27:16 2017 +0800
Committer: yukon <[email protected]>
Committed: Wed Apr 26 17:38:54 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/8defff26/_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/8defff26/_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