django-haystack / django-haystack/django-haystack

Solr 5.0+ Not working

Open
#1,183 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backend : solr needs review
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.