@@ -115,9 +115,6 @@ public class BrowseParamsObject implements BrowseParams {
115115 @ JsonProperty ("ranking" )
116116 private List <String > ranking ;
117117
118- @ JsonProperty ("customRanking" )
119- private List <String > customRanking ;
120-
121118 @ JsonProperty ("relevancyStrictness" )
122119 private Integer relevancyStrictness ;
123120
@@ -163,9 +160,6 @@ public class BrowseParamsObject implements BrowseParams {
163160 @ JsonProperty ("removeStopWords" )
164161 private RemoveStopWords removeStopWords ;
165162
166- @ JsonProperty ("keepDiacriticsOnCharacters" )
167- private String keepDiacriticsOnCharacters ;
168-
169163 @ JsonProperty ("queryLanguages" )
170164 private List <SupportedLanguage > queryLanguages ;
171165
@@ -780,36 +774,6 @@ public List<String> getRanking() {
780774 return ranking ;
781775 }
782776
783- public BrowseParamsObject setCustomRanking (List <String > customRanking ) {
784- this .customRanking = customRanking ;
785- return this ;
786- }
787-
788- public BrowseParamsObject addCustomRanking (String customRankingItem ) {
789- if (this .customRanking == null ) {
790- this .customRanking = new ArrayList <>();
791- }
792- this .customRanking .add (customRankingItem );
793- return this ;
794- }
795-
796- /**
797- * Attributes to use as [custom
798- * ranking](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/).
799- * Attribute names are case-sensitive. The custom ranking attributes decide which items are shown
800- * first if the other ranking criteria are equal. Records with missing values for your selected
801- * custom ranking attributes are always sorted last. Boolean attributes are sorted based on their
802- * alphabetical order. **Modifiers** - `asc(\"ATTRIBUTE\")`. Sort the index by the values of an
803- * attribute, in ascending order. - `desc(\"ATTRIBUTE\")`. Sort the index by the values of an
804- * attribute, in descending order. If you use two or more custom ranking attributes, [reduce the
805- * precision](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/how-to/controlling-custom-ranking-metrics-precision/)
806- * of your first attributes, or the other attributes will never be applied.
807- */
808- @ javax .annotation .Nullable
809- public List <String > getCustomRanking () {
810- return customRanking ;
811- }
812-
813777 public BrowseParamsObject setRelevancyStrictness (Integer relevancyStrictness ) {
814778 this .relevancyStrictness = relevancyStrictness ;
815779 return this ;
@@ -1042,21 +1006,6 @@ public RemoveStopWords getRemoveStopWords() {
10421006 return removeStopWords ;
10431007 }
10441008
1045- public BrowseParamsObject setKeepDiacriticsOnCharacters (String keepDiacriticsOnCharacters ) {
1046- this .keepDiacriticsOnCharacters = keepDiacriticsOnCharacters ;
1047- return this ;
1048- }
1049-
1050- /**
1051- * Characters for which diacritics should be preserved. By default, Algolia removes diacritics
1052- * from letters. For example, `é` becomes `e`. If this causes issues in your search, you can
1053- * specify characters that should keep their diacritics.
1054- */
1055- @ javax .annotation .Nullable
1056- public String getKeepDiacriticsOnCharacters () {
1057- return keepDiacriticsOnCharacters ;
1058- }
1059-
10601009 public BrowseParamsObject setQueryLanguages (List <SupportedLanguage > queryLanguages ) {
10611010 this .queryLanguages = queryLanguages ;
10621011 return this ;
@@ -1503,7 +1452,6 @@ public boolean equals(Object o) {
15031452 Objects .equals (this .enableABTest , browseParamsObject .enableABTest ) &&
15041453 Objects .equals (this .attributesToRetrieve , browseParamsObject .attributesToRetrieve ) &&
15051454 Objects .equals (this .ranking , browseParamsObject .ranking ) &&
1506- Objects .equals (this .customRanking , browseParamsObject .customRanking ) &&
15071455 Objects .equals (this .relevancyStrictness , browseParamsObject .relevancyStrictness ) &&
15081456 Objects .equals (this .attributesToHighlight , browseParamsObject .attributesToHighlight ) &&
15091457 Objects .equals (this .attributesToSnippet , browseParamsObject .attributesToSnippet ) &&
@@ -1519,7 +1467,6 @@ public boolean equals(Object o) {
15191467 Objects .equals (this .disableTypoToleranceOnAttributes , browseParamsObject .disableTypoToleranceOnAttributes ) &&
15201468 Objects .equals (this .ignorePlurals , browseParamsObject .ignorePlurals ) &&
15211469 Objects .equals (this .removeStopWords , browseParamsObject .removeStopWords ) &&
1522- Objects .equals (this .keepDiacriticsOnCharacters , browseParamsObject .keepDiacriticsOnCharacters ) &&
15231470 Objects .equals (this .queryLanguages , browseParamsObject .queryLanguages ) &&
15241471 Objects .equals (this .decompoundQuery , browseParamsObject .decompoundQuery ) &&
15251472 Objects .equals (this .enableRules , browseParamsObject .enableRules ) &&
@@ -1585,7 +1532,6 @@ public int hashCode() {
15851532 enableABTest ,
15861533 attributesToRetrieve ,
15871534 ranking ,
1588- customRanking ,
15891535 relevancyStrictness ,
15901536 attributesToHighlight ,
15911537 attributesToSnippet ,
@@ -1601,7 +1547,6 @@ public int hashCode() {
16011547 disableTypoToleranceOnAttributes ,
16021548 ignorePlurals ,
16031549 removeStopWords ,
1604- keepDiacriticsOnCharacters ,
16051550 queryLanguages ,
16061551 decompoundQuery ,
16071552 enableRules ,
@@ -1668,7 +1613,6 @@ public String toString() {
16681613 sb .append (" enableABTest: " ).append (toIndentedString (enableABTest )).append ("\n " );
16691614 sb .append (" attributesToRetrieve: " ).append (toIndentedString (attributesToRetrieve )).append ("\n " );
16701615 sb .append (" ranking: " ).append (toIndentedString (ranking )).append ("\n " );
1671- sb .append (" customRanking: " ).append (toIndentedString (customRanking )).append ("\n " );
16721616 sb .append (" relevancyStrictness: " ).append (toIndentedString (relevancyStrictness )).append ("\n " );
16731617 sb .append (" attributesToHighlight: " ).append (toIndentedString (attributesToHighlight )).append ("\n " );
16741618 sb .append (" attributesToSnippet: " ).append (toIndentedString (attributesToSnippet )).append ("\n " );
@@ -1684,7 +1628,6 @@ public String toString() {
16841628 sb .append (" disableTypoToleranceOnAttributes: " ).append (toIndentedString (disableTypoToleranceOnAttributes )).append ("\n " );
16851629 sb .append (" ignorePlurals: " ).append (toIndentedString (ignorePlurals )).append ("\n " );
16861630 sb .append (" removeStopWords: " ).append (toIndentedString (removeStopWords )).append ("\n " );
1687- sb .append (" keepDiacriticsOnCharacters: " ).append (toIndentedString (keepDiacriticsOnCharacters )).append ("\n " );
16881631 sb .append (" queryLanguages: " ).append (toIndentedString (queryLanguages )).append ("\n " );
16891632 sb .append (" decompoundQuery: " ).append (toIndentedString (decompoundQuery )).append ("\n " );
16901633 sb .append (" enableRules: " ).append (toIndentedString (enableRules )).append ("\n " );
0 commit comments