Skip to content

Commit

Permalink
fix copy/past error, target doc for file, not dataset #10554
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed May 17, 2024
1 parent 5a5c970 commit 6baef6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ public SolrInputDocuments toSolrDocs(IndexableDataset indexableDataset, Set<Long
fileSolrDocId = solrDocIdentifierFile + fileEntityId;
datafileSolrInputDocument.addField(SearchFields.PUBLICATION_STATUS, PUBLISHED_STRING);
if (FeatureFlags.AVOID_EXPENSIVE_SOLR_JOIN.enabled()) {
solrInputDocument.addField(SearchFields.PUBLIC_OBJECT, true);
datafileSolrInputDocument.addField(SearchFields.PUBLIC_OBJECT, true);
}
// datafileSolrInputDocument.addField(SearchFields.PERMS, publicGroupString);
addDatasetReleaseDateToSolrDoc(datafileSolrInputDocument, dataset);
Expand Down

0 comments on commit 6baef6a

Please sign in to comment.