Skip to content

Commit

Permalink
optics
Browse files Browse the repository at this point in the history
  • Loading branch information
benzkji committed Jan 22, 2024
1 parent f4df881 commit 5eab28e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,27 @@ class NewsIndexSource(IndexSource / MultiLanguageIndexSource):

Run `./manage.py postgres_searchindex_update` to update/build the index.

If you want to control how things get indexed, you can check
```
» ./manage.py postgres_searchindex_update
====================================
Updating index "de" with kwargs {'language': 'de'}
Person. Indexing 5 entries
> Done. Removed from index: 0
Project. Indexing 66 entries
> Done. Removed from index: 0
Media. Indexing 36 entries
> Done. Removed from index: 2
====================================
Updating index "fr" with kwargs {'language': 'fr'}
Person. Indexing 5 entries
> Done. Removed from index: 0
Project. Indexing 66 entries
> Done. Removed from index: 0
Media. Indexing 36 entries
> Done. Removed from index: 2
```

If you want to control how things were indexed, you can check
your `IndexEntry` instances in Django admin.

### Search!
Expand Down

0 comments on commit 5eab28e

Please sign in to comment.