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
@@ -11,7 +11,7 @@ module Algolia
|
|
11
11
|
# Date and time when the object was created, in RFC 3339 format.
|
12
12
|
attr_accessor :created_at
|
13
13
|
|
14
|
-
# 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](
|
14
|
+
# 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.
|
15
15
|
attr_accessor :task_id
|
16
16
|
|
17
17
|
# Unique record identifier.
|
@@ -226,8 +226,6 @@ module Algolia
|
|
226
226
|
value
|
227
227
|
end
|
228
228
|
end
|
229
|
-
|
230
229
|
end
|
231
|
-
|
232
230
|
end
|
233
231
|
end
|
@@ -8,7 +8,7 @@ require "time"
|
|
8
8
|
module Algolia
|
9
9
|
module Search
|
10
10
|
class SaveSynonymResponse
|
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
|
# Date and time when the object was updated, in RFC 3339 format.
|
@@ -228,8 +228,6 @@ module Algolia
|
|
228
228
|
value
|
229
229
|
end
|
230
230
|
end
|
231
|
-
|
232
231
|
end
|
233
|
-
|
234
232
|
end
|
235
233
|
end
|
@@ -11,7 +11,7 @@ module Algolia
|
|
11
11
|
# Dictionary entries matching the search criteria.
|
12
12
|
attr_accessor :hits
|
13
13
|
|
14
|
-
# Requested page of the API response. Algolia uses `page` and `hitsPerPage` to control how search results are displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js
|
14
|
+
# Requested page of the API response. Algolia uses `page` and `hitsPerPage` to control how search results are displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js)). - `hitsPerPage`: sets the number of search results (_hits_) displayed per page. - `page`: specifies the page number of the search results you want to retrieve. Page numbering starts at 0, so the first page is `page=0`, the second is `page=1`, and so on. For example, to display 10 results per page starting from the third page, set `hitsPerPage` to 10 and `page` to 2.
|
15
15
|
attr_accessor :page
|
16
16
|
|
17
17
|
# Number of results (hits).
|
@@ -242,8 +242,6 @@ module Algolia
|
|
242
242
|
value
|
243
243
|
end
|
244
244
|
end
|
245
|
-
|
246
245
|
end
|
247
|
-
|
248
246
|
end
|
249
247
|
end
|
@@ -17,7 +17,7 @@ module Algolia
|
|
17
17
|
# 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.
|
18
18
|
attr_accessor :similar_query
|
19
19
|
|
20
|
-
# 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
|
20
|
+
# 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).
|
21
21
|
attr_accessor :filters
|
22
22
|
|
23
23
|
attr_accessor :facet_filters
|
@@ -76,7 +76,7 @@ module Algolia
|
|
76
76
|
# 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).
|
77
77
|
attr_accessor :personalization_impact
|
78
78
|
|
79
|
-
# 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
|
79
|
+
# 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).
|
80
80
|
attr_accessor :user_token
|
81
81
|
|
82
82
|
# Whether the search response should include detailed ranking information.
|
@@ -85,13 +85,13 @@ module Algolia
|
|
85
85
|
# Whether to take into account an index's synonyms for this search.
|
86
86
|
attr_accessor :synonyms
|
87
87
|
|
88
|
-
# 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
|
88
|
+
# 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).
|
89
89
|
attr_accessor :click_analytics
|
90
90
|
|
91
91
|
# Whether this search will be included in Analytics.
|
92
92
|
attr_accessor :analytics
|
93
93
|
|
94
|
-
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
94
|
+
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
95
95
|
attr_accessor :analytics_tags
|
96
96
|
|
97
97
|
# Whether to include this search when calculating processing-time percentiles.
|
@@ -103,13 +103,13 @@ module Algolia
|
|
103
103
|
# 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.
|
104
104
|
attr_accessor :attributes_to_retrieve
|
105
105
|
|
106
|
-
# 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
|
106
|
+
# 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).
|
107
107
|
attr_accessor :ranking
|
108
108
|
|
109
109
|
# 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.
|
110
110
|
attr_accessor :relevancy_strictness
|
111
111
|
|
112
|
-
# 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
|
112
|
+
# 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).
|
113
113
|
attr_accessor :attributes_to_highlight
|
114
114
|
|
115
115
|
# 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.
|
@@ -141,14 +141,14 @@ module Algolia
|
|
141
141
|
# 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.
|
142
142
|
attr_accessor :allow_typos_on_numeric_tokens
|
143
143
|
|
144
|
-
# Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance
|
144
|
+
# 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.
|
145
145
|
attr_accessor :disable_typo_tolerance_on_attributes
|
146
146
|
|
147
147
|
attr_accessor :ignore_plurals
|
148
148
|
|
149
149
|
attr_accessor :remove_stop_words
|
150
150
|
|
151
|
-
# 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
|
151
|
+
# 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).
|
152
152
|
attr_accessor :query_languages
|
153
153
|
|
154
154
|
# 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).
|
@@ -198,7 +198,7 @@ module Algolia
|
|
198
198
|
# Maximum number of facet values to return for each facet.
|
199
199
|
attr_accessor :max_values_per_facet
|
200
200
|
|
201
|
-
# 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
|
201
|
+
# 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).
|
202
202
|
attr_accessor :sort_facet_values_by
|
203
203
|
|
204
204
|
# 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.
|
@@ -206,7 +206,7 @@ module Algolia
|
|
206
206
|
|
207
207
|
attr_accessor :rendering_content
|
208
208
|
|
209
|
-
# Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking
|
209
|
+
# 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.
|
210
210
|
attr_accessor :enable_re_ranking
|
211
211
|
|
212
212
|
attr_accessor :re_ranking_apply_filter
|
@@ -1099,8 +1099,6 @@ module Algolia
|
|
1099
1099
|
value
|
1100
1100
|
end
|
1101
1101
|
end
|
1102
|
-
|
1103
1102
|
end
|
1104
|
-
|
1105
1103
|
end
|
1106
1104
|
end
|
@@ -17,7 +17,7 @@ module Algolia
|
|
17
17
|
# 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.
|
18
18
|
attr_accessor :similar_query
|
19
19
|
|
20
|
-
# 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
|
20
|
+
# 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).
|
21
21
|
attr_accessor :filters
|
22
22
|
|
23
23
|
attr_accessor :facet_filters
|
@@ -76,7 +76,7 @@ module Algolia
|
|
76
76
|
# 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).
|
77
77
|
attr_accessor :personalization_impact
|
78
78
|
|
79
|
-
# 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
|
79
|
+
# 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).
|
80
80
|
attr_accessor :user_token
|
81
81
|
|
82
82
|
# Whether the search response should include detailed ranking information.
|
@@ -85,13 +85,13 @@ module Algolia
|
|
85
85
|
# Whether to take into account an index's synonyms for this search.
|
86
86
|
attr_accessor :synonyms
|
87
87
|
|
88
|
-
# 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
|
88
|
+
# 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).
|
89
89
|
attr_accessor :click_analytics
|
90
90
|
|
91
91
|
# Whether this search will be included in Analytics.
|
92
92
|
attr_accessor :analytics
|
93
93
|
|
94
|
-
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
94
|
+
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
95
95
|
attr_accessor :analytics_tags
|
96
96
|
|
97
97
|
# Whether to include this search when calculating processing-time percentiles.
|
@@ -103,13 +103,13 @@ module Algolia
|
|
103
103
|
# 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.
|
104
104
|
attr_accessor :attributes_to_retrieve
|
105
105
|
|
106
|
-
# 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
|
106
|
+
# 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).
|
107
107
|
attr_accessor :ranking
|
108
108
|
|
109
109
|
# 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.
|
110
110
|
attr_accessor :relevancy_strictness
|
111
111
|
|
112
|
-
# 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
|
112
|
+
# 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).
|
113
113
|
attr_accessor :attributes_to_highlight
|
114
114
|
|
115
115
|
# 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.
|
@@ -141,14 +141,14 @@ module Algolia
|
|
141
141
|
# 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.
|
142
142
|
attr_accessor :allow_typos_on_numeric_tokens
|
143
143
|
|
144
|
-
# Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance
|
144
|
+
# 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.
|
145
145
|
attr_accessor :disable_typo_tolerance_on_attributes
|
146
146
|
|
147
147
|
attr_accessor :ignore_plurals
|
148
148
|
|
149
149
|
attr_accessor :remove_stop_words
|
150
150
|
|
151
|
-
# 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
|
151
|
+
# 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).
|
152
152
|
attr_accessor :query_languages
|
153
153
|
|
154
154
|
# 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).
|
@@ -198,7 +198,7 @@ module Algolia
|
|
198
198
|
# Maximum number of facet values to return for each facet.
|
199
199
|
attr_accessor :max_values_per_facet
|
200
200
|
|
201
|
-
# 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
|
201
|
+
# 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).
|
202
202
|
attr_accessor :sort_facet_values_by
|
203
203
|
|
204
204
|
# 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.
|
@@ -206,7 +206,7 @@ module Algolia
|
|
206
206
|
|
207
207
|
attr_accessor :rendering_content
|
208
208
|
|
209
|
-
# Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking
|
209
|
+
# 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.
|
210
210
|
attr_accessor :enable_re_ranking
|
211
211
|
|
212
212
|
attr_accessor :re_ranking_apply_filter
|
@@ -1054,8 +1054,6 @@ module Algolia
|
|
1054
1054
|
value
|
1055
1055
|
end
|
1056
1056
|
end
|
1057
|
-
|
1058
1057
|
end
|
1059
|
-
|
1060
1058
|
end
|
1061
1059
|
end
|
@@ -15,7 +15,7 @@ module Algolia
|
|
15
15
|
# 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.
|
16
16
|
attr_accessor :similar_query
|
17
17
|
|
18
|
-
# 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
|
+
# 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).
|
19
19
|
attr_accessor :filters
|
20
20
|
|
21
21
|
attr_accessor :facet_filters
|
@@ -74,7 +74,7 @@ module Algolia
|
|
74
74
|
# 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).
|
75
75
|
attr_accessor :personalization_impact
|
76
76
|
|
77
|
-
# 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
|
+
# 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).
|
78
78
|
attr_accessor :user_token
|
79
79
|
|
80
80
|
# Whether the search response should include detailed ranking information.
|
@@ -83,13 +83,13 @@ module Algolia
|
|
83
83
|
# Whether to take into account an index's synonyms for this search.
|
84
84
|
attr_accessor :synonyms
|
85
85
|
|
86
|
-
# 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
|
+
# 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).
|
87
87
|
attr_accessor :click_analytics
|
88
88
|
|
89
89
|
# Whether this search will be included in Analytics.
|
90
90
|
attr_accessor :analytics
|
91
91
|
|
92
|
-
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments
|
92
|
+
# Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
93
93
|
attr_accessor :analytics_tags
|
94
94
|
|
95
95
|
# Whether to include this search when calculating processing-time percentiles.
|
@@ -101,13 +101,13 @@ module Algolia
|
|
101
101
|
# 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.
|
102
102
|
attr_accessor :attributes_to_retrieve
|
103
103
|
|
104
|
-
# 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
|
104
|
+
# 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).
|
105
105
|
attr_accessor :ranking
|
106
106
|
|
107
107
|
# 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.
|
108
108
|
attr_accessor :relevancy_strictness
|
109
109
|
|
110
|
-
# 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
|
+
# 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).
|
111
111
|
attr_accessor :attributes_to_highlight
|
112
112
|
|
113
113
|
# 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.
|
@@ -139,14 +139,14 @@ module Algolia
|
|
139
139
|
# 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.
|
140
140
|
attr_accessor :allow_typos_on_numeric_tokens
|
141
141
|
|
142
|
-
# Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance
|
142
|
+
# 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.
|
143
143
|
attr_accessor :disable_typo_tolerance_on_attributes
|
144
144
|
|
145
145
|
attr_accessor :ignore_plurals
|
146
146
|
|
147
147
|
attr_accessor :remove_stop_words
|
148
148
|
|
149
|
-
# 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
|
149
|
+
# 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).
|
150
150
|
attr_accessor :query_languages
|
151
151
|
|
152
152
|
# 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).
|
@@ -196,7 +196,7 @@ module Algolia
|
|
196
196
|
# Maximum number of facet values to return for each facet.
|
197
197
|
attr_accessor :max_values_per_facet
|
198
198
|
|
199
|
-
# 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
|
+
# 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).
|
200
200
|
attr_accessor :sort_facet_values_by
|
201
201
|
|
202
202
|
# 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.
|
@@ -204,7 +204,7 @@ module Algolia
|
|
204
204
|
|
205
205
|
attr_accessor :rendering_content
|
206
206
|
|
207
|
-
# Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking
|
207
|
+
# 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.
|
208
208
|
attr_accessor :enable_re_ranking
|
209
209
|
|
210
210
|
attr_accessor :re_ranking_apply_filter
|
@@ -1021,8 +1021,6 @@ module Algolia
|
|
1021
1021
|
value
|
1022
1022
|
end
|
1023
1023
|
end
|
1024
|
-
|
1025
1024
|
end
|
1026
|
-
|
1027
1025
|
end
|
1028
1026
|
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.
|
@@ -578,8 +578,6 @@ module Algolia
|
|
578
578
|
value
|
579
579
|
end
|
580
580
|
end
|
581
|
-
|
582
581
|
end
|
583
|
-
|
584
582
|
end
|
585
583
|
end
|
@@ -17,10 +17,10 @@ module Algolia
|
|
17
17
|
# Only return rules that match the context (exact match).
|
18
18
|
attr_accessor :context
|
19
19
|
|
20
|
-
# Requested page of the API response. Algolia uses `page` and `hitsPerPage` to control how search results are displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js
|
20
|
+
# Requested page of the API response. Algolia uses `page` and `hitsPerPage` to control how search results are displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js)). - `hitsPerPage`: sets the number of search results (_hits_) displayed per page. - `page`: specifies the page number of the search results you want to retrieve. Page numbering starts at 0, so the first page is `page=0`, the second is `page=1`, and so on. For example, to display 10 results per page starting from the third page, set `hitsPerPage` to 10 and `page` to 2.
|
21
21
|
attr_accessor :page
|
22
22
|
|
23
|
-
# Maximum number of hits per page. Algolia uses `page` and `hitsPerPage` to control how search results are displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js
|
23
|
+
# Maximum number of hits per page. Algolia uses `page` and `hitsPerPage` to control how search results are displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js)). - `hitsPerPage`: sets the number of search results (_hits_) displayed per page. - `page`: specifies the page number of the search results you want to retrieve. Page numbering starts at 0, so the first page is `page=0`, the second is `page=1`, and so on. For example, to display 10 results per page starting from the third page, set `hitsPerPage` to 10 and `page` to 2.
|
24
24
|
attr_accessor :hits_per_page
|
25
25
|
|
26
26
|
# If `true`, return only enabled rules. If `false`, return only inactive rules. By default, _all_ rules are returned.
|
@@ -254,8 +254,6 @@ module Algolia
|
|
254
254
|
value
|
255
255
|
end
|
256
256
|
end
|
257
|
-
|
258
257
|
end
|
259
|
-
|
260
258
|
end
|
261
259
|
end
|
@@ -9,7 +9,6 @@ module Algolia
|
|
9
9
|
module Search
|
10
10
|
# OK
|
11
11
|
class SearchUserIdsParams
|
12
|
-
# Query to search. The search is a prefix search with [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) enabled. An empty query will retrieve all users.
|
13
12
|
attr_accessor :query
|
14
13
|
|
15
14
|
# Cluster name.
|
@@ -235,8 +234,6 @@ module Algolia
|
|
235
234
|
value
|
236
235
|
end
|
237
236
|
end
|
238
|
-
|
239
237
|
end
|
240
|
-
|
241
238
|
end
|
242
239
|
end
|
@@ -18,7 +18,7 @@ module Algolia
|
|
18
18
|
# Page of search results to retrieve.
|
19
19
|
attr_accessor :page
|
20
20
|
|
21
|
-
# Maximum number of hits per page. Algolia uses `page` and `hitsPerPage` to control how search results are displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js
|
21
|
+
# Maximum number of hits per page. Algolia uses `page` and `hitsPerPage` to control how search results are displayed ([paginated](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js)). - `hitsPerPage`: sets the number of search results (_hits_) displayed per page. - `page`: specifies the page number of the search results you want to retrieve. Page numbering starts at 0, so the first page is `page=0`, the second is `page=1`, and so on. For example, to display 10 results per page starting from the third page, set `hitsPerPage` to 10 and `page` to 2.
|
22
22
|
attr_accessor :hits_per_page
|
23
23
|
|
24
24
|
# Date and time when the object was updated, in RFC 3339 format.
|
@@ -255,8 +255,6 @@ module Algolia
|
|
255
255
|
value
|
256
256
|
end
|
257
257
|
end
|
258
|
-
|
259
258
|
end
|
260
|
-
|
261
259
|
end
|
262
260
|
end
|