mirror of
https://github.com/josejuanmartinez/libreCatastro.git
synced 2024-06-01 22:35:29 +02:00
Adds initialize_elasticsearch script to configurate the ES index
This commit is contained in:
parent
08b84b97a6
commit
c29de7faf2
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
5
initialize_elasticsearch.py
Normal file
5
initialize_elasticsearch.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
from src.utils.elasticsearch_utils import ElasticSearchUtils
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
ElasticSearchUtils.remove_index()
|
||||||
|
ElasticSearchUtils.create_index()
|
Loading…
Reference in New Issue
Block a user