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

  • Home
  • SEARCH
  • 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 3320744
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:58:47+00:00 2026-05-17T22:58:47+00:00

I am trying out Sphinx search in my Django project. All setup done &

  • 0

I am trying out Sphinx search in my Django project. All setup done & it works but need some clarification from someone who has actually used this setup.

In my Sphinx search while indexing, I have used ‘name’ as the field in my MySQL to be searchable & all other fields in sql_query to be as attributes (according to Sphinx lingo).

So when I search from my Model instance in Django, I get the search results alright but it does not have the ‘name’ field in the search results. I get all the other attributes.

However, I get the ‘id’ of the search term. Technically, I could get the ‘name’ by again querying MySQL but I want to avoid this. Is there anything I am not doing here?

  • 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-17T22:58:48+00:00Added an answer on May 17, 2026 at 10:58 pm

    Here’s a shot in the dark –

    Try to get the name of your index in sphinx.conf same as the table_name you are trying to index. This is a quirk which is missed by lot of people.

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

Sidebar

Related Questions

Trying out the example usage of codebrew rails-backbone , everything works fine but the
been trying out this for quite some time but I'm still unable to built
Im trying out some iPhone scroll view tests, but when i load the view,
Trying out VS 2010, but still want to target .NET 3.5. Have all my
I am trying to use Sphinx to document a Python project of mine, but
I am trying out some examples with analytical functions and i have created a
I'm trying to validate that the fields given to sphinx are valid, but I'm
I´m trying out entity framework included in VS2010 but ´ve hit a problem with
I'm trying-out qUnit for the first time but can't get any tests to run.
I'm trying out java and I seem to be running into some problems. The

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.