Init Django-SHOP
This commit is contained in:
8
weirdlittleempire/search_indexes.py
Normal file
8
weirdlittleempire/search_indexes.py
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
from shop.search.documents import ProductDocument
|
||||
|
||||
settings = {
|
||||
'number_of_shards': 1,
|
||||
'number_of_replicas': 0,
|
||||
}
|
||||
ProductDocument(settings=settings)
|
||||
Reference in New Issue
Block a user