diff -r ba6056f58516 -r c05567404888 src/p4l/settings.py --- a/src/p4l/settings.py Fri Sep 20 15:44:11 2013 +0200 +++ b/src/p4l/settings.py Fri Sep 20 22:21:48 2013 +0200 @@ -136,6 +136,7 @@ 'django_extensions', 'south', 'rest_framework', + 'haystack', 'p4l' ) @@ -173,6 +174,16 @@ } } +HAYSTACK_CONNECTIONS = { + 'default': { + 'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', + 'URL': '', + 'INDEX_NAME': 'p4l', + }, +} + + + NB_RECORDS_BY_PAGE = 20 SPARQL_QUERY_ENDPOINT = "http://localhost:8080/openrdf-sesame/repositories/plan4learning" SPARQL_SUBJECT_QUERIES = {