Skip to content

Commit

Permalink
SearchSourceBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhatsb committed Mar 11, 2013
1 parent 75a2bfa commit 1e43c42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ search.addType("tweet");
JestResult result = client.execute(search);
```

By using QueryBuilder;
By using SearchSourceBuilder;

```java
SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();
Expand All @@ -215,7 +215,7 @@ search.addType("tweet");
JestResult result = client.execute(search);
```

>Add ElasticSearch dependency to use QueryBuilder api
>Add ElasticSearch dependency to use SearchSourceBuilder
Result can be cast to List of domain object;

Expand Down

0 comments on commit 1e43c42

Please sign in to comment.