case class RelatedProductsQuery(indexName: String, objectID: String, threshold: Int = 0, maxRecommendations: Option[Int] = None, queryParameters: Option[Query] = None, fallbackParameters: Option[Query] = None) extends RecommendationsOptions with Product with Serializable
- Alphabetic
- By Inheritance
- RelatedProductsQuery
- Serializable
- Serializable
- Product
- Equals
- RecommendationsOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
fallbackParameters: Option[Query]
Search parameters to use as fallback when there are no recommendations
Search parameters to use as fallback when there are no recommendations
- Definition Classes
- RelatedProductsQuery → RecommendationsOptions
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
indexName: String
Name of the index to target
Name of the index to target
- Definition Classes
- RelatedProductsQuery → RecommendationsOptions
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
maxRecommendations: Option[Int]
The maximum number of recommendations to retrieve
The maximum number of recommendations to retrieve
- Definition Classes
- RelatedProductsQuery → RecommendationsOptions
-
val
model: String
The recommendation model to use
The recommendation model to use
- Definition Classes
- RelatedProductsQuery → RecommendationsOptions
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
objectID: String
The object ID to get recommendations for
The object ID to get recommendations for
- Definition Classes
- RelatedProductsQuery → RecommendationsOptions
-
val
queryParameters: Option[Query]
Search parameters to filter the recommendations
Search parameters to filter the recommendations
- Definition Classes
- RelatedProductsQuery → RecommendationsOptions
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
threshold: Int
The threshold to use when filtering recommendations by their score, default 0, between 0 and 100
The threshold to use when filtering recommendations by their score, default 0, between 0 and 100
- Definition Classes
- RelatedProductsQuery → RecommendationsOptions
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.