3

I have created 2 search pages with Apache Solr module one with content type filter and another for search in taxonomy terms. By default if the keyword string is empty the search pages don't return any results. How can I list all available items with certain content type or with taxonomy term in this case? Thanks

  • Are there facets involved? – Letharion Jul 8 '12 at 9:50
  • no, just a simple search pages for content type nodes search and for searching within taxonomy term. – ijujym Jul 8 '12 at 10:53
  • 1
    Then I don't understand how you are listing terms/content types. – Letharion Jul 8 '12 at 12:32
3

Thanks Letharion, to answer your question I have found this option in the Advanced options region for the search pages. Here is how to get there:

admin/config/search/apachesolr/search-pages

Create a new search page for Solr search with content type filter or enable one for taxonomy/term/%

Select "Show enabled facets' blocks in their configured regions and first page of all available results" under the Advanced options for this page

enter image description here

0

check "Custom Filter" text box and add text : bundle:content type, content type is your specific content type name

protected by kiamlaluno Oct 28 '12 at 2:11

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.