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

View File

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

View File

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