Skip to content

Commit

Permalink
Only cache when schematize and on startup is turned off
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Aug 15, 2024
1 parent 043593b commit 80e255a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void close() throws IOException {
public NamedList<Object> request(SolrRequest<?> request, String collection)
throws SolrServerException, IOException {

if (Objects.isNull(request)) {
if (Objects.isNull(request) || index.isSchematize() || index.isOnStartup()) {
return solrClient.request(request, collection);
}

Expand Down

0 comments on commit 80e255a

Please sign in to comment.