commonMain.com.algolia.client.model.search.SearchForFacetsOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algoliasearch-client-kotlin Show documentation
Show all versions of algoliasearch-client-kotlin Show documentation
"Algolia is a powerful search-as-a-service solution, made easy to use with API clients, UI libraries, and pre-built integrations. Algolia API Client for Kotlin lets you easily use the Algolia Search REST API from your JVM project, such as Android or backend implementations."
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
package com.algolia.client.model.search
import kotlinx.serialization.*
import kotlinx.serialization.json.*
/**
* SearchForFacetsOptions
*
* @param facet Facet name.
* @param indexName Algolia index name.
* @param type
* @param facetQuery Text to search inside the facet's values.
* @param maxFacetHits Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
*/
@Serializable
public data class SearchForFacetsOptions(
/** Facet name. */
@SerialName(value = "facet") val facet: String,
/** Algolia index name. */
@SerialName(value = "indexName") val indexName: String,
@SerialName(value = "type") val type: SearchTypeFacet,
/** Text to search inside the facet's values. */
@SerialName(value = "facetQuery") val facetQuery: String? = null,
/** Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values). */
@SerialName(value = "maxFacetHits") val maxFacetHits: Int? = null,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy