Follow up on GH#12055 to remove un-referenced test methods

This commit is contained in:
Greg Miller 2023-02-27 16:03:44 -08:00
parent c6667e709f
commit b23b7475e1
1 changed files with 0 additions and 36 deletions

View File

@ -97,21 +97,6 @@ public class TestMultiTermConstantScore extends TestBaseRangeFilter {
small = null;
}
/**
* macro for readability
*
* @deprecated please use {@link #cspq(Term, MultiTermQuery.RewriteMethod)} instead
*/
@Deprecated
public static Query csrq(String f, String l, String h, boolean il, boolean ih) {
TermRangeQuery query =
TermRangeQuery.newStringRange(f, l, h, il, ih, MultiTermQuery.CONSTANT_SCORE_REWRITE);
if (VERBOSE) {
System.out.println("TEST: query=" + query);
}
return query;
}
/** macro for readability */
public static Query csrq(
String f, String l, String h, boolean il, boolean ih, MultiTermQuery.RewriteMethod method) {
@ -122,32 +107,11 @@ public class TestMultiTermConstantScore extends TestBaseRangeFilter {
return query;
}
/**
* macro for readability
*
* @deprecated please use {@link #cspq(Term, MultiTermQuery.RewriteMethod)} instead
*/
@Deprecated
public static Query cspq(Term prefix) {
return new PrefixQuery(prefix, MultiTermQuery.CONSTANT_SCORE_REWRITE);
}
/** macro for readability */
public static Query cspq(Term prefix, MultiTermQuery.RewriteMethod method) {
return new PrefixQuery(prefix, method);
}
/**
* macro for readability
*
* @deprecated please use {@link #cswcq(Term, MultiTermQuery.RewriteMethod)} instead
*/
@Deprecated
public static Query cswcq(Term wild) {
return new WildcardQuery(
wild, Operations.DEFAULT_DETERMINIZE_WORK_LIMIT, MultiTermQuery.CONSTANT_SCORE_REWRITE);
}
/** macro for readability */
public static Query cswcq(Term wild, MultiTermQuery.RewriteMethod method) {
return new WildcardQuery(wild, Operations.DEFAULT_DETERMINIZE_WORK_LIMIT, method);