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 463043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:08:09+00:00 2026-05-12T23:08:09+00:00

Note: This question originally applied to Xapian , but due to cross-platform issues and

  • 0

Note: This question originally applied to Xapian, but due to cross-platform issues and poor understanding of Xapian I (our team) chose Solr instead.

I’m looking for snippets, tricks, tips, links, and anything to watch out for (gotchas). My technology stack includes:

  • MySQL 5.1 (Not really pertinent)
  • Red Hat and Windows configurations with final deployment to Linux
  • Development primarily done on windows machines on my team
  • No PHP or Java support in our configurations, ergo no Solr or Django-Sphinx Went with Java after all!

Thank you all for the help and insight!

  • 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-12T23:08:09+00:00Added an answer on May 12, 2026 at 11:08 pm

    A few notes and resources. My advice is mostly related to Haystack in general since I don’t have experience with Xapian as a backend.

    1. Installing Xapian (from the Haystack
      docs) – note that Haystack doesn’t
      support Xapian on its own:
      http://haystacksearch.org/docs/installing_search_engines.html#xapian
    2. It may be helpful to use Whoosh
      during development or for testing
      certain things, but keep in mind
      that it doesn’t support all the
      features Xapian does. Haystack does
      a good job of failing gracefully (a
      warning in your console) if you try
      to use Whoosh with a feature it
      doesn’t support, so switching between
      them is painless:
      http://haystacksearch.org/docs/installing_search_engines.html#whoosh
    3. A snippet from my own code of
      switching between Whoosh and Solr
      easily:

      # Haystack search settings
      HAYSTACK_SITECONF = 'project.search_sites'
      HAYSTACK_INCLUDE_SPELLING = True
      # Haystack backend settings
      HAYSTACK_SEARCH_ENGINE = 'solr' # Switch this to 'whoosh' to use that backend instead
      if DEBUG:
          HAYSTACK_SOLR_URL = 'solr.development.url'
      else:
          HAYSTACK_SOLR_URL = 'solr.production.url'
      HAYSTACK_WHOOSH_PATH = os.path.join(PROJECT_ROOT, 'search_index', 'whoosh')
      
    4. As far as I’m aware your choice of
      database doesn’t make a difference
      as long as Django supports it since Haystack uses the ORM.
    5. If you run into any trouble,
      Haystack’s developer (Daniel
      Lindsley) is incredibly helpful and
      quick to respond. You can get help
      from him and others in the
      django-haystack Google group or
      the #haystack IRC channel (that is,
      if you don’t find an answer in the
      official docs).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Note This originally started as a question about 404 errors, but now it's a
Note: Originally this question was asked for PostgreSQL, however, the answer applies to almost
Moderator note: This question is not a good fit for our question and answer
Note this question was originally posted in 2009, before C++11 was ratified and before
Note: This question has been originally posted by Lahiru Gunathilake as an answer to
(NOTE: This question is not about escaping queries, it's about escaping results) I'm using
Reading this question I found this as (note the quotation marks) code to solve
Note This is not a REBOL-specific question. You can answer it in any language.
Note : The code in this question is part of deSleeper if you want
Note: Let me appologize for the length of this question, i had to put

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.