This is an automated email from the ASF dual-hosted git repository.
abenedetti pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 85f4e7399b7 SOLR-17525: wrong model store in documentation
85f4e7399b7 is described below
commit 85f4e7399b772d3d38e434c3a5cc5c2fe2e3a7fd
Author: Alessandro Benedetti <[email protected]>
AuthorDate: Mon Jan 6 18:40:23 2025 +0000
SOLR-17525: wrong model store in documentation
(cherry picked from commit 4f60afede0f705c95a536fc6a371437724e7b68d)
---
solr/solr-ref-guide/modules/query-guide/pages/text-to-vector.adoc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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]