22using Microsoft . EntityFrameworkCore ;
33using Microsoft . EntityFrameworkCore . Diagnostics ;
44using Microsoft . EntityFrameworkCore . Query ;
5- using ParadeDB . EntityFrameworkCore . Modifiers ;
65
76namespace ParadeDB . EntityFrameworkCore . Extensions ;
87
@@ -25,70 +24,6 @@ string[] values
2524 ) =>
2625 throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchDisjunction ) ) ) ;
2726
28- [ DbFunction ]
29- public static bool MatchDisjunction < TProperty > (
30- this DbFunctions _ ,
31- TProperty property ,
32- string value ,
33- [ NotParameterized ] Fuzzy fuzzy
34- ) =>
35- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchDisjunction ) ) ) ;
36-
37- [ DbFunction ]
38- public static bool MatchDisjunction < TProperty > (
39- this DbFunctions _ ,
40- TProperty property ,
41- string [ ] values ,
42- [ NotParameterized ] Fuzzy fuzzy
43- ) =>
44- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchDisjunction ) ) ) ;
45-
46- [ DbFunction ]
47- public static bool MatchDisjunction < TProperty > (
48- this DbFunctions _ ,
49- TProperty property ,
50- string value ,
51- [ NotParameterized ] Boost boost
52- ) =>
53- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchDisjunction ) ) ) ;
54-
55- [ DbFunction ]
56- public static bool MatchDisjunction < TProperty > (
57- this DbFunctions _ ,
58- TProperty property ,
59- string [ ] values ,
60- [ NotParameterized ] Boost boost
61- ) =>
62- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchDisjunction ) ) ) ;
63-
64- [ DbFunction ]
65- public static bool MatchDisjunction < TProperty > (
66- this DbFunctions _ ,
67- TProperty property ,
68- string value ,
69- [ NotParameterized ] Const @const
70- ) =>
71- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchDisjunction ) ) ) ;
72-
73- [ DbFunction ]
74- public static bool MatchDisjunction < TProperty > (
75- this DbFunctions _ ,
76- TProperty property ,
77- string [ ] values ,
78- [ NotParameterized ] Const @const
79- ) =>
80- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchDisjunction ) ) ) ;
81-
82- [ DbFunction ]
83- public static bool MatchDisjunction < TProperty > (
84- this DbFunctions _ ,
85- TProperty property ,
86- string value ,
87- [ NotParameterized ] Fuzzy fuzzy ,
88- [ NotParameterized ] Boost boost
89- ) =>
90- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchDisjunction ) ) ) ;
91-
9227 [ DbFunction ]
9328 public static bool MatchConjunction < TProperty > (
9429 this DbFunctions _ ,
@@ -105,70 +40,6 @@ string[] values
10540 ) =>
10641 throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchConjunction ) ) ) ;
10742
108- [ DbFunction ]
109- public static bool MatchConjunction < TProperty > (
110- this DbFunctions _ ,
111- TProperty property ,
112- string value ,
113- [ NotParameterized ] Fuzzy fuzzy
114- ) =>
115- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchConjunction ) ) ) ;
116-
117- [ DbFunction ]
118- public static bool MatchConjunction < TProperty > (
119- this DbFunctions _ ,
120- TProperty property ,
121- string [ ] values ,
122- [ NotParameterized ] Fuzzy fuzzy
123- ) =>
124- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchConjunction ) ) ) ;
125-
126- [ DbFunction ]
127- public static bool MatchConjunction < TProperty > (
128- this DbFunctions _ ,
129- TProperty property ,
130- string value ,
131- [ NotParameterized ] Boost boost
132- ) =>
133- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchConjunction ) ) ) ;
134-
135- [ DbFunction ]
136- public static bool MatchConjunction < TProperty > (
137- this DbFunctions _ ,
138- TProperty property ,
139- string [ ] values ,
140- [ NotParameterized ] Boost boost
141- ) =>
142- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchConjunction ) ) ) ;
143-
144- [ DbFunction ]
145- public static bool MatchConjunction < TProperty > (
146- this DbFunctions _ ,
147- TProperty property ,
148- string value ,
149- [ NotParameterized ] Const @const
150- ) =>
151- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchConjunction ) ) ) ;
152-
153- [ DbFunction ]
154- public static bool MatchConjunction < TProperty > (
155- this DbFunctions _ ,
156- TProperty property ,
157- string [ ] values ,
158- [ NotParameterized ] Const @const
159- ) =>
160- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchConjunction ) ) ) ;
161-
162- [ DbFunction ]
163- public static bool MatchConjunction < TProperty > (
164- this DbFunctions _ ,
165- TProperty property ,
166- string value ,
167- [ NotParameterized ] Fuzzy fuzzy ,
168- [ NotParameterized ] Boost boost
169- ) =>
170- throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( MatchConjunction ) ) ) ;
171-
17243 [ DbFunction ]
17344 public static bool Phrase < TProperty > ( this DbFunctions _ , TProperty property , string value ) =>
17445 throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Phrase ) ) ) ;
@@ -177,54 +48,6 @@ public static bool Phrase<TProperty>(this DbFunctions _, TProperty property, str
17748 public static bool Phrase < TProperty > ( this DbFunctions _ , TProperty property , string [ ] values ) =>
17849 throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Phrase ) ) ) ;
17950
180- [ DbFunction ]
181- public static bool Phrase < TProperty > (
182- this DbFunctions _ ,
183- TProperty property ,
184- string value ,
185- [ NotParameterized ] Boost boost
186- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Phrase ) ) ) ;
187-
188- [ DbFunction ]
189- public static bool Phrase < TProperty > (
190- this DbFunctions _ ,
191- TProperty property ,
192- string [ ] values ,
193- [ NotParameterized ] Boost boost
194- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Phrase ) ) ) ;
195-
196- [ DbFunction ]
197- public static bool Phrase < TProperty > (
198- this DbFunctions _ ,
199- TProperty property ,
200- string value ,
201- [ NotParameterized ] Const @const
202- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Phrase ) ) ) ;
203-
204- [ DbFunction ]
205- public static bool Phrase < TProperty > (
206- this DbFunctions _ ,
207- TProperty property ,
208- string [ ] values ,
209- [ NotParameterized ] Const @const
210- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Phrase ) ) ) ;
211-
212- [ DbFunction ]
213- public static bool Phrase < TProperty > (
214- this DbFunctions _ ,
215- TProperty property ,
216- string value ,
217- [ NotParameterized ] Slop slop
218- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Phrase ) ) ) ;
219-
220- [ DbFunction ]
221- public static bool Phrase < TProperty > (
222- this DbFunctions _ ,
223- TProperty property ,
224- string [ ] values ,
225- [ NotParameterized ] Slop slop
226- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Phrase ) ) ) ;
227-
22851 [ DbFunction ]
22952 public static bool Term < TProperty > ( this DbFunctions _ , TProperty property , string value ) =>
23053 throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
@@ -233,63 +56,6 @@ public static bool Term<TProperty>(this DbFunctions _, TProperty property, strin
23356 public static bool Term < TProperty > ( this DbFunctions _ , TProperty property , string [ ] values ) =>
23457 throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
23558
236- [ DbFunction ]
237- public static bool Term < TProperty > (
238- this DbFunctions _ ,
239- TProperty property ,
240- string value ,
241- [ NotParameterized ] Fuzzy fuzzy
242- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
243-
244- [ DbFunction ]
245- public static bool Term < TProperty > (
246- this DbFunctions _ ,
247- TProperty property ,
248- string [ ] values ,
249- [ NotParameterized ] Fuzzy fuzzy
250- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
251-
252- [ DbFunction ]
253- public static bool Term < TProperty > (
254- this DbFunctions _ ,
255- TProperty property ,
256- string value ,
257- [ NotParameterized ] Boost boost
258- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
259-
260- [ DbFunction ]
261- public static bool Term < TProperty > (
262- this DbFunctions _ ,
263- TProperty property ,
264- string [ ] values ,
265- [ NotParameterized ] Boost boost
266- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
267-
268- [ DbFunction ]
269- public static bool Term < TProperty > (
270- this DbFunctions _ ,
271- TProperty property ,
272- string value ,
273- [ NotParameterized ] Const @const
274- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
275-
276- [ DbFunction ]
277- public static bool Term < TProperty > (
278- this DbFunctions _ ,
279- TProperty property ,
280- string [ ] values ,
281- [ NotParameterized ] Const @const
282- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
283-
284- [ DbFunction ]
285- public static bool Term < TProperty > (
286- this DbFunctions _ ,
287- TProperty property ,
288- string value ,
289- [ NotParameterized ] Fuzzy fuzzy ,
290- [ NotParameterized ] Boost boost
291- ) => throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Term ) ) ) ;
292-
29359 [ DbFunction ]
29460 public static float Score < TProperty > ( this DbFunctions _ , TProperty property ) =>
29561 throw new InvalidOperationException ( CoreStrings . FunctionOnClient ( nameof ( Score ) ) ) ;
0 commit comments