Skip to content

Commit

Permalink
prevent DOCS_AND_FREQS_AND_POSITIONS Solr error #10887 #11139
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jan 8, 2025
1 parent 6d6a509 commit 24bb80d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/release-notes/10887-solr-field-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,26 @@ Now start Solr.

8\. Reindex Solr

Note: these instructions are a little different than usual because we observed a strange error about `DOCS_AND_FREQS_AND_POSITIONS` when testing upgrades (see #11139 for details). Extra steps about explicitly clearing the index and reloading the core are included. If you run into trouble, as a last resort, you could reinstall Solr completely and then reindex.

Clear the Solr index:

```shell
curl http://localhost:8080/api/admin/index/clear
```

Make sure the Solr index is empty:

```shell
curl "http://localhost:8983/solr/collection1/select?rows=1000000&wt=json&indent=true&q=*%3A*"
```

Reload the Solr core:

```shell
curl "http://localhost:8983/solr/admin/cores?action=RELOAD&core=collection1"
```

Below is the simplest way to reindex Solr:

```shell
Expand Down

0 comments on commit 24bb80d

Please sign in to comment.