I have apache solr search integration and facet api installed. I have enabled the filters I wish to use on my search page and when I assign their blocks to a region, they do not appear on my site's search page. Is there a fix for this issue? Thanks.

Comments

cpliakas’s picture

Title: filter blocks » Facet blocks not displaying
Assigned: auraell » Unassigned

Hi auraell. I cannot replicate the issue. Are they not showing up when you first visit the search page, or are they not showing up even after a search has been executed?

Thanks,
Chris

auraell’s picture

they do not show up under either scenario.

cpliakas’s picture

OK. Thanks for clarifying. I will try to replicate on a clean install, but if I cannot replicate then we need for you do some additional debugging to figure out the root cause. Generally blocks don't show up due to stale caches or permissions settings in the core block settings form.

Is anyone else experiencing this issue? If so, please post otherwise we will not be able to resolve the problem.

Thanks,
Chris

cpliakas’s picture

I just ran into this issue, however it was a problem with one of my custom modules. Do you have any custom code that could be conflicting, or are you trying to extend the Facet API module in any way?

cpliakas’s picture

Category: support » bug

Changing to a bug report, because I have a sneaking suspicion that this is related to #1198350: Facets do not work when block caching is enabled.. Do you have block caching enabled?

cpliakas’s picture

Status: Active » Closed (duplicate)

I am assuming these are the same issues. Re-open if necessary.

Summit’s picture

Status: Closed (duplicate) » Active

Hi,

Having latest .dev from Search API, Facet search API, Commerce Search API, Search Range no Facet Blocks are appearing...no block cache...they just do not show.
Setting this to active.

Greetings, Martijn

Summit’s picture

Version: 7.x-1.0-beta2 » 7.x-1.x-dev

Setting this to latest .dev, just can't get any facet to show in a block..whereever I put the shown facet-blocks in the blocks-admin page. No one is appearing..
I looked at: http://vimeo.com/53404289 but no facets are showing.. Do I miss a library maybe?
Thanks for going into this.
Greetings,
Martijn

smichel’s picture

FWIW, I hit the same issue this morning. I just upgraded to Facet API 7.x-1.3+2, and no facet blocks are showing.

Summit’s picture

Hi,
Facets only show on search pages standard I have learned...gr, Martijn

Aniruddhsinh’s picture

I am not sure if this is only the answer for what the question has been asked. But even I was not getting Facet API blocks on my search page and tried lot many things but at last I checked in the configuration what exactly I was missing to do.

Go to adming->config->Apache Solr search->"Settings" tab.

You will get the list and click on "Facet" below Cofiguration.
Now you will be getting the list of items which you want to display.

->enable the item you want to get displayed on the search page.
->put them to panels or into regions where you want to show them.

Hope it will be helpful...

Thanks,
Aniruddhsinh

dedeka’s picture

Yes. I can not believe. All new version of drupalcommerce kickstart doesnt show blocks at all. I add knew taxonomy and nothing. I try evrything and nothing Any help please???

Manollo’s picture

Issue summary: View changes

@dedeka I had the same issue using search api with facets. Under "configure filter" in your facets overview you'll find the option to "Hide if no search is performed.". Uncheck that and all your facets will be shown by default.

Cheers!

natuk’s picture

@Manollo Same problem here, I could not locate the setting you described. Can you be more specific?

EDIT: In my case, rebuilding the Solr index solved the problem.

cpliakas’s picture

Project: Facet API » Commerce Search API

After reading through the issues, it seems the commonality with issues posted after it was re-opened are related to Commerce and Search API.

I have worked the Facet API issue queue for the last few days and can position facets with multiple backends, so I am assuming that this problem would be more prevalent if it was in issue inside of Facet API. I am definitely open to the facet that the issue could be here, however it seems this bug is most likely happening in the module being references in this thread.

Moving queues, please feel free to punt back here if there are specific things found inside of Facet API that are preventing the block from being displayed.

cpliakas’s picture

scuba_fly’s picture

I'm having the same issue with a database search backend: search_api_db
facets just won't show up whatever I try.

I'm not using Commerce Search but just installed the search modules:
search_api 7.x-1.12
search_api_db 7.x-1.3
search_api_facetapi 7.x-1.12
search_api_views 7.x-1.12

fox mulder’s picture

@natuk: the path of settings proposed by @Manollo are here:
admin/config/search/search_api/index/INDEX_NAME/facets

select "configure filters" from drop downs in Operations column

OR

select "Configure facet filters" from contextual links on facet block

fehin’s picture

sorry, wrong issue

thaistore’s picture

i have the same issue, the facets do not show on other pages then products, and I setup the block option to show on all pages

i do not know what I am doing wrong, but this module is in serious trouble I think

i spend like 5 hours trything to figure out why this is happening

i just gave up,

the option Hide if no search is performed. is of course unchecked.....

damn

andrbmgi’s picture

We had the same problem: After installing Drupal Commerce Kickstart on our site all the facets vanished. For us the solution was to go into each facet block and just save it without editing anything. Hope this helps anyone.

sopranos’s picture

hare same, catalog facet does not show up at all, I tried everything, this must be a bug

PeterLrt’s picture

I had the same problem. I added another facet block and all of a sudden my missing facet block appears.

ptocco’s picture

Here's another post with a patch that might help:

https://www.drupal.org/node/2566329#comment-11475393

I'm attempting to implement this patch hoping to resolve the issue.

gary_master’s picture

Clearing the Drupal cache seemed to work for me!

Romsla’s picture

Version: 7.x-1.x-dev » 7.x-1.6

I create a search engine for my site based on this video
https://drupalcommerce.org/
Used modules of the latest stable versions.
I have a problem, after having done all the steps as in this video, facet api blocks are not displayed. Is there a fix for this issue? Thanks.

Solution for the problem - add permissions for dbuser:
GRANT CREATE TEMPORARY TABLES ON dbname* TO 'username@localhost'