Skip to content

Commit

Permalink
This was committed last night BY MISTAKE! - that was a test version o…
Browse files Browse the repository at this point in the history
…f the

index service, with permission indexing disabled...
reverting.
  • Loading branch information
landreev committed Jan 8, 2016
1 parent 231e014 commit 25eb2db
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ public Future<String> indexDataverse(Dataverse dataverse) {
}

dvObjectService.updateContentIndexTime(dataverse);
//IndexResponse indexResponse = solrIndexService.indexPermissionsForOneDvObject(dataverse);
IndexResponse indexResponse = new IndexResponse("dataverse permissions indexing disabled for debugging");
IndexResponse indexResponse = solrIndexService.indexPermissionsForOneDvObject(dataverse);
String msg = "indexed dataverse " + dataverse.getId() + ":" + dataverse.getAlias() + ". Response from permission indexing: " + indexResponse.getMessage();
return new AsyncResult<>(msg);

Expand Down Expand Up @@ -575,7 +574,7 @@ private String deleteDraftFiles(List<String> solrDocIdsForDraftFilesToDelete) {
}

private IndexResponse indexDatasetPermissions(Dataset dataset) {
boolean disabledForDebugging = true;
boolean disabledForDebugging = false;
if (disabledForDebugging) {
/**
* Performance problems indexing permissions in
Expand Down

0 comments on commit 25eb2db

Please sign in to comment.