<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Database :: Ay Docs</title>
    <link>https://ops.docs.72602.space/using/database/index.html</link>
    <description>Elastic Search DSL FAQ Redis 连接报 ‘Connection refused’ 排查步骤：&#xA;确认 Redis pod 在运行：&#xA;kubectl -n storage get pods -l app.kubernetes.io/instance=redis-shared 确认 Service 端点正常：&#xA;kubectl -n storage get endpoints redis-shared-master 从客户端 pod 内测试连通：&#xA;kubectl exec -it &lt;pod&gt; -- redis-cli -h redis-shared-master.storage -a &lt;password&gt; ping 如果外部应用连不上，确认使用的是正确的 namespace：&#xA;redis-shared-master.storage.svc.cluster.local:6379 如果密码不对，从 secret 获取：&#xA;kubectl -n storage get secret redis-shared-credentials -o jsonpath=&#39;{.data.redis-password}&#39; | base64 -d PostgreSQL 连接报 ‘password authentication failed’ 确认密码 secret 存在：</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 07 Oct 2024 19:58:45 +0800</lastBuildDate>
    <atom:link href="https://ops.docs.72602.space/using/database/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Elastic Search DSL</title>
      <link>https://ops.docs.72602.space/using/database/elastic_search/index.html</link>
      <pubDate>Mon, 07 Oct 2024 19:58:45 +0800</pubDate>
      <guid>https://ops.docs.72602.space/using/database/elastic_search/index.html</guid>
      <description>Basic Query exist query normal advanced Returns documents that contain an indexed value for a field.&#xA;GET /_search { &#34;query&#34;: { &#34;exists&#34;: { &#34;field&#34;: &#34;user&#34; } } } The following search returns documents that are missing an indexed value for the user.id field.&#xA;GET /_search { &#34;query&#34;: { &#34;bool&#34;: { &#34;must_not&#34;: { &#34;exists&#34;: { &#34;field&#34;: &#34;user.id&#34; } } } } } fuzz query normal advanced Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.</description>
    </item>
  </channel>
</rss>