Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 590651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:33:08+00:00 2026-05-13T15:33:08+00:00

During development I used whoosh as a backend, and now want to switch to

  • 0

During development I used whoosh as a backend, and now want to switch to
solr. I installed solr, changed the settings, to
HAYSTACK_SEARCH_ENGINE, and HAYSTACK_SOLR_URL.

Now when I try to update or rebuild the index it fails with
Failed to add documents to Solr: [Reason: None]
.

All searches are also wrong with 0 results returned for all queries..
This work if I change to whoosh. However, I have a RealTimeSearch
index set, and during model creation I am getting no warning about not
being able to write to search index. (From which I am assuming that data is being correctly being written to solr index.

I can see that solr is running by going directly to the port where solr started.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:33:08+00:00Added an answer on May 13, 2026 at 3:33 pm

    This error usually happens when your schema.xml file is improperly configured.

    You can use python manage.py build_solr_schema > schema.xml to generate the schema.

    In order to actually have solr use it, you typically place it in example/solr/conf/schema.xml

    Finally: watch the log output of your Solr server. During development I have it running via java -jar start.jar and it implicitly prints to my screen. Otherwise, your logs go into the example/logs directory.


    Additionally, double check the HAYSTACK_SOLR_URL. It should not have a trailing slash.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

During the development of the small project I used SVN and Tortoise. Later on
During development, I use this to load the latest jQuery: <script src=http://www.google.com/jsapi></script> <script type=text/javascript>
During development of a PostgreSQL database, I made foreign keys in every table. The
During development, I usually test ASP.Net applications using the Web Development Server (sometimes called
when implementing a recursive function during development, i will use a counter and exit
Not a problem as such but during development I noticed that Chrome doesn't accept
Is is possible to set a light theme during development time in Visual studio
it's common to see something like this in code, hopefully only during development: //XXX:
During the development I experience unhandled exceptions at random occasions, but mostly after closing
During a development project, the delivered code can go between different stages different environment

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.