Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-17525: wrong model store in documentation

Alessandro Benedetti4f60afede0f7
diff --git a/solr/solr-ref-guide/modules/query-guide/pages/text-to-vector.adoc b/solr/solr-ref-guide/modules/query-guide/pages/text-to-vector.adoc
index 89d7d4a743e..9457f8005c4 100644
--- a/solr/solr-ref-guide/modules/query-guide/pages/text-to-vector.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/pages/text-to-vector.adoc
@@ -218,27 +218,27 @@ To upload the model in a `/path/myModel.json` file, please run:
[source,bash]
----
-curl -XPUT 'http://localhost:8983/solr/techproducts/schema/vectorisation-model-store' --data-binary "@/path/myModel.json" -H 'Content-type:application/json'
+curl -XPUT 'http://localhost:8983/solr/techproducts/schema/text-to-vector-model-store' --data-binary "@/path/myModel.json" -H 'Content-type:application/json'
----
To view all models:
[source,text]
-http://localhost:8983/solr/techproducts/schema/vectorisation-model-store
+http://localhost:8983/solr/techproducts/schema/text-to-vector-model-store
To delete the `currentModel` model:
[source,bash]
----
-curl -XDELETE 'http://localhost:8983/solr/techproducts/schema/vectorisation-model-store/currentModel'
+curl -XDELETE 'http://localhost:8983/solr/techproducts/schema/text-to-vector-model-store/currentModel'
----
To view the model you just uploaded please open the following URL in a browser:
[source,text]
-http://localhost:8983/solr/techproducts/schema/vectorisation-model-store
+http://localhost:8983/solr/techproducts/schema/text-to-vector-model-store
.Example: /path/myModel.json
[source,json]