Elastic search. Fuck you, Solr.
parent
2bec6e82a6
commit
bf21af8dcf
|
@ -13,8 +13,8 @@ gunicorn
|
||||||
lxml
|
lxml
|
||||||
parsedatetime
|
parsedatetime
|
||||||
psycopg2
|
psycopg2
|
||||||
|
pyelasticsearch
|
||||||
Pygments
|
Pygments
|
||||||
pysolr
|
|
||||||
python-memcached
|
python-memcached
|
||||||
python-postmark
|
python-postmark
|
||||||
pyyaml
|
pyyaml
|
||||||
|
@ -26,6 +26,7 @@ Werkzeug
|
||||||
|
|
||||||
git+git://github.com/dlo/bottlenose.git
|
git+git://github.com/dlo/bottlenose.git
|
||||||
git+git://github.com/yoavaviram/python-amazon-simple-product-api.git
|
git+git://github.com/yoavaviram/python-amazon-simple-product-api.git
|
||||||
|
git+git://github.com/toastdriven/pyelasticsearch.git
|
||||||
git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack
|
git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack
|
||||||
hg+https://bitbucket.org/ubernostrum/django-registration#egg=django-registration
|
hg+https://bitbucket.org/ubernostrum/django-registration#egg=django-registration
|
||||||
git+https://github.com/toastdriven/django-tastypie.git#egg=django-tastypie
|
git+https://github.com/toastdriven/django-tastypie.git#egg=django-tastypie
|
||||||
|
|
|
@ -218,8 +218,9 @@ AUTH_PROFILE_MODULE = 'accounts.UserProfile'
|
||||||
# Search
|
# Search
|
||||||
HAYSTACK_CONNECTIONS = {
|
HAYSTACK_CONNECTIONS = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'haystack.backends.solr_backend.SolrEngine',
|
'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine',
|
||||||
'URL': 'http://127.0.0.1:8983/solr'
|
'URL': 'http://127.0.0.1:9200/',
|
||||||
|
'INDEX_NAME': 'haystack',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue