Skip to content

Commit

Permalink
Generate en docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Milvus-doc-bot authored and Milvus-doc-bot committed Feb 5, 2025
1 parent 388fc5b commit 7cb116a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"codeList":["filter = 'status == \"active\"'​\n\n","filter = 'status != \"inactive\"'​\n\n","filter = 'age > 30'​\n\n","filter = 'price < 100'​\n\n","filter = 'rating >= 4'​\n\n","filter = 'discount <= 10'​\n\n","filter = 'color in [\"red\", \"green\", \"blue\"]'​\n\n","filter = 'name LIKE \"Prod%\"'​\n\n","filter = 'name LIKE \"%XYZ\"'​\n\n","filter = 'name LIKE \"%Pro%\"'​\n\n","filter = 'total == base_price + tax'​\n\n","filter = 'quantity - quantity_sold > 50'​\n\n","filter = 'price * quantity > 1000'​\n\n","filter = 'total_price / quantity < 50'​\n\n","filter = 'id % 2 == 0'​\n\n","filter = 'price ** 2 > 1000'​\n\n","filter = 'price > 100 AND stock > 50'​\n\n","filter = 'color == \"red\" OR color == \"blue\"'​\n\n","filter = 'NOT color == \"green\"'​\n\n","filter = 'product[\"price\"] > 1000'​\n\n","filter = 'history_temperatures[0] > 30'​\n\n"],"headingContent":"Basic Operators​","anchorList":[{"label":"Basic Operators​","href":"Basic-Operators​","type":1,"isActive":false},{"label":"Comparison operators​","href":"Comparison-operators​","type":2,"isActive":false},{"label":"Range operators​","href":"Range-operators​","type":2,"isActive":false},{"label":"Arithmetic Operators​","href":"Arithmetic-Operators​","type":2,"isActive":false},{"label":"Logical Operators​","href":"Logical-Operators​","type":2,"isActive":false},{"label":"Tips on Using Basic Operators with JSON and ARRAY Fields​","href":"Tips-on-Using-Basic-Operators-with-JSON-and-ARRAY-Fields​","type":2,"isActive":false},{"label":"Conclusion​","href":"Conclusion​","type":2,"isActive":false}]}
{"codeList":["filter = 'rating >= 4'​\n\n","filter = 'discount <= 10'​\n\n","filter = 'color in [\"red\", \"green\", \"blue\"]'​\n\n","filter = 'name LIKE \"Prod%\"'​\n\n","filter = 'name LIKE \"%XYZ\"'​\n\n","filter = 'name LIKE \"%Pro%\"'​\n\n","filter = 'total == base_price + tax'​\n\n","filter = 'quantity - quantity_sold > 50'​\n\n","filter = 'price * quantity > 1000'​\n\n","filter = 'total_price / quantity < 50'​\n\n","filter = 'id % 2 == 0'​\n\n","filter = 'price ** 2 > 1000'​\n\n","filter = 'price > 100 AND stock > 50'​\n\n","filter = 'color == \"red\" OR color == \"blue\"'​\n\n","filter = 'NOT color == \"green\"'​\n\n","filter = 'product[\"price\"] > 1000'​\n\n","filter = 'history_temperatures[0] > 30'​\n\n"],"headingContent":"Basic Operators​","anchorList":[{"label":"Basic Operators​","href":"Basic-Operators​","type":1,"isActive":false},{"label":"Comparison operators​","href":"Comparison-operators​","type":2,"isActive":false},{"label":"Range operators​","href":"Range-operators​","type":2,"isActive":false},{"label":"Arithmetic Operators​","href":"Arithmetic-Operators​","type":2,"isActive":false},{"label":"Logical Operators​","href":"Logical-Operators​","type":2,"isActive":false},{"label":"Tips on Using Basic Operators with JSON and ARRAY Fields​","href":"Tips-on-Using-Basic-Operators-with-JSON-and-ARRAY-Fields​","type":2,"isActive":false},{"label":"Conclusion​","href":"Conclusion​","type":2,"isActive":false}]}
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,11 @@ title: Basic Operators
<li><p><code translate="no">&gt;=</code> (Greater than or equal to)​</p></li>
<li><p><code translate="no">&lt;=</code> (Less than or equal to)​</p></li>
</ul>
<h3 id="Example-1-Filtering-with-Equal-To-​" class="common-anchor-header">Example 1: Filtering with Equal To (<code translate="no">==</code>)​</h3><p>Assume you have a field named <code translate="no">status</code> and you want to find all entities where <code translate="no">status</code> is &quot;active&quot;. You can use the equality operator <code translate="no">==</code>:​</p>
<pre><code translate="no" class="language-python"><span class="hljs-built_in">filter</span> = <span class="hljs-string">&#x27;status == &quot;active&quot;&#x27;</span>​

