We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f30a601 commit 7bc2b90Copy full SHA for 7bc2b90
templates/kotlin/guides/search/searchWithRuleContexts.mustache
@@ -0,0 +1,14 @@
1
+{{> snippets/import}}
2
+import com.algolia.client.model.search.*
3
+
4
+suspend fun searchWithRuleContexts() {
5
+ {{> snippets/init}}
6
7
+ val platformTag = getPlatformTag()
8
+ val searchParams = SearchParamsObject(
9
+ query = "<YOUR_SEARCH_QUERY>",
10
+ ruleContexts = listOf(platformTag)
11
+ )
12
13
+ client.{{#dynamicSnippet}}searchWithSearchParams{{/dynamicSnippet}}
14
+}
0 commit comments