Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I'm using the Search API module, and I have two user search Indexes of type "Overridden" and "Custom".

Based on a path, or someone other variable that I pass in, I want to swap between the two indexes. The plan is for the first Index to provide a simple search with only a couple of fields, and the second to provide an "Advanced Search"..

I assume there is a hook somewhere where I can pass the Index name. Is this the right strategy to follow when trying to implement two searches?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.