Skip to content

Commit bdfb121

Browse files
authored
SOLR-17715: Deprecate SolrQuery.setRequestHandler (#3600)
and getRequestHandler. Use setPath instead.
1 parent bf46d55 commit bdfb121

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

solr/solrj/src/java/org/apache/solr/client/solrj/SolrQuery.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,12 +1139,15 @@ public Integer getStart() {
11391139
*
11401140
* @param qt The Request Handler name corresponding to one in solrconfig.xml on the server.
11411141
* @return this
1142+
* @deprecated Use {@link SolrRequest#setPath(String)}
11421143
*/
1144+
@Deprecated
11431145
public SolrQuery setRequestHandler(String qt) {
11441146
this.set(CommonParams.QT, qt);
11451147
return this;
11461148
}
11471149

1150+
@Deprecated
11481151
public String getRequestHandler() {
11491152
return this.get(CommonParams.QT);
11501153
}

0 commit comments

Comments
 (0)