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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:50:42+00:00 2026-05-13T09:50:42+00:00

The Sphinx config file hints to it supporting multiple sources for one index, how

  • 0

The Sphinx config file hints to it supporting multiple sources for one index, how do I actually specify it?

Here’s the snippet from the config file:

# document source(s) to index
# multi-value, mandatory
# document IDs must be globally unique across all sources
source                  = src1

I’ve tried setting it in the following formats:

source = src1, src2
source = [src1, src2]

and I’ve also tried using the source variable twice, eg:

source = src1
source = src2

I suspect that I’m just being a dunce, as I’m not sure of the syntax to use in the config file. Any ideas?

Using the second code snippet I get the following error:

ERROR: index 'iwa': fulltext fields count mismatch (me=iwa_publications, in=iwa_events, myfields=3, infields=8).

The two sources are iwa_events and iwa_publications. Both have unique id columns, and both sources work when indexed individually.

  • 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-13T09:50:42+00:00Added an answer on May 13, 2026 at 9:50 am

    If you want to search multiple indexes at once you have to specify them in your PHP code, not in the configuration file.

    Just seperate the indexes in your Query method (see documentation):

    $cl->Query ( "test query", "index1 index2" );
    

    According to the documentation you can.
    Your second code snippet is the correct format to list multiple sources. Please edit your question to tell us what your actual problem is.

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

Sidebar

Related Questions

I created a config/sphinx.yml file with the line: morphology: stem_en After running rake ts:config,
I start to using cassandra and I want to index my db with sphinx.
We're trying to get Sphinx to index all three of our servers (development, staging
I am attempting to use Sphinx to document my Python class. I do so
Can any one guide how to search number with wildcard on thinking sphinx... I
Hey guys, I have a question about Sphinx. I use Sphinx to index the
I'm using Thinking Sphinx for full-text search, following this video . I'd like to
Error i m getting is:- mohit@mohit-laptop ~/Desktop/code $ rake thinking_sphinx:index (in /home/mohit/Desktop/code) Generating Configuration
I'm trying to get Thinking Sphinx to work in test mode in Rails. Basically
I've been trying to get Thinking Sphinx for Ruby to handle prefixes and/or star,

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.