Skip to content

Commit

Permalink
Merge d471911 into 7b249ad
Browse files Browse the repository at this point in the history
  • Loading branch information
ElPicador committed Mar 28, 2017
2 parents 7b249ad + d471911 commit 86655bd
Show file tree
Hide file tree
Showing 5 changed files with 237 additions and 234 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ void deleteByQuery(String indexName, Query query, int batchSize) throws AlgoliaE
.setAttributesToHighlight(Collections.emptyList())
.setAttributesToSnippet(Collections.emptyList())
.setHitsPerPage(1000) //Magic number
.setDistinct(false);
.setDistinct(Distinct.of(false));

List<String> objectToDelete = new ArrayList<>(batchSize);
for (ObjectID o : new IndexIterable<>(this, indexName, query, ObjectID.class)) {
Expand Down
Loading

0 comments on commit 86655bd

Please sign in to comment.