Skip to content

Commit

Permalink
DOCS: Fix match query import path & link in index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sdqri committed Aug 22, 2024
1 parent 8562b67 commit 9118ea5
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ And here’s the same query using effdsl:
import (
es "github.com/elastic/go-elasticsearch/v8"

"github.com/sdqri/effdsl"
mq "github.com/sdqri/effdsl/queries/matchquery"
"github.com/sdqri/effdsl/v2"
mq "github.com/sdqri/effdsl/v2/queries/matchquery"
)

query, err := effdsl.Define(
Expand Down
8 changes: 4 additions & 4 deletions docs-src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ And here’s the same query using effdsl:
import (
es "github.com/elastic/go-elasticsearch/v8"

"github.com/sdqri/effdsl"
mq "github.com/sdqri/effdsl/queries/matchquery"
"github.com/sdqri/effdsl/v2"
mq "github.com/sdqri/effdsl/v2/queries/matchquery"
)

query, err := effdsl.Define(
Expand All @@ -85,10 +85,10 @@ res, err := es.Search(
)
```

For more examples and details on query parameters, visit the [documentation](https://sdqri.github.io/effdsl).
For more examples and details on query parameters, visit the documentation.

## 🤝 Contribution
Contributions are welcome! Whether it's fixing a bug 🐛, adding a new feature 🌟, or improving the documentation 📚, your help is appreciated. Please check out the CONTRIBUTING.md guide to get started.

## 📜 License
This project is licensed under the **MIT License**. For more details, see the [License](LICENSE.md) file. 📄 ( **In short:** You can use, modify, and distribute this software freely as long as you include the original copyright notice and license. The software is provided "as-is" without warranties or guarantees.)
This project is licensed under the **MIT License**. For more details, see the [License](https://github.com/sdqri/effdsl/blob/master/LICENSE) file. 📄 ( **In short:** You can use, modify, and distribute this software freely as long as you include the original copyright notice and license. The software is provided "as-is" without warranties or guarantees.)
4 changes: 2 additions & 2 deletions docs-src/docs/match_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ A match query returns documents that match a provided text, number, date, or boo
import (
es "github.com/elastic/go-elasticsearch/v8"

"github.com/sdqri/effdsl"
mq "github.com/sdqri/effdsl/queries/matchquery"
"github.com/sdqri/effdsl/v2"
mq "github.com/sdqri/effdsl/v2/queries/matchquery"
)

query, err := effdsl.Define(
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1196,8 +1196,8 @@ <h3 id="examples">🔍 Examples:</h3>
<div class="language-go highlight"><pre><span></span><code><span id="__span-3-1"><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="kn">import</span><span class="w"> </span><span class="p">(</span>
</span><span id="__span-3-2"><a id="__codelineno-3-2" name="__codelineno-3-2" href="#__codelineno-3-2"></a><span class="w"> </span><span class="nx">es</span><span class="w"> </span><span class="s">&quot;github.com/elastic/go-elasticsearch/v8&quot;</span>
</span><span id="__span-3-3"><a id="__codelineno-3-3" name="__codelineno-3-3" href="#__codelineno-3-3"></a>
</span><span id="__span-3-4"><a id="__codelineno-3-4" name="__codelineno-3-4" href="#__codelineno-3-4"></a><span class="w"> </span><span class="s">&quot;github.com/sdqri/effdsl&quot;</span>
</span><span id="__span-3-5"><a id="__codelineno-3-5" name="__codelineno-3-5" href="#__codelineno-3-5"></a><span class="w"> </span><span class="nx">mq</span><span class="w"> </span><span class="s">&quot;github.com/sdqri/effdsl/queries/matchquery&quot;</span>
</span><span id="__span-3-4"><a id="__codelineno-3-4" name="__codelineno-3-4" href="#__codelineno-3-4"></a><span class="w"> </span><span class="s">&quot;github.com/sdqri/effdsl/v2&quot;</span>
</span><span id="__span-3-5"><a id="__codelineno-3-5" name="__codelineno-3-5" href="#__codelineno-3-5"></a><span class="w"> </span><span class="nx">mq</span><span class="w"> </span><span class="s">&quot;github.com/sdqri/effdsl/v2/queries/matchquery&quot;</span>
</span><span id="__span-3-6"><a id="__codelineno-3-6" name="__codelineno-3-6" href="#__codelineno-3-6"></a><span class="p">)</span>
</span><span id="__span-3-7"><a id="__codelineno-3-7" name="__codelineno-3-7" href="#__codelineno-3-7"></a>
</span><span id="__span-3-8"><a id="__codelineno-3-8" name="__codelineno-3-8" href="#__codelineno-3-8"></a><span class="nx">query</span><span class="p">,</span><span class="w"> </span><span class="nx">err</span><span class="w"> </span><span class="o">:=</span><span class="w"> </span><span class="nx">effdsl</span><span class="p">.</span><span class="nx">Define</span><span class="p">(</span>
Expand All @@ -1210,11 +1210,11 @@ <h3 id="examples">🔍 Examples:</h3>
</span><span id="__span-3-15"><a id="__codelineno-3-15" name="__codelineno-3-15" href="#__codelineno-3-15"></a><span class="w"> </span><span class="nx">es</span><span class="p">.</span><span class="nx">Search</span><span class="p">.</span><span class="nx">WithBody</span><span class="p">(</span><span class="nx">strings</span><span class="p">.</span><span class="nx">NewReader</span><span class="p">(</span><span class="nx">query</span><span class="p">)),</span>
</span><span id="__span-3-16"><a id="__codelineno-3-16" name="__codelineno-3-16" href="#__codelineno-3-16"></a><span class="p">)</span>
</span></code></pre></div>
<p>For more examples and details on query parameters, visit the <a href="https://sdqri.github.io/effdsl">documentation</a>.</p>
<p>For more examples and details on query parameters, visit the documentation.</p>
<h2 id="contribution">🤝 Contribution</h2>
<p>Contributions are welcome! Whether it's fixing a bug 🐛, adding a new feature 🌟, or improving the documentation 📚, your help is appreciated. Please check out the CONTRIBUTING.md guide to get started.</p>
<h2 id="license">📜 License</h2>
<p>This project is licensed under the <strong>MIT License</strong>. For more details, see the <a href="LICENSE.md">License</a> file. 📄 ( <strong>In short:</strong> You can use, modify, and distribute this software freely as long as you include the original copyright notice and license. The software is provided "as-is" without warranties or guarantees.)</p>
<p>This project is licensed under the <strong>MIT License</strong>. For more details, see the <a href="https://github.com/sdqri/effdsl/blob/master/LICENSE">License</a> file. 📄 ( <strong>In short:</strong> You can use, modify, and distribute this software freely as long as you include the original copyright notice and license. The software is provided "as-is" without warranties or guarantees.)</p>



Expand Down
4 changes: 2 additions & 2 deletions docs/match_query/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1228,8 +1228,8 @@ <h3 id="example">Example</h3>
<div class="language-go highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="kn">import</span><span class="w"> </span><span class="p">(</span>
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span><span class="nx">es</span><span class="w"> </span><span class="s">&quot;github.com/elastic/go-elasticsearch/v8&quot;</span>
</span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a>
</span><span id="__span-0-4"><a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="w"> </span><span class="s">&quot;github.com/sdqri/effdsl&quot;</span>
</span><span id="__span-0-5"><a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="w"> </span><span class="nx">mq</span><span class="w"> </span><span class="s">&quot;github.com/sdqri/effdsl/queries/matchquery&quot;</span>
</span><span id="__span-0-4"><a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="w"> </span><span class="s">&quot;github.com/sdqri/effdsl/v2&quot;</span>
</span><span id="__span-0-5"><a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="w"> </span><span class="nx">mq</span><span class="w"> </span><span class="s">&quot;github.com/sdqri/effdsl/v2/queries/matchquery&quot;</span>
</span><span id="__span-0-6"><a id="__codelineno-0-6" name="__codelineno-0-6" href="#__codelineno-0-6"></a><span class="p">)</span>
</span><span id="__span-0-7"><a id="__codelineno-0-7" name="__codelineno-0-7" href="#__codelineno-0-7"></a>
</span><span id="__span-0-8"><a id="__codelineno-0-8" name="__codelineno-0-8" href="#__codelineno-0-8"></a><span class="nx">query</span><span class="p">,</span><span class="w"> </span><span class="nx">err</span><span class="w"> </span><span class="o">:=</span><span class="w"> </span><span class="nx">effdsl</span><span class="p">.</span><span class="nx">Define</span><span class="p">(</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,117 +2,117 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://sdqri.org/effdsl/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/api_coverage/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/bool_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/boosting_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/constant_score/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/dis_max_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/exists_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/fuzzy_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/ids_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/match_bool_prefix/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/match_phrase_prefix/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/match_phrase_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/match_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/prefix_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/query_string/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/range_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/regexp_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/release_notes/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/simple_query_string/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/term_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/terms_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/terms_set_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://sdqri.org/effdsl/wildcard_query/</loc>
<lastmod>2024-08-21</lastmod>
<lastmod>2024-08-22</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.

0 comments on commit 9118ea5

Please sign in to comment.