-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,544 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.3 on 2018-02-26 14:14 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('formlibrary', '0006_auto_20171206_0942'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='customform', | ||
name='status', | ||
field=models.CharField(blank=True, choices=[('new', 'New'), ('published', 'Published')], default='new', max_length=15, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#Search | ||
###Configuration | ||
|
||
###Updating the index | ||
The search index automatically updates itself whenever an object is saved. In a freshly configured, clean environment | ||
there is no need to manually update the search index. | ||
|
||
If the search index was corrupted or the database is build upon an import of old data the index has to be manually | ||
populated. | ||
|
||
To do this first make sure that no index exists for the configured environment. | ||
|
||
Check ElasticSearch that no index exists with the index prefix defined in ```$ELASTICSEARCH_INDEX_PREFIX``` | ||
Run ```GET /_cat/indices?v``` on the cluster to see existing indices. If the prefix is already in use check the | ||
configuration of other instances for conflicting settings and, if safe, | ||
delete the indices by running ```DELETE /prefix_*``` where prefix is the index prefix defined in the environment | ||
variables. | ||
|
||
Finally run | ||
``` | ||
python manage.py search-index _all | ||
``` | ||
on the container to recreate the index. |
Oops, something went wrong.