1
0
Fork 0

document the INDEX_NAME_TMP configuration variable (#584)

This commit is contained in:
Dan Allen 2019-07-22 06:16:49 -06:00 committed by Sylvain Pace
parent 775507a640
commit 5601e0e936

View file

@ -40,6 +40,15 @@ name you'd like.
}
```
When DocSearch runs, it writes records to a temporary index. Once scraping is
complete, it moves that index to the name specified by `index_name` (replacing
the existing index).
By default, the name of the temporary index is the value of `index_name` +
*_tmp*. If you want to use a different name, set the `INDEX_NAME_TMP`
environment variable to a different value. This variable can be set in the .env
file alongside `APPLICATION_ID` and `API_KEY`.
## `start_urls`
This array contains the list of URLs that will be used to start crawling your