Changes

Jump to navigation Jump to search
393 bytes added ,  01:18, 8 September 2017
update with fix; how to delete indexes using curl
[centos@ip-10-0-50-189 .deploy-meza]$ tail /opt/data-meza/logs/search-index/demo.2017-09-07_13:15:01.log
Inferring index identifier...error
Looks like the index has more than one identifier. </pre><span style="background-color:#c1f749;">You should delete allbut the one of them currently active. Here is the list: wiki_demo_content,wiki_demo_content_first</span><pre>
Notice: Undefined index: HTTP_HOST in /opt/htdocs/mediawiki/LocalSettings.php on line 219
******* Elastic Search build index complete! *******
</pre>
''Emphasis added''
 
===SOLVED===
You can delete the unwanted index like this with [[curl]]:
<source lang="bash>
curl -XDELETE "http://localhost:9200/wiki_cod_content"
</source>
 
See more about deleting wikis and all indexes at https://github.com/freephile/meza/blob/6658c795a4b5e5b1a5afcb05c62cf0bcc2d0203b/src/scripts/delete.wikis.sh
{{References}}
[[Category:Search]]
4,558

edits

Navigation menu