I have a view with full text search working I configured with Apache Solr. My index fields are title, body, taxonomy tags.

I have a need to show a hierarchical tree of taxonomy terms on the left of page and can select a node. On selecting the node and searching any text, the search should return only matching articles that has the selected taxonomy term.

if no taxonomy term is selected, search should happen across all articles. If a term is selected, I change header "Searching only "Term" articles" and search should happen within set of articles with taxonomy term.

Tree and simple search are done. I need help with filtering the search results or passing this taxonomy term as one more search parameter. I don't know which is better or in fact if this idea works at all.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.