<button class="copy-code-btn"></button></code></pre>
<h3 id="Example-2-Filtering-with-Not-Equal-To-​" class="common-anchor-header">Example 2: Filtering with Not Equal To (<code translate="no">!=</code>)​</h3><p>To find entities where <code translate="no">status</code> is not &quot;inactive&quot;:​</p>
<pre><code translate="no" class="language-python"><span class="hljs-built_in">filter</span> = <span class="hljs-string">&#x27;status != &quot;inactive&quot;&#x27;</span>​

<button class="copy-code-btn"></button></code></pre>
<h3 id="Example-3-Filtering-with-Greater-Than-​" class="common-anchor-header">Example 3: Filtering with Greater Than (<code translate="no">&gt;</code>)​</h3><p>If you want to find all entities with an <code translate="no">age</code> greater than 30:​</p>
<pre><code translate="no" class="language-python"><span class="hljs-built_in">filter</span> = <span class="hljs-string">&#x27;age &gt; 30&#x27;</span>​

<button class="copy-code-btn"></button></code></pre>
<h3 id="Example-4-Filtering-with-Less-Than-​" class="common-anchor-header">Example 4: Filtering with Less Than (<code translate="no">&lt;</code>)​</h3><p>To find entities where <code translate="no">price</code> is less than 100:​</p>
<pre><code translate="no" class="language-python"><span class="hljs-built_in">filter</span> = <span class="hljs-string">&#x27;price &lt; 100&#x27;</span>​

<button class="copy-code-btn"></button></code></pre>
<h3 id="Example-5-Filtering-with-Greater-Than-or-Equal-To-​" class="common-anchor-header">Example 5: Filtering with Greater Than or Equal To (<code translate="no">&gt;=</code>)​</h3><p>If you want to find all entities with <code translate="no">rating</code> greater than or equal to 4:​</p>
<h3 id="Example-1-Filtering-with-Greater-Than-or-Equal-To-​" class="common-anchor-header">Example 1: Filtering with Greater Than or Equal To (<code translate="no">&gt;=</code>)​</h3><p>If you want to find all entities with <code translate="no">rating</code> greater than or equal to 4:​</p>
<pre><code translate="no" class="language-python"><span class="hljs-built_in">filter</span> = <span class="hljs-string">&#x27;rating &gt;= 4&#x27;</span>​

<button class="copy-code-btn"></button></code></pre>
<h3 id="Example-6-Filtering-with-Less-Than-or-Equal-To-​" class="common-anchor-header">Example 6: Filtering with Less Than or Equal To (<code translate="no">&lt;=</code>)​</h3><p>To find entities with <code translate="no">discount</code> less than or equal to 10%:​</p>
<h3 id="Example-2-Filtering-with-Less-Than-or-Equal-To-​" class="common-anchor-header">Example 2: Filtering with Less Than or Equal To (<code translate="no">&lt;=</code>)​</h3><p>To find entities with <code translate="no">discount</code> less than or equal to 10%:​</p>
<pre><code translate="no" class="language-python"><span class="hljs-built_in">filter</span> = <span class="hljs-string">&#x27;discount &lt;= 10&#x27;</span>​

<button class="copy-code-btn"></button></code></pre>
Expand Down

0 comments on commit 7cb116a

Please sign in to comment.