@@ -115,9 +115,6 @@ public class BrowseParamsObject implements BrowseParams {
115
115
@ JsonProperty ("ranking" )
116
116
private List <String > ranking ;
117
117
118
- @ JsonProperty ("customRanking" )
119
- private List <String > customRanking ;
120
-
121
118
@ JsonProperty ("relevancyStrictness" )
122
119
private Integer relevancyStrictness ;
123
120
@@ -163,9 +160,6 @@ public class BrowseParamsObject implements BrowseParams {
163
160
@ JsonProperty ("removeStopWords" )
164
161
private RemoveStopWords removeStopWords ;
165
162
166
- @ JsonProperty ("keepDiacriticsOnCharacters" )
167
- private String keepDiacriticsOnCharacters ;
168
-
169
163
@ JsonProperty ("queryLanguages" )
170
164
private List <SupportedLanguage > queryLanguages ;
171
165
@@ -780,36 +774,6 @@ public List<String> getRanking() {
780
774
return ranking ;
781
775
}
782
776
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
-
813
777
public BrowseParamsObject setRelevancyStrictness (Integer relevancyStrictness ) {
814
778
this .relevancyStrictness = relevancyStrictness ;
815
779
return this ;
@@ -1042,21 +1006,6 @@ public RemoveStopWords getRemoveStopWords() {
1042
1006
return removeStopWords ;
1043
1007
}
1044
1008
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
-
1060
1009
public BrowseParamsObject setQueryLanguages (List <SupportedLanguage > queryLanguages ) {
1061
1010
this .queryLanguages = queryLanguages ;
1062
1011
return this ;
@@ -1503,7 +1452,6 @@ public boolean equals(Object o) {
1503
1452
Objects .equals (this .enableABTest , browseParamsObject .enableABTest ) &&
1504
1453
Objects .equals (this .attributesToRetrieve , browseParamsObject .attributesToRetrieve ) &&
1505
1454
Objects .equals (this .ranking , browseParamsObject .ranking ) &&
1506
- Objects .equals (this .customRanking , browseParamsObject .customRanking ) &&
1507
1455
Objects .equals (this .relevancyStrictness , browseParamsObject .relevancyStrictness ) &&
1508
1456
Objects .equals (this .attributesToHighlight , browseParamsObject .attributesToHighlight ) &&
1509
1457
Objects .equals (this .attributesToSnippet , browseParamsObject .attributesToSnippet ) &&
@@ -1519,7 +1467,6 @@ public boolean equals(Object o) {
1519
1467
Objects .equals (this .disableTypoToleranceOnAttributes , browseParamsObject .disableTypoToleranceOnAttributes ) &&
1520
1468
Objects .equals (this .ignorePlurals , browseParamsObject .ignorePlurals ) &&
1521
1469
Objects .equals (this .removeStopWords , browseParamsObject .removeStopWords ) &&
1522
- Objects .equals (this .keepDiacriticsOnCharacters , browseParamsObject .keepDiacriticsOnCharacters ) &&
1523
1470
Objects .equals (this .queryLanguages , browseParamsObject .queryLanguages ) &&
1524
1471
Objects .equals (this .decompoundQuery , browseParamsObject .decompoundQuery ) &&
1525
1472
Objects .equals (this .enableRules , browseParamsObject .enableRules ) &&
@@ -1585,7 +1532,6 @@ public int hashCode() {
1585
1532
enableABTest ,
1586
1533
attributesToRetrieve ,
1587
1534
ranking ,
1588
- customRanking ,
1589
1535
relevancyStrictness ,
1590
1536
attributesToHighlight ,
1591
1537
attributesToSnippet ,
@@ -1601,7 +1547,6 @@ public int hashCode() {
1601
1547
disableTypoToleranceOnAttributes ,
1602
1548
ignorePlurals ,
1603
1549
removeStopWords ,
1604
- keepDiacriticsOnCharacters ,
1605
1550
queryLanguages ,
1606
1551
decompoundQuery ,
1607
1552
enableRules ,
@@ -1668,7 +1613,6 @@ public String toString() {
1668
1613
sb .append (" enableABTest: " ).append (toIndentedString (enableABTest )).append ("\n " );
1669
1614
sb .append (" attributesToRetrieve: " ).append (toIndentedString (attributesToRetrieve )).append ("\n " );
1670
1615
sb .append (" ranking: " ).append (toIndentedString (ranking )).append ("\n " );
1671
- sb .append (" customRanking: " ).append (toIndentedString (customRanking )).append ("\n " );
1672
1616
sb .append (" relevancyStrictness: " ).append (toIndentedString (relevancyStrictness )).append ("\n " );
1673
1617
sb .append (" attributesToHighlight: " ).append (toIndentedString (attributesToHighlight )).append ("\n " );
1674
1618
sb .append (" attributesToSnippet: " ).append (toIndentedString (attributesToSnippet )).append ("\n " );
@@ -1684,7 +1628,6 @@ public String toString() {
1684
1628
sb .append (" disableTypoToleranceOnAttributes: " ).append (toIndentedString (disableTypoToleranceOnAttributes )).append ("\n " );
1685
1629
sb .append (" ignorePlurals: " ).append (toIndentedString (ignorePlurals )).append ("\n " );
1686
1630
sb .append (" removeStopWords: " ).append (toIndentedString (removeStopWords )).append ("\n " );
1687
- sb .append (" keepDiacriticsOnCharacters: " ).append (toIndentedString (keepDiacriticsOnCharacters )).append ("\n " );
1688
1631
sb .append (" queryLanguages: " ).append (toIndentedString (queryLanguages )).append ("\n " );
1689
1632
sb .append (" decompoundQuery: " ).append (toIndentedString (decompoundQuery )).append ("\n " );
1690
1633
sb .append (" enableRules: " ).append (toIndentedString (enableRules )).append ("\n " );
0 commit comments