Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vcaesar committed Dec 6, 2018
1 parent e442367 commit 49c0bf4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docs/en/logic.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ docs := searcher.Search(types.SearchReq{
// 搜索 "google testing" 分词 `或关系` 并且不是 "accidentally" 的结果
Logic: types.Logic{
Should: true,
LogicExpr: types.LogicExpr{
NotInLabels: "accidentally",
// LogicExpr: types.LogicExpr{
// NotInLabels: "accidentally",
// },
Expr: types.Expr{
NotIn: "accidentally",
},
},
// 0 to 100 of the results
Expand Down
7 changes: 5 additions & 2 deletions docs/zh/logic.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ docs := searcher.Search(types.SearchReq{
// 搜索 "google testing" 分词 `或关系` 并且不是 "accidentally" 的结果
Logic: types.Logic{
Should: true,
LogicExpr: types.LogicExpr{
NotInLabels: "accidentally",
// LogicExpr: types.LogicExpr{
// NotInLabels: "accidentally",
// },
Expr: types.Expr{
NotIn: "accidentally",
},
},
// 0 到 100 的结果
Expand Down

0 comments on commit 49c0bf4

Please sign in to comment.