Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
5.5.5, 6.6.2, 7.2.1
-
None
-
None
Description
public Map<String,LBHttpSolrClient.Req> getRoutes(DocRouter router, DocCollection col, Map<String,List<String>> urlMap, ModifiableSolrParams params, String idField) { .... if (request != null) { UpdateRequest urequest = (UpdateRequest) request.getRequest(); urequest.deleteById(deleteId, version); } else{ UpdateRequest urequest = new UpdateRequest(); urequest.setParams(params); urequest.deleteById(deleteId, version); urequest.setCommitWithin(getCommitWithin()); request = new LBHttpSolrClient.Req(urequest, urls); routes.put(leaderUrl, request); } .... }
while delete by ids, inner wrapped request to routed slice should contains auth credentials from source request, as adding documents does.
Attachments
Attachments
Issue Links
- duplicates
-
SOLR-9399 Delete requests do not send credentials & fails for Basic Authentication
- Closed
- is related to
-
SOLR-12049 Solrj doesn't pass basic auth for delete requests
- Closed