Doc updates

This commit is contained in:
Madhavan Sridharan
2024-05-13 17:23:26 -04:00
parent 61d0a017e8
commit 6a20e8da07
3 changed files with 5 additions and 7 deletions

View File

@@ -117,8 +117,7 @@ public abstract class QdrantBaseOpDispenser<T> extends BaseOpDispenser<QdrantBas
case "is_null" -> mustClauseList.add(getIsNullCondition(filterFields)); case "is_null" -> mustClauseList.add(getIsNullCondition(filterFields));
case "has_id" -> mustClauseList.add(getHasIdCondition(filterFields)); case "has_id" -> mustClauseList.add(getHasIdCondition(filterFields));
case "nested" -> mustClauseList.add(getNestedCondition(filterFields)); case "nested" -> mustClauseList.add(getNestedCondition(filterFields));
default -> default -> logger.warn("Filter condition '{}' is not supported", filterFields.get("condition"));
logger.warn("Filter condition '{}' is not supported", filterFields.get("condition").toString());
} }
} }
case "must_not" -> { case "must_not" -> {
@@ -136,8 +135,7 @@ public abstract class QdrantBaseOpDispenser<T> extends BaseOpDispenser<QdrantBas
case "is_empty" -> mustNotClauseList.add(getIsEmptyCondition(filterFields)); case "is_empty" -> mustNotClauseList.add(getIsEmptyCondition(filterFields));
case "is_null" -> mustNotClauseList.add(getIsNullCondition(filterFields)); case "is_null" -> mustNotClauseList.add(getIsNullCondition(filterFields));
case "has_id" -> mustClauseList.add(getHasIdCondition(filterFields)); case "has_id" -> mustClauseList.add(getHasIdCondition(filterFields));
default -> default -> logger.warn("Filter condition '{}' is not supported", filterFields.get("condition"));
logger.warn("Filter condition '{}' is not supported", filterFields.get("condition").toString());
} }
} }
case "should" -> { case "should" -> {
@@ -154,8 +152,7 @@ public abstract class QdrantBaseOpDispenser<T> extends BaseOpDispenser<QdrantBas
case "is_empty" -> shouldClauseList.add(getIsEmptyCondition(filterFields)); case "is_empty" -> shouldClauseList.add(getIsEmptyCondition(filterFields));
case "is_null" -> shouldClauseList.add(getIsNullCondition(filterFields)); case "is_null" -> shouldClauseList.add(getIsNullCondition(filterFields));
case "has_id" -> mustClauseList.add(getHasIdCondition(filterFields)); case "has_id" -> mustClauseList.add(getHasIdCondition(filterFields));
default -> default -> logger.warn("Filter condition '{}' is not supported", filterFields.get("condition"));
logger.warn("Filter condition '{}' is not supported", filterFields.get("condition").toString());
} }
} }
default -> logger.error("Clause '{}' is not supported", filterFields.get("clause")); default -> logger.error("Clause '{}' is not supported", filterFields.get("clause"));

View File

@@ -195,8 +195,8 @@ blocks:
count_points_op: count_points_op:
count_points: "TEMPLATE(collection)" count_points: "TEMPLATE(collection)"
exact: true exact: true
filter:
# More complex filtering logic could be provided as follows # More complex filtering logic could be provided as follows
#filter:
# - clause: "must" # - clause: "must"
# condition: "match" # condition: "match"
# key: "field1" # key: "field1"

View File

@@ -33,6 +33,7 @@ The following are a couple high level API operations.
* Count Points * Count Points
* Drop Collection * Drop Collection
* Search Points (vectors) * Search Points (vectors)
* Create Payload Index
## Examples ## Examples