I'm not sure if this is intended behavior, but thought I'd post and see if anyone else has experienced such a situation.
Use case: We have a site where the home page is a node. We'd rather not have home / front page displayed in search results.
Search approach: Using Search API 7.x-1.13 and Views 7.x-3.8, we're able to create a search page that does not include the front page in results with the following Views filter criteria:
* Search: Fulltext search
* Indexed Content: Title <> "Front Page"
This works exactly as we would expect.
Facet approach: We used Facet API 7.x-1.5 to create a basic facet for Content type. If we perform a search with this facet active, the search results are returned as normal. However when we click one of the Content type facet links (such as "Basic page" or "Article"), we receive no search results -- even though the facet tells us there are results available.
If the Views filter criteria of Indexed Content: Title <> "Front Page" is removed from the View and we search again, the facet works correctly. Therefore it seems as though Facets do not support additional filters on a View.
If someone can confirm if this is intended or unsupported behavior, I'd appeciate it. Thanks.
Comments
Comment #1
wolmi commentedI have the same issue with the same versions, any advance to solve it?
Comment #2
sgdev commentedWe ultimately created an empty panel page, used Context to set our front page content, and deleted the node. Panel pages are not included in our search results.
Comment #3
wolmi commentedWith some more tests I found that my problem was related to the search field that has the option Search filter instead of Search Keys in the filter options. Setting Search Keys option solves to me.