We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent defd4ef commit 4229a5dCopy full SHA for 4229a5d
1 file changed
.github/scripts/solr9-cuj7-create-index.sh
@@ -30,7 +30,15 @@ if [ "$MODULE" = "apachesolr" ]; then
30
step "Step 2: Index content"
31
terminus drush "$SITE_ENV" -- solr-index
32
33
- step "Step 3: Verify index count"
+ step "Step 3: Commit index and verify count"
34
+ # Force Solr commit to ensure docs are searchable before CUJ 8
35
+ drush_ev "
36
+ \$env_id = apachesolr_default_environment();
37
+ \$solr = apachesolr_get_solr(\$env_id);
38
+ \$solr->commit();
39
+ " || true
40
+ sleep 5
41
+
42
INDEX_STATS=$(drush_ev "
43
\$env_id = apachesolr_default_environment();
44
try {
0 commit comments