Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs-site/content/30.0/api/curation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ curl "http://localhost:8108/collections/curation_sets/curate_products/items/dyna
| diversity | no | Uses Maximum Marginal Relevance(MMR), diversifies the top 250 hits based on pre-defined similarity metric |
| diversity.similarity_metric | yes | List of metric objects containing details of the `field`, `method` and the `weight` to be used to calculate the similarity value of two documents. |
| diversity.similarity_metric.field | yes | Name of the field. The field must be defined with `facet: true` for an array type or `sort: true` otherwise. |
| diversity.similarity_metric.method | yes | Method to be used to calculate the similarity of the documents. `equality` checks for an exact match of the field value(s) and `jaccard` computes the [Jaccard_index](https://en.wikipedia.org/wiki/Jaccard_index) using the values of the field. `equality` can be used for both array and single type fields but `jacaard` can only be used with an array type field. |
| diversity.similarity_metric.method | yes | Method to be used to calculate the similarity of the documents. `equality` checks for an exact match of the field value(s) and `jaccard` computes the [Jaccard_index](https://en.wikipedia.org/wiki/Jaccard_index) using the values of the field. `equality` can be used for both array and single type fields but `jacaard` can only be used with an array type field. `vector_distance` computes similarity of two documents using the vector field. |
| diversity.similarity_metric.weight | yes | Weight of this field in calculating the total similarity value. |

### Using overrides with scoped API keys
Expand Down