D
D
Denis Egorov2014-06-09 19:56:57
Django
Denis Egorov, 2014-06-09 19:56:57

Haystack + Solr: where to get the template for the new core?

Starting a new project with Haystack/Solr for the 100th time, I am faced with an idiotic question: how to create a new Solr core in multricore mode, ready for use with django-haystack?
And every time I can't find the answer...
As a result, I have to do something like this:
- Copy and from the example example/multicore/core0 to example/multicore/
- Copy the files from the single-core example to the new core
- Copy the Solr schema generated by django-haystack- om
- Start indexing, and, depending on the error, fix something ...
Share recipes for cooking kernels?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Egorov, 2014-06-30
@ur001

Nobody is answering. Then I will answer myself. Don't use Solr, use ElasticSearch . This is the same Lucene, but in a much nicer wrapper:
1) Doesn't require JRE/Jetty/Tomcat to be installed, runs with its own binary
2) Configured via yaml/json instead of ugly XML
3) Doesn't require schema and reload when it changes!
4) Doesn't need any cores, while still quietly supporting a lot of indexes
And here is a whole site comparing Solr vs. elasticsearch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question