You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/main/java/org/typesense/model/MultiSearchParameters.java
+25
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,12 @@ public class MultiSearchParameters {
200
200
**/
201
201
privateBooleanpreSegmentedQuery = null;
202
202
203
+
@Schema(description = "Search using a bunch of search parameters by setting this parameter to the name of the existing Preset. ")
204
+
/**
205
+
* Search using a bunch of search parameters by setting this parameter to the name of the existing Preset.
206
+
**/
207
+
privateStringpreset = null;
208
+
203
209
@Schema(description = "If you have some overrides defined but want to disable all of them during query time, you can do that by setting this parameter to false ")
204
210
/**
205
211
* If you have some overrides defined but want to disable all of them during query time, you can do that by setting this parameter to false
@@ -793,6 +799,24 @@ public MultiSearchParameters preSegmentedQuery(Boolean preSegmentedQuery) {
793
799
returnthis;
794
800
}
795
801
802
+
/**
803
+
* Search using a bunch of search parameters by setting this parameter to the name of the existing Preset.
804
+
* @return preset
805
+
**/
806
+
@JsonProperty("preset")
807
+
publicStringgetPreset() {
808
+
returnpreset;
809
+
}
810
+
811
+
publicvoidsetPreset(Stringpreset) {
812
+
this.preset = preset;
813
+
}
814
+
815
+
publicMultiSearchParameterspreset(Stringpreset) {
816
+
this.preset = preset;
817
+
returnthis;
818
+
}
819
+
796
820
/**
797
821
* If you have some overrides defined but want to disable all of them during query time, you can do that by setting this parameter to false
Copy file name to clipboardexpand all lines: src/main/java/org/typesense/model/SearchParameters.java
+25
Original file line number
Diff line number
Diff line change
@@ -207,6 +207,12 @@ public class SearchParameters {
207
207
**/
208
208
privateBooleanpreSegmentedQuery = null;
209
209
210
+
@Schema(description = "Search using a bunch of search parameters by setting this parameter to the name of the existing Preset. ")
211
+
/**
212
+
* Search using a bunch of search parameters by setting this parameter to the name of the existing Preset.
213
+
**/
214
+
privateStringpreset = null;
215
+
210
216
@Schema(description = "If you have some overrides defined but want to disable all of them during query time, you can do that by setting this parameter to false ")
211
217
/**
212
218
* If you have some overrides defined but want to disable all of them during query time, you can do that by setting this parameter to false
@@ -848,6 +854,24 @@ public SearchParameters preSegmentedQuery(Boolean preSegmentedQuery) {
848
854
returnthis;
849
855
}
850
856
857
+
/**
858
+
* Search using a bunch of search parameters by setting this parameter to the name of the existing Preset.
859
+
* @return preset
860
+
**/
861
+
@JsonProperty("preset")
862
+
publicStringgetPreset() {
863
+
returnpreset;
864
+
}
865
+
866
+
publicvoidsetPreset(Stringpreset) {
867
+
this.preset = preset;
868
+
}
869
+
870
+
publicSearchParameterspreset(Stringpreset) {
871
+
this.preset = preset;
872
+
returnthis;
873
+
}
874
+
851
875
/**
852
876
* If you have some overrides defined but want to disable all of them during query time, you can do that by setting this parameter to false
0 commit comments