django-haystack / django-haystack/django-haystack
Solr 5.0+ Not working
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 1.3k
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 3
Description
I just started using haystack. I found out that the generated schema.xml doesnt work with new versions of Solr. This is what happens when I try to use Solr with the generated schema.xml:
test_shard1_replica1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core test_shard1_replica1: Plugin init failure for [schema.xml] fieldType "sint": Error loading class 'solr.SortableIntField'. Schema file is /configs/test/schema.xml
It seems that haystack uses an obsolete class that was removed from Solr.
Any help appreciated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the generated schema.xml and the code that emits the sint fieldType, then review how that configuration is intended to work with Solr 5.0+. Reproduce the schema-loading failure and verify that the generated schema loads successfully on a supported newer Solr version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100