Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,22 @@ public enum METHOD {

/**If set to true, every request that implements {@link V2RequestSupport} will be converted
* to a V2 API call
*
* @deprecated
*/
@Deprecated
@SuppressWarnings({"rawtypes"})
public SolrRequest setUseV2(boolean flag){
this.usev2 = flag;
return this;
}

/**If set to true use javabin instead of json (default)
/**
* If set to true use javabin instead of json (default)
*
* @deprecated
*/
@Deprecated
@SuppressWarnings({"rawtypes"})
public SolrRequest setUseBinaryV2(boolean flag){
this.useBinaryV2 = flag;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@
/**A a request object is able to convert itself to V2 Request
* it should implement this interface
*
* @deprecated
*/
@Deprecated
public interface V2RequestSupport {
/**If usev2 flag is set to true, return V2Request, if not,
/**
* If usev2 flag is set to true, return V2Request, if not,
* return V1 request object
*
* @deprecated
*/
@Deprecated
@SuppressWarnings({"rawtypes"})
SolrRequest getV2Request();
}
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public CollectionAdminRequest(String path, CollectionAction action) {
super(METHOD.GET, path);
this.action = checkNotNull(CoreAdminParams.ACTION, action);
}

@Override
@SuppressWarnings({"rawtypes"})
public SolrRequest getV2Request() {
Expand Down