File tree Expand file tree Collapse file tree 2 files changed +4
-31
lines changed
Expand file tree Collapse file tree 2 files changed +4
-31
lines changed Original file line number Diff line number Diff line change 100100 },
101101 {
102102 "cell_type" : " code" ,
103- "execution_count" : 27 ,
103+ "execution_count" : null ,
104104 "metadata" : {},
105- "outputs" : [
106- {
107- "name" : " stdout" ,
108- "output_type" : " stream" ,
109- "text" : [
110- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m Indices:\n " ,
111- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 1. float64_session\n " ,
112- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 2. float64_cache\n " ,
113- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 3. float16_cache\n " ,
114- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 4. float32_session\n " ,
115- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 5. float16_session\n " ,
116- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 6. bfloat_session\n " ,
117- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 7. float32_cache\n " ,
118- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 8. bfloat_cache\n " ,
119- " \u001b [32m11:03:03\u001b [0m \u001b [34m[RedisVL]\u001b [0m \u001b [1;30mINFO\u001b [0m 9. user_queries\n "
120- ]
121- }
122- ],
105+ "outputs" : [],
123106 "source" : [
124107 " # use the CLI to see the created index\n " ,
125108 " !rvl index listall"
Original file line number Diff line number Diff line change 1111
1212
1313class Inclusive (str , Enum ):
14- """Enumeration for distance aggregation methods. """
14+ """Enum for valid inclusive options """
1515
1616 BOTH = "both"
1717 """Inclusive of both sides of range (default)"""
@@ -421,17 +421,7 @@ def _format_inclusive_between(
421421 def between (
422422 self , start : int , end : int , inclusive : str = "both"
423423 ) -> "FilterExpression" :
424- """Create a Numeric equality filter expression.
425-
426- Args:
427- other (int): The value to filter on.
428-
429- .. code-block:: python
430-
431- from redisvl.query.filter import Num
432- f = Num("zipcode") == 90210
433-
434- """
424+ """Operator for searching values between two numeric values."""
435425 inclusive = self ._validate_inclusive_string (inclusive )
436426 expression = self ._format_inclusive_between (inclusive , start , end )
437427
You can’t perform that action at this time.
0 commit comments