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

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