<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>elastic search &#8211; Selman Tunc</title>
	<atom:link href="https://selmantunc.com.tr/tag/elastic-search/feed/" rel="self" type="application/rss+xml" />
	<link>https://selmantunc.com.tr</link>
	<description></description>
	<lastBuildDate>Tue, 13 Feb 2018 19:49:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://selmantunc.com.tr/wp-content/uploads/2023/07/cropped-tumblr_inline_oglumuMbgO1tyldvk_540-150x150-1-32x32.jpg</url>
	<title>elastic search &#8211; Selman Tunc</title>
	<link>https://selmantunc.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Elastic Search Notları</title>
		<link>https://selmantunc.com.tr/uncategorized/elastic-search-notlari/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 13 Feb 2018 19:49:11 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[elastic]]></category>
		<category><![CDATA[elastic search]]></category>
		<category><![CDATA[elasticsearch]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/02/13/elastic-search-notlari/</guid>

					<description><![CDATA[TÜm indexleri silmek  curl -XDELETE ‘http://localhost:9200/*’  #delete index:  curl -XDELETE &#8216;localhost:9200/index_name&#8217;  #delete all indices:   curl -XDELETE &#8216;localhost:9200/_all&#8217;  #delete document :   curl -XDELETE &#8216;localhost:9200/index_name/type_name/document_id’ sudo service elasticsearch status curl -XGET &#8220;http://localhost:9200/_cluster/health?pretty=true&#8221; curl &#8220;localhost:9200/_nodes/settings?pretty=true&#8221;&#8230;]]></description>
										<content:encoded><![CDATA[<p>TÜm indexleri silmek </p>
<p>

curl -XDELETE ‘http://localhost:9200/*’</p>
<p> #delete index: </p>
<p>curl -XDELETE &#8216;localhost:9200/index_name&#8217; </p>
<p>#delete all indices: </p>
<p> curl -XDELETE &#8216;localhost:9200/_all&#8217; </p>
<p>#delete document   : </p>
<p> curl -XDELETE &#8216;localhost:9200/index_name/type_name/document_id’</p>
<p>

<br><b>sudo service elasticsearch status</b></p>
<p>curl -XGET &#8220;http://localhost:9200/_cluster/health?pretty=true&#8221;</p>
<p>curl &#8220;localhost:9200/_nodes/settings?pretty=true&#8221;</p>
<p><b>Elastic Ubuntu remove </b></p>
<p>sudo apt-get –purge autoremove elasticsearch<br></p>
<p>sudo rm -rf /var/lib/elasticsearch/<br>sudo rm -rf /etc/elasticsearch<br></p>
<h2>Remove Kibana</h2>
<p><b>sudo apt-get install –reinstall kibana<br>sudo apt-get remove kibana</b></p>
<p>–

single remove without purge<br></p>
<p><b>sudo apt-get remove kibana</b>
<br></p>
<p>

force installing and removing<br><b>sudo apt-get -f install<br>sudo apt-get remove –purge kibana</b></p>
<p>

force removing by <code>dpkg</code>
<br><br><b>

sudo dpkg -r –force kibana</b>
<br></p>
<h2>uzak sunucuya erişim yapılmazsa </h2>
<p><i>nano /etc/elasticsearch/elasticsearch.yml</i>
<br></p>
<p>Starting with ES 2.0, the elasticsearch process only <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_network_changes.html#_bind_to_localhost">binds to localhost</a>, which explains why you can query ES from inside but not from the outside.</p>
<p>You need to change the following setting in your <code>elasticsearch.yml</code> configuration file:</p>
<pre><code>network.host: 0.0.0.0</code></pre>
<p><i>sudo service elasticsearch restart

</i></p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
