Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 2d2a635

Browse files
author
Clément Le Provost
committed
Merge branch 'master' of github.com:algolia/algoliasearch-client-android
2 parents 1778676 + a3a78c4 commit 2d2a635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ You can also use a string array encoding (for example `numericFilters: ["price>1
10561056
</td>
10571057
<td class='client-readme-param-content'>
10581058
<p>Filter the query with numeric, facet or/and tag filters. The syntax is a SQL like syntax, you can use the OR and AND keywords. The syntax for the underlying numeric, facet and tag filters is the same than in the other filters:
1059-
<code>available=1 AND (category:Book OR NOT category:Ebook) AND public</code>
1059+
<code>available=1 AND (category:Book OR NOT category:Ebook) AND _tags:public</code>
10601060
<code>date: 1441745506 TO 1441755506 AND inStock &gt; 0 AND author:&quot;John Doe&quot;</code></p>
10611061
10621062
<p>If no attribute name is specified, the filter applies to <code>_tags</code>. For example: <code>public OR user_42</code> will translate to <code>_tags:public OR _tags:user_42</code>.</p>
@@ -1148,7 +1148,7 @@ You can send multiple queries with a single API call using a batch of queries:
11481148
List<IndexQuery> queries = new ArrayList<>();
11491149

11501150
queries.add(new IndexQuery("categories", new Query(myQueryString).setHitsPerPage(3)));
1151-
queries.add(new IndexQuery("products", new Query(myQueryString).setHitsPerPage(3).set("filters", "promotion"));
1151+
queries.add(new IndexQuery("products", new Query(myQueryString).setHitsPerPage(3).set("filters", "_tags:promotion"));
11521152
queries.add(new IndexQuery("products", new Query(myQueryString).setHitsPerPage(10)));
11531153

11541154
client.multipleQueriesAsync(queries, new CompletionHandler() {

0 commit comments

Comments
 (0)