-
Notifications
You must be signed in to change notification settings - Fork 23
Support notes
Madhav Sharan edited this page May 26, 2016
·
3 revisions
Khooshe clusters are computed on geo results of top "MAX_SEARCH_RESULT" results. Configure it here - https://github.com/MBoustani/GeoParser/blob/1908545f0a005d8d302b4c61919b6beb8304362c/geoparser_app/views.py#L48
Use delete_core.py to soft delete a configured index from geoparser.
python delete_core.py [domain] [path to indexed path]
Example -
python delete_core.py test http://host:port/core
In case there is older version of geoparser and after updating code it's missing new configuration they can be updated using below update command.
curl "http://localhost:8983/solr/admin/update/json?commit=true" -H 'Content-type:application/json' -d '
{
"add": {
"doc": {
"id": "test",
"username" : {"set":["username1"]},
"password" : ["password1"]
}
}
}
'
Field name and type can be seen in solr_admin.py