Where put the DefaultWrapperModel configuration?

  Kiến thức lập trình

on this section https://solr.apache.org/guide/solr/latest/query-guide/learning-to-rank.html#using-large-models, we are advised to use the DefaultWrapperModel to load large models. But it does not say in which file you have to put the following config:

{
  "store" : "largeModelsFeatureStore",
  "name" : "myWrapperModel",
  "class" : "org.apache.solr.ltr.model.DefaultWrapperModel",
  "params" : {
    "resource" : "myModel.json"
  }
}

What file should receive the above configuration? There is nothing inside the documentation informing that.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT