url - Escape colon : in solr collections API call -
i using api call create collection in solr , write core.properties file.
http://localhost:8983/solr/admin/collections?action=create&name=s_10_customer&numshards=3&replicationfactor=2&maxshardspernode=7&property.my.db.url=jdbc:postgresql:localhost:5432/testdb&property.my.db.user=alex&property.my.db.pass=alex1234 it create collection , writes file desired 1 line written wrongly is
my.db.url=jdbc\:postgresql\:localhost\:5432/testdb which should be
my.db.url=jdbc:postgresql:localhost:5432/testdb initially thought need escape character have tried using %3a instead of : same thing. tried using /: , : , //: , /:/ none of work.
could tell me put in url behave correctly.
Comments
Post a Comment