Skip to content

Commit 4f60afe

Browse files
SOLR-17525: wrong model store in documentation
1 parent ee1e48d commit 4f60afe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

solr/solr-ref-guide/modules/query-guide/pages/text-to-vector.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,27 +218,27 @@ To upload the model in a `/path/myModel.json` file, please run:
218218

219219
[source,bash]
220220
----
221-
curl -XPUT 'http://localhost:8983/solr/techproducts/schema/vectorisation-model-store' --data-binary "@/path/myModel.json" -H 'Content-type:application/json'
221+
curl -XPUT 'http://localhost:8983/solr/techproducts/schema/text-to-vector-model-store' --data-binary "@/path/myModel.json" -H 'Content-type:application/json'
222222
----
223223

224224

225225
To view all models:
226226

227227
[source,text]
228-
http://localhost:8983/solr/techproducts/schema/vectorisation-model-store
228+
http://localhost:8983/solr/techproducts/schema/text-to-vector-model-store
229229

230230
To delete the `currentModel` model:
231231

232232
[source,bash]
233233
----
234-
curl -XDELETE 'http://localhost:8983/solr/techproducts/schema/vectorisation-model-store/currentModel'
234+
curl -XDELETE 'http://localhost:8983/solr/techproducts/schema/text-to-vector-model-store/currentModel'
235235
----
236236

237237

238238
To view the model you just uploaded please open the following URL in a browser:
239239

240240
[source,text]
241-
http://localhost:8983/solr/techproducts/schema/vectorisation-model-store
241+
http://localhost:8983/solr/techproducts/schema/text-to-vector-model-store
242242

243243
.Example: /path/myModel.json
244244
[source,json]

0 commit comments

Comments
 (0)