algolia 3.27.0 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/do-not-edit-this-repository.yml +1 -1
- data/.github/workflows/release.yml +2 -2
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +11 -11
- data/lib/algolia/api/abtesting_client.rb +13 -13
- data/lib/algolia/api/abtesting_v3_client.rb +13 -13
- data/lib/algolia/api/analytics_client.rb +69 -69
- data/lib/algolia/api/composition_client.rb +17 -17
- data/lib/algolia/api/ingestion_client.rb +15 -15
- data/lib/algolia/api/insights_client.rb +13 -13
- data/lib/algolia/api/monitoring_client.rb +12 -12
- data/lib/algolia/api/personalization_client.rb +13 -13
- data/lib/algolia/api/query_suggestions_client.rb +13 -13
- data/lib/algolia/api/recommend_client.rb +13 -13
- data/lib/algolia/api/search_client.rb +41 -41
- data/lib/algolia/models/abtesting/ab_test.rb +0 -2
- data/lib/algolia/models/abtesting/ab_test_configuration.rb +0 -2
- data/lib/algolia/models/abtesting/ab_test_response.rb +1 -3
- data/lib/algolia/models/abtesting/ab_tests_variant.rb +0 -2
- data/lib/algolia/models/abtesting/ab_tests_variant_search_params.rb +0 -2
- data/lib/algolia/models/abtesting/add_ab_tests_request.rb +0 -2
- data/lib/algolia/models/abtesting/add_ab_tests_variant.rb +0 -1
- data/lib/algolia/models/abtesting/currency.rb +0 -2
- data/lib/algolia/models/abtesting/empty_search.rb +0 -2
- data/lib/algolia/models/abtesting/empty_search_filter.rb +0 -2
- data/lib/algolia/models/abtesting/error_base.rb +0 -2
- data/lib/algolia/models/abtesting/estimate_ab_test_request.rb +0 -2
- data/lib/algolia/models/abtesting/estimate_ab_test_response.rb +0 -2
- data/lib/algolia/models/abtesting/estimate_configuration.rb +0 -2
- data/lib/algolia/models/abtesting/filter_effects.rb +0 -2
- data/lib/algolia/models/abtesting/list_ab_tests_response.rb +0 -2
- data/lib/algolia/models/abtesting/minimum_detectable_effect.rb +0 -2
- data/lib/algolia/models/abtesting/outliers.rb +0 -2
- data/lib/algolia/models/abtesting/outliers_filter.rb +0 -2
- data/lib/algolia/models/abtesting/schedule_ab_test_response.rb +0 -2
- data/lib/algolia/models/abtesting/schedule_ab_tests_request.rb +0 -2
- data/lib/algolia/models/abtesting/variant.rb +0 -2
- data/lib/algolia/models/abtesting-v3/ab_test.rb +0 -2
- data/lib/algolia/models/abtesting-v3/ab_test_configuration.rb +0 -2
- data/lib/algolia/models/abtesting-v3/ab_test_response.rb +1 -3
- data/lib/algolia/models/abtesting-v3/ab_tests_variant.rb +0 -2
- data/lib/algolia/models/abtesting-v3/ab_tests_variant_search_params.rb +0 -2
- data/lib/algolia/models/abtesting-v3/add_ab_tests_request.rb +0 -2
- data/lib/algolia/models/abtesting-v3/add_ab_tests_variant.rb +0 -1
- data/lib/algolia/models/abtesting-v3/create_metric.rb +0 -2
- data/lib/algolia/models/abtesting-v3/empty_search_filter.rb +0 -2
- data/lib/algolia/models/abtesting-v3/error_base.rb +0 -2
- data/lib/algolia/models/abtesting-v3/estimate_ab_test_request.rb +0 -2
- data/lib/algolia/models/abtesting-v3/estimate_ab_test_response.rb +0 -2
- data/lib/algolia/models/abtesting-v3/estimate_configuration.rb +0 -2
- data/lib/algolia/models/abtesting-v3/filter_effects.rb +0 -2
- data/lib/algolia/models/abtesting-v3/list_ab_tests_response.rb +0 -2
- data/lib/algolia/models/abtesting-v3/metric_date.rb +0 -2
- data/lib/algolia/models/abtesting-v3/metric_metadata.rb +0 -2
- data/lib/algolia/models/abtesting-v3/metric_result.rb +0 -2
- data/lib/algolia/models/abtesting-v3/metrics_filter.rb +0 -2
- data/lib/algolia/models/abtesting-v3/minimum_detectable_effect.rb +0 -2
- data/lib/algolia/models/abtesting-v3/outliers_filter.rb +0 -2
- data/lib/algolia/models/abtesting-v3/schedule_ab_test_response.rb +0 -2
- data/lib/algolia/models/abtesting-v3/schedule_ab_tests_request.rb +0 -2
- data/lib/algolia/models/abtesting-v3/timeseries.rb +0 -2
- data/lib/algolia/models/abtesting-v3/timeseries_variant.rb +0 -2
- data/lib/algolia/models/abtesting-v3/variant.rb +0 -2
- data/lib/algolia/models/abtesting-v3/variant_metadata.rb +0 -2
- data/lib/algolia/models/analytics/click_position.rb +0 -2
- data/lib/algolia/models/analytics/currency_code.rb +0 -2
- data/lib/algolia/models/analytics/daily_add_to_cart_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_average_clicks.rb +0 -2
- data/lib/algolia/models/analytics/daily_click_through_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_conversion_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_no_click_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_no_results_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_purchase_rates.rb +0 -2
- data/lib/algolia/models/analytics/daily_revenue.rb +0 -2
- data/lib/algolia/models/analytics/daily_searches.rb +0 -2
- data/lib/algolia/models/analytics/daily_searches_no_clicks.rb +0 -2
- data/lib/algolia/models/analytics/daily_searches_no_results.rb +0 -2
- data/lib/algolia/models/analytics/daily_users.rb +0 -2
- data/lib/algolia/models/analytics/error_base.rb +0 -2
- data/lib/algolia/models/analytics/get_add_to_cart_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_average_click_position_response.rb +0 -2
- data/lib/algolia/models/analytics/get_click_positions_response.rb +0 -2
- data/lib/algolia/models/analytics/get_click_through_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_conversion_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_no_click_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_no_results_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_purchase_rate_response.rb +0 -2
- data/lib/algolia/models/analytics/get_revenue.rb +0 -2
- data/lib/algolia/models/analytics/get_searches_count_response.rb +0 -2
- data/lib/algolia/models/analytics/get_searches_no_clicks_response.rb +0 -2
- data/lib/algolia/models/analytics/get_searches_no_results_response.rb +0 -2
- data/lib/algolia/models/analytics/get_status_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_countries_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filter_attribute.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filter_attributes_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filter_for_attribute.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filter_for_attribute_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filters_no_results_response.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filters_no_results_value.rb +0 -2
- data/lib/algolia/models/analytics/get_top_filters_no_results_values.rb +0 -2
- data/lib/algolia/models/analytics/get_top_hits_response.rb +0 -1
- data/lib/algolia/models/analytics/get_top_searches_response.rb +0 -1
- data/lib/algolia/models/analytics/get_users_count_response.rb +0 -2
- data/lib/algolia/models/analytics/top_country.rb +0 -2
- data/lib/algolia/models/analytics/top_hit.rb +0 -2
- data/lib/algolia/models/analytics/top_hit_with_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_hit_with_revenue_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_hits_response.rb +0 -2
- data/lib/algolia/models/analytics/top_hits_response_with_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_hits_response_with_revenue_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_search.rb +0 -2
- data/lib/algolia/models/analytics/top_search_with_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_search_with_revenue_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_searches_response.rb +0 -2
- data/lib/algolia/models/analytics/top_searches_response_with_analytics.rb +0 -2
- data/lib/algolia/models/analytics/top_searches_response_with_revenue_analytics.rb +0 -2
- data/lib/algolia/models/composition/around_precision.rb +0 -1
- data/lib/algolia/models/composition/around_radius.rb +0 -1
- data/lib/algolia/models/composition/banner.rb +0 -2
- data/lib/algolia/models/composition/banner_image.rb +0 -2
- data/lib/algolia/models/composition/banner_image_url.rb +0 -2
- data/lib/algolia/models/composition/banner_link.rb +0 -2
- data/lib/algolia/models/composition/base_injection_query_parameters.rb +6 -8
- data/lib/algolia/models/composition/batch_composition_action.rb +0 -1
- data/lib/algolia/models/composition/batch_params.rb +0 -2
- data/lib/algolia/models/composition/composition.rb +0 -2
- data/lib/algolia/models/composition/composition_behavior.rb +0 -2
- data/lib/algolia/models/composition/composition_id_ranking_info.rb +0 -2
- data/lib/algolia/models/composition/composition_rule.rb +0 -2
- data/lib/algolia/models/composition/composition_rule_consequence.rb +0 -2
- data/lib/algolia/models/composition/composition_rules_batch_params.rb +0 -2
- data/lib/algolia/models/composition/composition_run_applied_rules.rb +0 -2
- data/lib/algolia/models/composition/composition_run_search_response.rb +0 -2
- data/lib/algolia/models/composition/composition_source.rb +0 -2
- data/lib/algolia/models/composition/composition_source_search.rb +0 -2
- data/lib/algolia/models/composition/compositions_search_response.rb +0 -2
- data/lib/algolia/models/composition/condition.rb +0 -2
- data/lib/algolia/models/composition/dedup_positioning.rb +34 -0
- data/lib/algolia/models/composition/deduplication.rb +209 -0
- data/lib/algolia/models/composition/delete_composition_action.rb +0 -2
- data/lib/algolia/models/composition/delete_composition_rule_action.rb +0 -2
- data/lib/algolia/models/composition/distinct.rb +0 -1
- data/lib/algolia/models/composition/error_base.rb +0 -2
- data/lib/algolia/models/composition/exhaustive.rb +0 -2
- data/lib/algolia/models/composition/external.rb +0 -2
- data/lib/algolia/models/composition/external_injected_item.rb +0 -2
- data/lib/algolia/models/composition/external_injection.rb +0 -2
- data/lib/algolia/models/composition/external_source.rb +0 -2
- data/lib/algolia/models/composition/facet_filters.rb +0 -1
- data/lib/algolia/models/composition/facet_hits.rb +0 -2
- data/lib/algolia/models/composition/facet_ordering.rb +0 -2
- data/lib/algolia/models/composition/facet_stats.rb +0 -2
- data/lib/algolia/models/composition/facets.rb +0 -2
- data/lib/algolia/models/composition/get_task_response.rb +0 -2
- data/lib/algolia/models/composition/highlight_result.rb +0 -1
- data/lib/algolia/models/composition/highlight_result_option.rb +0 -2
- data/lib/algolia/models/composition/hit.rb +0 -2
- data/lib/algolia/models/composition/hit_metadata.rb +0 -2
- data/lib/algolia/models/composition/hit_ranking_info.rb +0 -2
- data/lib/algolia/models/composition/ignore_plurals.rb +0 -1
- data/lib/algolia/models/composition/injected_item.rb +0 -2
- data/lib/algolia/models/composition/injected_item_hits_metadata.rb +0 -2
- data/lib/algolia/models/composition/injected_item_metadata.rb +0 -2
- data/lib/algolia/models/composition/injected_item_source.rb +0 -1
- data/lib/algolia/models/composition/injection.rb +13 -6
- data/lib/algolia/models/composition/inside_bounding_box.rb +0 -1
- data/lib/algolia/models/composition/list_compositions_response.rb +0 -2
- data/lib/algolia/models/composition/main.rb +0 -2
- data/lib/algolia/models/composition/main_injection_query_parameters.rb +7 -9
- data/lib/algolia/models/composition/matched_geo_location.rb +0 -2
- data/lib/algolia/models/composition/multiple_batch_request.rb +0 -2
- data/lib/algolia/models/composition/multiple_batch_response.rb +0 -2
- data/lib/algolia/models/composition/numeric_filters.rb +0 -1
- data/lib/algolia/models/composition/optional_filters.rb +1 -2
- data/lib/algolia/models/composition/optional_words.rb +0 -1
- data/lib/algolia/models/composition/params.rb +6 -8
- data/lib/algolia/models/composition/personalization.rb +0 -2
- data/lib/algolia/models/composition/range.rb +0 -2
- data/lib/algolia/models/composition/redirect.rb +1 -3
- data/lib/algolia/models/composition/redirect_rule_index_data.rb +0 -2
- data/lib/algolia/models/composition/redirect_rule_index_metadata.rb +0 -2
- data/lib/algolia/models/composition/redirect_url.rb +0 -2
- data/lib/algolia/models/composition/remove_stop_words.rb +0 -1
- data/lib/algolia/models/composition/rendering_content.rb +0 -2
- data/lib/algolia/models/composition/request_body.rb +0 -2
- data/lib/algolia/models/composition/results_composition_info_response.rb +0 -2
- data/lib/algolia/models/composition/results_injected_item_applied_rules_info_response.rb +0 -2
- data/lib/algolia/models/composition/results_injected_item_info_response.rb +0 -2
- data/lib/algolia/models/composition/rules_batch_composition_action.rb +0 -1
- data/lib/algolia/models/composition/rules_multiple_batch_request.rb +0 -2
- data/lib/algolia/models/composition/rules_multiple_batch_response.rb +1 -3
- data/lib/algolia/models/composition/search.rb +0 -2
- data/lib/algolia/models/composition/search_composition_rules_params.rb +2 -4
- data/lib/algolia/models/composition/search_composition_rules_response.rb +0 -2
- data/lib/algolia/models/composition/search_for_facet_values_params.rb +0 -2
- data/lib/algolia/models/composition/search_for_facet_values_request.rb +0 -2
- data/lib/algolia/models/composition/search_for_facet_values_response.rb +0 -2
- data/lib/algolia/models/composition/search_for_facet_values_results.rb +0 -2
- data/lib/algolia/models/composition/search_response.rb +0 -2
- data/lib/algolia/models/composition/search_results_item.rb +1 -3
- data/lib/algolia/models/composition/search_source.rb +0 -2
- data/lib/algolia/models/composition/snippet_result.rb +0 -1
- data/lib/algolia/models/composition/snippet_result_option.rb +0 -2
- data/lib/algolia/models/composition/task_id_response.rb +1 -3
- data/lib/algolia/models/composition/time_range.rb +0 -2
- data/lib/algolia/models/composition/typo_tolerance.rb +1 -2
- data/lib/algolia/models/composition/value.rb +0 -2
- data/lib/algolia/models/composition/widgets.rb +0 -2
- data/lib/algolia/models/ingestion/auth_algolia.rb +0 -2
- data/lib/algolia/models/ingestion/auth_algolia_insights.rb +0 -2
- data/lib/algolia/models/ingestion/auth_algolia_insights_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_algolia_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_api_key.rb +0 -2
- data/lib/algolia/models/ingestion/auth_api_key_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_basic.rb +0 -2
- data/lib/algolia/models/ingestion/auth_basic_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_google_service_account.rb +0 -2
- data/lib/algolia/models/ingestion/auth_google_service_account_partial.rb +0 -2
- data/lib/algolia/models/ingestion/auth_input.rb +0 -1
- data/lib/algolia/models/ingestion/auth_input_partial.rb +0 -1
- data/lib/algolia/models/ingestion/auth_o_auth.rb +0 -2
- data/lib/algolia/models/ingestion/auth_o_auth_partial.rb +0 -2
- data/lib/algolia/models/ingestion/authentication.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_create.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_search.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_update.rb +0 -2
- data/lib/algolia/models/ingestion/authentication_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/big_commerce_channel.rb +0 -2
- data/lib/algolia/models/ingestion/big_commerce_metafield.rb +0 -2
- data/lib/algolia/models/ingestion/commercetools_custom_fields.rb +0 -2
- data/lib/algolia/models/ingestion/delete_response.rb +0 -2
- data/lib/algolia/models/ingestion/destination.rb +0 -2
- data/lib/algolia/models/ingestion/destination_create.rb +0 -2
- data/lib/algolia/models/ingestion/destination_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/destination_input.rb +0 -2
- data/lib/algolia/models/ingestion/destination_search.rb +0 -2
- data/lib/algolia/models/ingestion/destination_update.rb +0 -2
- data/lib/algolia/models/ingestion/destination_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/docker_streams.rb +0 -2
- data/lib/algolia/models/ingestion/docker_streams_input.rb +0 -2
- data/lib/algolia/models/ingestion/email_notifications.rb +0 -2
- data/lib/algolia/models/ingestion/error_base.rb +0 -2
- data/lib/algolia/models/ingestion/event.rb +0 -2
- data/lib/algolia/models/ingestion/list_authentications_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_destinations_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_events_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_sources_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_tasks_response.rb +0 -2
- data/lib/algolia/models/ingestion/list_tasks_response_v1.rb +0 -2
- data/lib/algolia/models/ingestion/list_transformations_response.rb +0 -2
- data/lib/algolia/models/ingestion/mapping_field_directive.rb +0 -2
- data/lib/algolia/models/ingestion/mapping_input.rb +0 -2
- data/lib/algolia/models/ingestion/mapping_kit_action.rb +0 -2
- data/lib/algolia/models/ingestion/notifications.rb +0 -2
- data/lib/algolia/models/ingestion/on_demand_trigger.rb +0 -2
- data/lib/algolia/models/ingestion/on_demand_trigger_input.rb +0 -2
- data/lib/algolia/models/ingestion/pagination.rb +0 -2
- data/lib/algolia/models/ingestion/platform_with_none.rb +0 -1
- data/lib/algolia/models/ingestion/policies.rb +0 -2
- data/lib/algolia/models/ingestion/push_task_payload.rb +0 -2
- data/lib/algolia/models/ingestion/push_task_records.rb +0 -2
- data/lib/algolia/models/ingestion/run.rb +0 -2
- data/lib/algolia/models/ingestion/run_list_response.rb +0 -2
- data/lib/algolia/models/ingestion/run_progress.rb +0 -2
- data/lib/algolia/models/ingestion/run_response.rb +0 -2
- data/lib/algolia/models/ingestion/run_source_payload.rb +0 -2
- data/lib/algolia/models/ingestion/run_source_response.rb +0 -2
- data/lib/algolia/models/ingestion/run_task_payload.rb +0 -2
- data/lib/algolia/models/ingestion/schedule_trigger.rb +0 -2
- data/lib/algolia/models/ingestion/schedule_trigger_input.rb +0 -2
- data/lib/algolia/models/ingestion/shopify_input.rb +0 -2
- data/lib/algolia/models/ingestion/shopify_market.rb +0 -2
- data/lib/algolia/models/ingestion/shopify_metafield.rb +0 -2
- data/lib/algolia/models/ingestion/source.rb +0 -2
- data/lib/algolia/models/ingestion/source_big_commerce.rb +0 -2
- data/lib/algolia/models/ingestion/source_big_query.rb +0 -2
- data/lib/algolia/models/ingestion/source_commercetools.rb +0 -2
- data/lib/algolia/models/ingestion/source_create.rb +0 -2
- data/lib/algolia/models/ingestion/source_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/source_csv.rb +0 -2
- data/lib/algolia/models/ingestion/source_docker.rb +0 -2
- data/lib/algolia/models/ingestion/source_ga4_big_query_export.rb +0 -2
- data/lib/algolia/models/ingestion/source_input.rb +0 -1
- data/lib/algolia/models/ingestion/source_json.rb +0 -2
- data/lib/algolia/models/ingestion/source_search.rb +0 -2
- data/lib/algolia/models/ingestion/source_shopify.rb +0 -2
- data/lib/algolia/models/ingestion/source_update.rb +0 -2
- data/lib/algolia/models/ingestion/source_update_commercetools.rb +0 -2
- data/lib/algolia/models/ingestion/source_update_docker.rb +0 -2
- data/lib/algolia/models/ingestion/source_update_input.rb +0 -1
- data/lib/algolia/models/ingestion/source_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/source_update_shopify.rb +0 -2
- data/lib/algolia/models/ingestion/streaming_input.rb +0 -2
- data/lib/algolia/models/ingestion/streaming_trigger.rb +0 -2
- data/lib/algolia/models/ingestion/subscription_trigger.rb +0 -2
- data/lib/algolia/models/ingestion/task.rb +0 -2
- data/lib/algolia/models/ingestion/task_create.rb +0 -2
- data/lib/algolia/models/ingestion/task_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/task_create_trigger.rb +0 -1
- data/lib/algolia/models/ingestion/task_create_v1.rb +0 -2
- data/lib/algolia/models/ingestion/task_input.rb +0 -1
- data/lib/algolia/models/ingestion/task_replace.rb +0 -2
- data/lib/algolia/models/ingestion/task_search.rb +0 -2
- data/lib/algolia/models/ingestion/task_update.rb +0 -2
- data/lib/algolia/models/ingestion/task_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/task_update_v1.rb +0 -2
- data/lib/algolia/models/ingestion/task_v1.rb +0 -2
- data/lib/algolia/models/ingestion/transformation.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_code.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_create.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_create_response.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_error.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_input.rb +0 -1
- data/lib/algolia/models/ingestion/transformation_no_code.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_search.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_try.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_try_response.rb +0 -2
- data/lib/algolia/models/ingestion/transformation_update_response.rb +0 -2
- data/lib/algolia/models/ingestion/trigger.rb +0 -1
- data/lib/algolia/models/ingestion/trigger_update_input.rb +0 -2
- data/lib/algolia/models/ingestion/watch_response.rb +0 -2
- data/lib/algolia/models/ingestion/window.rb +0 -2
- data/lib/algolia/models/insights/added_to_cart_object_ids.rb +2 -4
- data/lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb +2 -4
- data/lib/algolia/models/insights/clicked_filters.rb +2 -4
- data/lib/algolia/models/insights/clicked_object_ids.rb +2 -4
- data/lib/algolia/models/insights/clicked_object_ids_after_search.rb +2 -4
- data/lib/algolia/models/insights/converted_filters.rb +2 -4
- data/lib/algolia/models/insights/converted_object_ids.rb +2 -4
- data/lib/algolia/models/insights/converted_object_ids_after_search.rb +2 -4
- data/lib/algolia/models/insights/discount.rb +0 -1
- data/lib/algolia/models/insights/error_base.rb +0 -2
- data/lib/algolia/models/insights/events_items.rb +0 -1
- data/lib/algolia/models/insights/events_response.rb +0 -2
- data/lib/algolia/models/insights/insights_events.rb +0 -2
- data/lib/algolia/models/insights/object_data.rb +0 -2
- data/lib/algolia/models/insights/object_data_after_search.rb +0 -2
- data/lib/algolia/models/insights/price.rb +0 -1
- data/lib/algolia/models/insights/purchased_object_ids.rb +2 -4
- data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +2 -4
- data/lib/algolia/models/insights/value.rb +0 -1
- data/lib/algolia/models/insights/viewed_filters.rb +2 -4
- data/lib/algolia/models/insights/viewed_object_ids.rb +2 -4
- data/lib/algolia/models/monitoring/error_base.rb +0 -2
- data/lib/algolia/models/monitoring/incident.rb +0 -2
- data/lib/algolia/models/monitoring/incident_entry.rb +0 -2
- data/lib/algolia/models/monitoring/incidents_response.rb +0 -2
- data/lib/algolia/models/monitoring/indexing_metric.rb +0 -2
- data/lib/algolia/models/monitoring/indexing_time_response.rb +0 -2
- data/lib/algolia/models/monitoring/infrastructure_response.rb +0 -2
- data/lib/algolia/models/monitoring/inventory_response.rb +0 -2
- data/lib/algolia/models/monitoring/latency_metric.rb +0 -2
- data/lib/algolia/models/monitoring/latency_response.rb +0 -2
- data/lib/algolia/models/monitoring/metrics.rb +0 -2
- data/lib/algolia/models/monitoring/probes_metric.rb +0 -2
- data/lib/algolia/models/monitoring/server.rb +0 -2
- data/lib/algolia/models/monitoring/status_response.rb +0 -2
- data/lib/algolia/models/monitoring/time_entry.rb +0 -2
- data/lib/algolia/models/personalization/delete_user_profile_response.rb +1 -3
- data/lib/algolia/models/personalization/error_base.rb +0 -2
- data/lib/algolia/models/personalization/events_scoring.rb +0 -2
- data/lib/algolia/models/personalization/facets_scoring.rb +0 -2
- data/lib/algolia/models/personalization/get_user_token_response.rb +1 -3
- data/lib/algolia/models/personalization/personalization_strategy_params.rb +0 -2
- data/lib/algolia/models/personalization/set_personalization_strategy_response.rb +0 -2
- data/lib/algolia/models/query-suggestions/base_response.rb +0 -2
- data/lib/algolia/models/query-suggestions/config_status.rb +0 -2
- data/lib/algolia/models/query-suggestions/configuration.rb +0 -2
- data/lib/algolia/models/query-suggestions/configuration_response.rb +0 -2
- data/lib/algolia/models/query-suggestions/configuration_with_index.rb +0 -2
- data/lib/algolia/models/query-suggestions/error_base.rb +0 -2
- data/lib/algolia/models/query-suggestions/facet.rb +0 -2
- data/lib/algolia/models/query-suggestions/languages.rb +0 -1
- data/lib/algolia/models/query-suggestions/log_file.rb +0 -2
- data/lib/algolia/models/query-suggestions/source_index.rb +0 -2
- data/lib/algolia/models/recommend/around_precision.rb +0 -1
- data/lib/algolia/models/recommend/around_radius.rb +0 -1
- data/lib/algolia/models/recommend/auto_facet_filter.rb +0 -2
- data/lib/algolia/models/recommend/banner.rb +0 -2
- data/lib/algolia/models/recommend/banner_image.rb +0 -2
- data/lib/algolia/models/recommend/banner_image_url.rb +0 -2
- data/lib/algolia/models/recommend/banner_link.rb +0 -2
- data/lib/algolia/models/recommend/bought_together_query.rb +0 -2
- data/lib/algolia/models/recommend/condition.rb +1 -3
- data/lib/algolia/models/recommend/consequence.rb +0 -2
- data/lib/algolia/models/recommend/deleted_at_response.rb +1 -3
- data/lib/algolia/models/recommend/distinct.rb +0 -1
- data/lib/algolia/models/recommend/error_base.rb +0 -2
- data/lib/algolia/models/recommend/exhaustive.rb +0 -2
- data/lib/algolia/models/recommend/facet_filters.rb +0 -1
- data/lib/algolia/models/recommend/facet_ordering.rb +0 -2
- data/lib/algolia/models/recommend/facet_stats.rb +0 -2
- data/lib/algolia/models/recommend/fallback_params.rb +19 -21
- data/lib/algolia/models/recommend/get_recommend_task_response.rb +0 -2
- data/lib/algolia/models/recommend/get_recommendations_params.rb +0 -2
- data/lib/algolia/models/recommend/get_recommendations_response.rb +0 -2
- data/lib/algolia/models/recommend/hide_consequence_object.rb +0 -2
- data/lib/algolia/models/recommend/highlight_result.rb +0 -1
- data/lib/algolia/models/recommend/highlight_result_option.rb +0 -2
- data/lib/algolia/models/recommend/ignore_plurals.rb +0 -1
- data/lib/algolia/models/recommend/index_settings_facets.rb +0 -2
- data/lib/algolia/models/recommend/inside_bounding_box.rb +0 -1
- data/lib/algolia/models/recommend/looking_similar_query.rb +0 -2
- data/lib/algolia/models/recommend/matched_geo_location.rb +0 -2
- data/lib/algolia/models/recommend/numeric_filters.rb +0 -1
- data/lib/algolia/models/recommend/optional_filters.rb +1 -2
- data/lib/algolia/models/recommend/optional_words.rb +0 -1
- data/lib/algolia/models/recommend/params_consequence.rb +1 -3
- data/lib/algolia/models/recommend/personalization.rb +0 -2
- data/lib/algolia/models/recommend/promote_consequence_object.rb +0 -2
- data/lib/algolia/models/recommend/range.rb +0 -2
- data/lib/algolia/models/recommend/ranking_info.rb +0 -2
- data/lib/algolia/models/recommend/re_ranking_apply_filter.rb +1 -2
- data/lib/algolia/models/recommend/recommend_hit.rb +0 -2
- data/lib/algolia/models/recommend/recommend_rule.rb +0 -2
- data/lib/algolia/models/recommend/recommend_search_params.rb +19 -21
- data/lib/algolia/models/recommend/recommend_updated_at_response.rb +1 -3
- data/lib/algolia/models/recommend/recommendations_hit.rb +0 -1
- data/lib/algolia/models/recommend/recommendations_request.rb +0 -1
- data/lib/algolia/models/recommend/recommendations_results.rb +1 -3
- data/lib/algolia/models/recommend/redirect.rb +1 -3
- data/lib/algolia/models/recommend/redirect_rule_index_data.rb +0 -2
- data/lib/algolia/models/recommend/redirect_rule_index_metadata.rb +0 -2
- data/lib/algolia/models/recommend/redirect_url.rb +0 -2
- data/lib/algolia/models/recommend/related_query.rb +0 -2
- data/lib/algolia/models/recommend/remove_stop_words.rb +0 -1
- data/lib/algolia/models/recommend/rendering_content.rb +0 -2
- data/lib/algolia/models/recommend/rule_metadata.rb +0 -2
- data/lib/algolia/models/recommend/search_recommend_rules_params.rb +2 -4
- data/lib/algolia/models/recommend/search_recommend_rules_response.rb +0 -2
- data/lib/algolia/models/recommend/snippet_result.rb +0 -1
- data/lib/algolia/models/recommend/snippet_result_option.rb +0 -2
- data/lib/algolia/models/recommend/tag_filters.rb +0 -1
- data/lib/algolia/models/recommend/time_range.rb +0 -2
- data/lib/algolia/models/recommend/trending_facet_hit.rb +0 -2
- data/lib/algolia/models/recommend/trending_facets_query.rb +0 -2
- data/lib/algolia/models/recommend/trending_items_query.rb +0 -2
- data/lib/algolia/models/recommend/typo_tolerance.rb +1 -2
- data/lib/algolia/models/recommend/value.rb +0 -2
- data/lib/algolia/models/recommend/widgets.rb +0 -2
- data/lib/algolia/models/search/add_api_key_response.rb +0 -2
- data/lib/algolia/models/search/api_key.rb +1 -3
- data/lib/algolia/models/search/around_precision.rb +0 -1
- data/lib/algolia/models/search/around_radius.rb +0 -1
- data/lib/algolia/models/search/assign_user_id_params.rb +0 -2
- data/lib/algolia/models/search/attribute_to_update.rb +0 -1
- data/lib/algolia/models/search/automatic_facet_filter.rb +0 -2
- data/lib/algolia/models/search/automatic_facet_filters.rb +0 -1
- data/lib/algolia/models/search/banner.rb +0 -2
- data/lib/algolia/models/search/banner_image.rb +0 -2
- data/lib/algolia/models/search/banner_image_url.rb +0 -2
- data/lib/algolia/models/search/banner_link.rb +0 -2
- data/lib/algolia/models/search/batch_assign_user_ids_params.rb +0 -2
- data/lib/algolia/models/search/batch_dictionary_entries_params.rb +0 -2
- data/lib/algolia/models/search/batch_dictionary_entries_request.rb +0 -2
- data/lib/algolia/models/search/batch_params.rb +0 -2
- data/lib/algolia/models/search/batch_request.rb +0 -2
- data/lib/algolia/models/search/batch_response.rb +1 -3
- data/lib/algolia/models/search/batch_write_params.rb +0 -2
- data/lib/algolia/models/search/browse_params.rb +0 -1
- data/lib/algolia/models/search/browse_params_object.rb +10 -12
- data/lib/algolia/models/search/browse_response.rb +1 -3
- data/lib/algolia/models/search/built_in_operation.rb +0 -2
- data/lib/algolia/models/search/built_in_operation_value.rb +0 -1
- data/lib/algolia/models/search/condition.rb +0 -2
- data/lib/algolia/models/search/consequence.rb +0 -2
- data/lib/algolia/models/search/consequence_hide.rb +0 -2
- data/lib/algolia/models/search/consequence_params.rb +10 -12
- data/lib/algolia/models/search/consequence_query.rb +0 -1
- data/lib/algolia/models/search/consequence_query_object.rb +0 -2
- data/lib/algolia/models/search/created_at_response.rb +0 -2
- data/lib/algolia/models/search/delete_api_key_response.rb +0 -2
- data/lib/algolia/models/search/delete_by_params.rb +1 -3
- data/lib/algolia/models/search/delete_source_response.rb +0 -2
- data/lib/algolia/models/search/deleted_at_response.rb +1 -3
- data/lib/algolia/models/search/dictionary_entry.rb +0 -2
- data/lib/algolia/models/search/dictionary_language.rb +0 -2
- data/lib/algolia/models/search/dictionary_settings_params.rb +0 -2
- data/lib/algolia/models/search/distinct.rb +0 -1
- data/lib/algolia/models/search/edit.rb +0 -2
- data/lib/algolia/models/search/error_base.rb +0 -2
- data/lib/algolia/models/search/event.rb +0 -2
- data/lib/algolia/models/search/exhaustive.rb +0 -2
- data/lib/algolia/models/search/facet_filters.rb +0 -1
- data/lib/algolia/models/search/facet_hits.rb +0 -2
- data/lib/algolia/models/search/facet_ordering.rb +0 -2
- data/lib/algolia/models/search/facet_stats.rb +0 -2
- data/lib/algolia/models/search/facets.rb +0 -2
- data/lib/algolia/models/search/fetched_index.rb +0 -2
- data/lib/algolia/models/search/get_api_key_response.rb +1 -3
- data/lib/algolia/models/search/get_dictionary_settings_response.rb +0 -2
- data/lib/algolia/models/search/get_logs_response.rb +0 -2
- data/lib/algolia/models/search/get_objects_params.rb +0 -2
- data/lib/algolia/models/search/get_objects_request.rb +0 -2
- data/lib/algolia/models/search/get_objects_response.rb +0 -2
- data/lib/algolia/models/search/get_task_response.rb +0 -2
- data/lib/algolia/models/search/get_top_user_ids_response.rb +0 -2
- data/lib/algolia/models/search/has_pending_mappings_response.rb +0 -2
- data/lib/algolia/models/search/highlight_result.rb +0 -1
- data/lib/algolia/models/search/highlight_result_option.rb +0 -2
- data/lib/algolia/models/search/hit.rb +0 -2
- data/lib/algolia/models/search/ignore_plurals.rb +0 -1
- data/lib/algolia/models/search/index_settings.rb +15 -17
- data/lib/algolia/models/search/inside_bounding_box.rb +0 -1
- data/lib/algolia/models/search/languages.rb +0 -2
- data/lib/algolia/models/search/list_api_keys_response.rb +0 -2
- data/lib/algolia/models/search/list_clusters_response.rb +0 -2
- data/lib/algolia/models/search/list_indices_response.rb +0 -2
- data/lib/algolia/models/search/list_user_ids_response.rb +0 -2
- data/lib/algolia/models/search/log.rb +0 -2
- data/lib/algolia/models/search/log_query.rb +0 -2
- data/lib/algolia/models/search/matched_geo_location.rb +0 -2
- data/lib/algolia/models/search/multiple_batch_request.rb +0 -2
- data/lib/algolia/models/search/multiple_batch_response.rb +0 -2
- data/lib/algolia/models/search/numeric_filters.rb +0 -1
- data/lib/algolia/models/search/operation_index_params.rb +0 -2
- data/lib/algolia/models/search/optional_filters.rb +1 -2
- data/lib/algolia/models/search/optional_words.rb +0 -1
- data/lib/algolia/models/search/personalization.rb +0 -2
- data/lib/algolia/models/search/promote.rb +0 -1
- data/lib/algolia/models/search/promote_object_id.rb +0 -2
- data/lib/algolia/models/search/promote_object_ids.rb +0 -2
- data/lib/algolia/models/search/range.rb +0 -2
- data/lib/algolia/models/search/ranking_info.rb +0 -2
- data/lib/algolia/models/search/re_ranking_apply_filter.rb +1 -2
- data/lib/algolia/models/search/redirect.rb +1 -3
- data/lib/algolia/models/search/redirect_rule_index_data.rb +0 -2
- data/lib/algolia/models/search/redirect_rule_index_metadata.rb +0 -2
- data/lib/algolia/models/search/redirect_url.rb +0 -2
- data/lib/algolia/models/search/remove_stop_words.rb +0 -1
- data/lib/algolia/models/search/remove_user_id_response.rb +0 -2
- data/lib/algolia/models/search/rendering_content.rb +0 -2
- data/lib/algolia/models/search/replace_all_objects_response.rb +0 -2
- data/lib/algolia/models/search/replace_all_objects_with_transformation_response.rb +0 -2
- data/lib/algolia/models/search/replace_source_response.rb +0 -2
- data/lib/algolia/models/search/rule.rb +0 -2
- data/lib/algolia/models/search/save_object_response.rb +1 -3
- data/lib/algolia/models/search/save_synonym_response.rb +1 -3
- data/lib/algolia/models/search/search_dictionary_entries_params.rb +0 -2
- data/lib/algolia/models/search/search_dictionary_entries_response.rb +1 -3
- data/lib/algolia/models/search/search_for_facet_values_request.rb +0 -2
- data/lib/algolia/models/search/search_for_facet_values_response.rb +0 -2
- data/lib/algolia/models/search/search_for_facets.rb +10 -12
- data/lib/algolia/models/search/search_for_hits.rb +10 -12
- data/lib/algolia/models/search/search_method_params.rb +0 -2
- data/lib/algolia/models/search/search_params.rb +0 -1
- data/lib/algolia/models/search/search_params_object.rb +10 -12
- data/lib/algolia/models/search/search_params_string.rb +0 -2
- data/lib/algolia/models/search/search_query.rb +0 -1
- data/lib/algolia/models/search/search_response.rb +1 -3
- data/lib/algolia/models/search/search_responses.rb +0 -2
- data/lib/algolia/models/search/search_result.rb +0 -1
- data/lib/algolia/models/search/search_rules_params.rb +2 -4
- data/lib/algolia/models/search/search_rules_response.rb +0 -2
- data/lib/algolia/models/search/search_synonyms_params.rb +0 -2
- data/lib/algolia/models/search/search_synonyms_response.rb +0 -2
- data/lib/algolia/models/search/search_user_ids_params.rb +0 -3
- data/lib/algolia/models/search/search_user_ids_response.rb +1 -3
- data/lib/algolia/models/search/secured_api_key_restrictions.rb +0 -2
- data/lib/algolia/models/search/semantic_search.rb +0 -2
- data/lib/algolia/models/search/settings_response.rb +15 -17
- data/lib/algolia/models/search/snippet_result.rb +0 -1
- data/lib/algolia/models/search/snippet_result_option.rb +0 -2
- data/lib/algolia/models/search/source.rb +0 -2
- data/lib/algolia/models/search/standard_entries.rb +1 -3
- data/lib/algolia/models/search/synonym_hit.rb +4 -6
- data/lib/algolia/models/search/tag_filters.rb +0 -1
- data/lib/algolia/models/search/time_range.rb +0 -2
- data/lib/algolia/models/search/typo_tolerance.rb +1 -2
- data/lib/algolia/models/search/update_api_key_response.rb +0 -2
- data/lib/algolia/models/search/updated_at_response.rb +1 -3
- data/lib/algolia/models/search/updated_at_with_object_id_response.rb +1 -3
- data/lib/algolia/models/search/user_highlight_result.rb +0 -2
- data/lib/algolia/models/search/user_hit.rb +0 -2
- data/lib/algolia/models/search/user_id.rb +0 -2
- data/lib/algolia/models/search/value.rb +0 -2
- data/lib/algolia/models/search/watch_response.rb +0 -2
- data/lib/algolia/models/search/widgets.rb +0 -2
- data/lib/algolia/version.rb +1 -1
- metadata +3 -1
@@ -8,7 +8,7 @@ require "time"
|
|
8
8
|
module Algolia
|
9
9
|
module Search
|
10
10
|
class BatchResponse
|
11
|
-
# Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](
|
11
|
+
# Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](https://www.algolia.com/doc/rest-api/search/get-task) and this task ID.
|
12
12
|
attr_accessor :task_id
|
13
13
|
|
14
14
|
# Unique record identifiers.
|
@@ -218,8 +218,6 @@ module Algolia
|
|
218
218
|
value
|
219
219
|
end
|
220
220
|
end
|
221
|
-
|
222
221
|
end
|
223
|
-
|
224
222
|
end
|
225
223
|
end
|
@@ -14,7 +14,7 @@ module Algolia
|
|
14
14
|
# Keywords to be used instead of the search query to conduct a more broader search Using the `similarQuery` parameter changes other settings - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords` Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
|
15
15
|
attr_accessor :similar_query
|
16
16
|
|
17
|
-
# Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering
|
17
|
+
# Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).
|
18
18
|
attr_accessor :filters
|
19
19
|
|
20
20
|
attr_accessor :facet_filters
|
@@ -73,7 +73,7 @@ module Algolia
|
|
73
73
|
# Impact that Personalization should have on this search The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
|
74
74
|
attr_accessor :personalization_impact
|
75
75
|
|
76
|
-
# Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events. For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken
|
76
|
+
# Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events. For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken).
|
77
77
|
attr_accessor :user_token
|
78
78
|
|
79
79
|
# Whether the search response should include detailed ranking information.
|
@@ -82,13 +82,13 @@ module Algolia
|
|
82
82
|
# Whether to take into account an index's synonyms for this search.
|
83
83
|
attr_accessor :synonyms
|
84
84
|
|
85
|
-
# Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started
|
85
|
+
# Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started).
|
86
86
|
attr_accessor :click_analytics
|
87
87
|
|
88
88
|
# Whether this search will be included in Analytics.
|
89
89
|
attr_accessor :analytics
|
90
90
|
|
91
|
-
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
91
|
+
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
92
92
|
attr_accessor :analytics_tags
|
93
93
|
|
94
94
|
# Whether to include this search when calculating processing-time percentiles.
|
@@ -100,13 +100,13 @@ module Algolia
|
|
100
100
|
# Attributes to include in the API response To reduce the size of your response, you can retrieve only some of the attributes. Attribute names are case-sensitive - `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings. - To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`. - The `objectID` attribute is always included.
|
101
101
|
attr_accessor :attributes_to_retrieve
|
102
102
|
|
103
|
-
# Determines the order in which Algolia returns your results. By default, each entry corresponds to a [ranking criteria](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria
|
103
|
+
# Determines the order in which Algolia returns your results. By default, each entry corresponds to a [ranking criteria](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria). The tie-breaking algorithm sequentially applies each criterion in the order they're specified. If you configure a replica index for [sorting by an attribute](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-by-attribute), you put the sorting attribute at the top of the list. **Modifiers** - `asc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in ascending order. - `desc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in descending order. Before you modify the default setting, you should test your changes in the dashboard, and by [A/B testing](https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing).
|
104
104
|
attr_accessor :ranking
|
105
105
|
|
106
106
|
# Relevancy threshold below which less relevant results aren't included in the results You can only set `relevancyStrictness` on [virtual replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/#what-are-virtual-replicas). Use this setting to strike a balance between the relevance and number of returned results.
|
107
107
|
attr_accessor :relevancy_strictness
|
108
108
|
|
109
|
-
# Attributes to highlight By default, all searchable attributes are highlighted. Use `*` to highlight all attributes or use an empty array `[]` to turn off highlighting. Attribute names are case-sensitive With highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`. You can use this to visually highlight matching parts of a search query in your UI For more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js
|
109
|
+
# Attributes to highlight By default, all searchable attributes are highlighted. Use `*` to highlight all attributes or use an empty array `[]` to turn off highlighting. Attribute names are case-sensitive With highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`. You can use this to visually highlight matching parts of a search query in your UI For more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).
|
110
110
|
attr_accessor :attributes_to_highlight
|
111
111
|
|
112
112
|
# Attributes for which to enable snippets. Attribute names are case-sensitive Snippets provide additional context to matched words. If you enable snippets, they include 10 words, including the matched word. The matched word will also be wrapped by HTML tags for highlighting. You can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`, where `NUMBER` is the number of words to be extracted.
|
@@ -138,14 +138,14 @@ module Algolia
|
|
138
138
|
# Whether to allow typos on numbers in the search query Turn off this setting to reduce the number of irrelevant matches when searching in large sets of similar numbers.
|
139
139
|
attr_accessor :allow_typos_on_numeric_tokens
|
140
140
|
|
141
|
-
# Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance
|
141
|
+
# Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance). Attribute names are case-sensitive Returning only exact matches can help when - [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes). - Reducing the number of matches when you have too many. This can happen with attributes that are long blocks of text, such as product descriptions Consider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.
|
142
142
|
attr_accessor :disable_typo_tolerance_on_attributes
|
143
143
|
|
144
144
|
attr_accessor :ignore_plurals
|
145
145
|
|
146
146
|
attr_accessor :remove_stop_words
|
147
147
|
|
148
|
-
# Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings. This setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages. To support this, you must place the CJK language **first** **You should always specify a query language.** If you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages
|
148
|
+
# Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings. This setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages. To support this, you must place the CJK language **first** **You should always specify a query language.** If you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages), or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to unexpected search results. For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).
|
149
149
|
attr_accessor :query_languages
|
150
150
|
|
151
151
|
# Whether to split compound words in the query into their building blocks For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian. Decompounding doesn't work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won't be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
|
@@ -195,7 +195,7 @@ module Algolia
|
|
195
195
|
# Maximum number of facet values to return for each facet.
|
196
196
|
attr_accessor :max_values_per_facet
|
197
197
|
|
198
|
-
# Order in which to retrieve facet values - `count`. Facet values are retrieved by decreasing count. The count is the number of matching records containing this facet value - `alpha`. Retrieve facet values alphabetically This setting doesn't influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js
|
198
|
+
# Order in which to retrieve facet values - `count`. Facet values are retrieved by decreasing count. The count is the number of matching records containing this facet value - `alpha`. Retrieve facet values alphabetically This setting doesn't influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).
|
199
199
|
attr_accessor :sort_facet_values_by
|
200
200
|
|
201
201
|
# Whether the best matching attribute should be determined by minimum proximity This setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting. If true, the best matching attribute is selected based on the minimum proximity of multiple matches. Otherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.
|
@@ -203,7 +203,7 @@ module Algolia
|
|
203
203
|
|
204
204
|
attr_accessor :rendering_content
|
205
205
|
|
206
|
-
# Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking
|
206
|
+
# Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking) This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
|
207
207
|
attr_accessor :enable_re_ranking
|
208
208
|
|
209
209
|
attr_accessor :re_ranking_apply_filter
|
@@ -1031,8 +1031,6 @@ module Algolia
|
|
1031
1031
|
value
|
1032
1032
|
end
|
1033
1033
|
end
|
1034
|
-
|
1035
1034
|
end
|
1036
|
-
|
1037
1035
|
end
|
1038
1036
|
end
|
@@ -77,7 +77,7 @@ module Algolia
|
|
77
77
|
# An object with custom data. You can store up to 32kB as custom data.
|
78
78
|
attr_accessor :user_data
|
79
79
|
|
80
|
-
# Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics
|
80
|
+
# Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics).
|
81
81
|
attr_accessor :query_id
|
82
82
|
|
83
83
|
# Whether automatic events collection is enabled for the application.
|
@@ -590,8 +590,6 @@ module Algolia
|
|
590
590
|
value
|
591
591
|
end
|
592
592
|
end
|
593
|
-
|
594
593
|
end
|
595
|
-
|
596
594
|
end
|
597
595
|
end
|
@@ -11,7 +11,7 @@ module Algolia
|
|
11
11
|
# Keywords to be used instead of the search query to conduct a more broader search Using the `similarQuery` parameter changes other settings - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords` Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
|
12
12
|
attr_accessor :similar_query
|
13
13
|
|
14
|
-
# Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering
|
14
|
+
# Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).
|
15
15
|
attr_accessor :filters
|
16
16
|
|
17
17
|
attr_accessor :facet_filters
|
@@ -70,7 +70,7 @@ module Algolia
|
|
70
70
|
# Impact that Personalization should have on this search The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
|
71
71
|
attr_accessor :personalization_impact
|
72
72
|
|
73
|
-
# Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events. For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken
|
73
|
+
# Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events. For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken).
|
74
74
|
attr_accessor :user_token
|
75
75
|
|
76
76
|
# Whether the search response should include detailed ranking information.
|
@@ -79,13 +79,13 @@ module Algolia
|
|
79
79
|
# Whether to take into account an index's synonyms for this search.
|
80
80
|
attr_accessor :synonyms
|
81
81
|
|
82
|
-
# Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started
|
82
|
+
# Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started).
|
83
83
|
attr_accessor :click_analytics
|
84
84
|
|
85
85
|
# Whether this search will be included in Analytics.
|
86
86
|
attr_accessor :analytics
|
87
87
|
|
88
|
-
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
88
|
+
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
89
89
|
attr_accessor :analytics_tags
|
90
90
|
|
91
91
|
# Whether to include this search when calculating processing-time percentiles.
|
@@ -97,13 +97,13 @@ module Algolia
|
|
97
97
|
# Attributes to include in the API response To reduce the size of your response, you can retrieve only some of the attributes. Attribute names are case-sensitive - `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings. - To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`. - The `objectID` attribute is always included.
|
98
98
|
attr_accessor :attributes_to_retrieve
|
99
99
|
|
100
|
-
# Determines the order in which Algolia returns your results. By default, each entry corresponds to a [ranking criteria](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria
|
100
|
+
# Determines the order in which Algolia returns your results. By default, each entry corresponds to a [ranking criteria](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria). The tie-breaking algorithm sequentially applies each criterion in the order they're specified. If you configure a replica index for [sorting by an attribute](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-by-attribute), you put the sorting attribute at the top of the list. **Modifiers** - `asc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in ascending order. - `desc(\"ATTRIBUTE\")`. Sort the index by the values of an attribute, in descending order. Before you modify the default setting, you should test your changes in the dashboard, and by [A/B testing](https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing).
|
101
101
|
attr_accessor :ranking
|
102
102
|
|
103
103
|
# Relevancy threshold below which less relevant results aren't included in the results You can only set `relevancyStrictness` on [virtual replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/#what-are-virtual-replicas). Use this setting to strike a balance between the relevance and number of returned results.
|
104
104
|
attr_accessor :relevancy_strictness
|
105
105
|
|
106
|
-
# Attributes to highlight By default, all searchable attributes are highlighted. Use `*` to highlight all attributes or use an empty array `[]` to turn off highlighting. Attribute names are case-sensitive With highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`. You can use this to visually highlight matching parts of a search query in your UI For more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js
|
106
|
+
# Attributes to highlight By default, all searchable attributes are highlighted. Use `*` to highlight all attributes or use an empty array `[]` to turn off highlighting. Attribute names are case-sensitive With highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`. You can use this to visually highlight matching parts of a search query in your UI For more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).
|
107
107
|
attr_accessor :attributes_to_highlight
|
108
108
|
|
109
109
|
# Attributes for which to enable snippets. Attribute names are case-sensitive Snippets provide additional context to matched words. If you enable snippets, they include 10 words, including the matched word. The matched word will also be wrapped by HTML tags for highlighting. You can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`, where `NUMBER` is the number of words to be extracted.
|
@@ -135,14 +135,14 @@ module Algolia
|
|
135
135
|
# Whether to allow typos on numbers in the search query Turn off this setting to reduce the number of irrelevant matches when searching in large sets of similar numbers.
|
136
136
|
attr_accessor :allow_typos_on_numeric_tokens
|
137
137
|
|
138
|
-
# Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance
|
138
|
+
# Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance). Attribute names are case-sensitive Returning only exact matches can help when - [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes). - Reducing the number of matches when you have too many. This can happen with attributes that are long blocks of text, such as product descriptions Consider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.
|
139
139
|
attr_accessor :disable_typo_tolerance_on_attributes
|
140
140
|
|
141
141
|
attr_accessor :ignore_plurals
|
142
142
|
|
143
143
|
attr_accessor :remove_stop_words
|
144
144
|
|
145
|
-
# Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings. This setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages. To support this, you must place the CJK language **first** **You should always specify a query language.** If you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages
|
145
|
+
# Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings. This setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages. To support this, you must place the CJK language **first** **You should always specify a query language.** If you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages), or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to unexpected search results. For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).
|
146
146
|
attr_accessor :query_languages
|
147
147
|
|
148
148
|
# Whether to split compound words in the query into their building blocks For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian. Decompounding doesn't work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won't be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
|
@@ -192,7 +192,7 @@ module Algolia
|
|
192
192
|
# Maximum number of facet values to return for each facet.
|
193
193
|
attr_accessor :max_values_per_facet
|
194
194
|
|
195
|
-
# Order in which to retrieve facet values - `count`. Facet values are retrieved by decreasing count. The count is the number of matching records containing this facet value - `alpha`. Retrieve facet values alphabetically This setting doesn't influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js
|
195
|
+
# Order in which to retrieve facet values - `count`. Facet values are retrieved by decreasing count. The count is the number of matching records containing this facet value - `alpha`. Retrieve facet values alphabetically This setting doesn't influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).
|
196
196
|
attr_accessor :sort_facet_values_by
|
197
197
|
|
198
198
|
# Whether the best matching attribute should be determined by minimum proximity This setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting. If true, the best matching attribute is selected based on the minimum proximity of multiple matches. Otherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.
|
@@ -200,7 +200,7 @@ module Algolia
|
|
200
200
|
|
201
201
|
attr_accessor :rendering_content
|
202
202
|
|
203
|
-
# Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking
|
203
|
+
# Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking) This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
|
204
204
|
attr_accessor :enable_re_ranking
|
205
205
|
|
206
206
|
attr_accessor :re_ranking_apply_filter
|
@@ -1040,8 +1040,6 @@ module Algolia
|
|
1040
1040
|
value
|
1041
1041
|
end
|
1042
1042
|
end
|
1043
|
-
|
1044
1043
|
end
|
1045
|
-
|
1046
1044
|
end
|
1047
1045
|
end
|
@@ -10,7 +10,7 @@ module Algolia
|
|
10
10
|
class DeleteByParams
|
11
11
|
attr_accessor :facet_filters
|
12
12
|
|
13
|
-
# Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering
|
13
|
+
# Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).
|
14
14
|
attr_accessor :filters
|
15
15
|
|
16
16
|
attr_accessor :numeric_filters
|
@@ -280,8 +280,6 @@ module Algolia
|
|
280
280
|
value
|
281
281
|
end
|
282
282
|
end
|
283
|
-
|
284
283
|
end
|
285
|
-
|
286
284
|
end
|
287
285
|
end
|
@@ -9,7 +9,7 @@ module Algolia
|
|
9
9
|
module Search
|
10
10
|
# Response, taskID, and deletion timestamp.
|
11
11
|
class DeletedAtResponse
|
12
|
-
# Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](
|
12
|
+
# Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](https://www.algolia.com/doc/rest-api/search/get-task) and this task ID.
|
13
13
|
attr_accessor :task_id
|
14
14
|
|
15
15
|
# Date and time when the object was deleted, in RFC 3339 format.
|
@@ -217,8 +217,6 @@ module Algolia
|
|
217
217
|
value
|
218
218
|
end
|
219
219
|
end
|
220
|
-
|
221
220
|
end
|
222
|
-
|
223
221
|
end
|
224
222
|
end
|