Closed (fixed)
Project:
Search Lucene API
Version:
6.x-2.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2009 at 07:38 UTC
Updated:
10 Nov 2009 at 21:36 UTC
Hello,
I much prefer this module to the core search module and would like to see the faceted search feature in work. However, the faceted search block does not appear anywhere. I have everything that needs to be enabled turned on but can’t get the block to display anywhere. If anyone can help, I’d appreciate it.
Comments
Comment #1
cpliakas commentedHi mariner702.
Just to confirm, the Search Lucene Facets block is enabled in admin/build/block/list, and you are executing a search that returns results?
Thanks,
Chris
Comment #2
mariner702 commentedYes, everything is turned on and I am getting results from Lucene. The other block, "Sort" appears when I enable it but the "Facet" block does not. I also tried using the 1.4 version but like many other admins, I do not get search results so I tried the 2.0 version. No big deal on that front, I just think that the "Facet" block should appear regardless of the version.
Comment #3
scotjam commentedHi Mariner702,
That's interesting. I've noticed that the facet block appears when I'm logged into my account, but disappears when I'm not logged in. To double check this, I looked at the html source while logged out and could not find the block in the source, just in case it was a rendering issue with my template, which it appears not to be. I also checked this in another browser and the results are the same.
What I did find is that when I'm logged in as an 'administrator' the facet block does appear and when I'm logged as any other authenticated user, then the facet block does not appear.
Can you check if the same happens for you?
best wishes
Jamil
Comment #4
cpliakas commentedSounds like some permissions issue is going on here. I will investigate and will post my findings to this form. Thanks for posting the issue.
Comment #5
cpliakas commentedPermissions seem to be working correctly for me. Like the core search, the user must have the "use advanced search" permission to be able to see the facets. Could this be the problem? If so, I should probably add this in the text in the "Facets" tab in tab in the admin settings page to make this more clear.
Comment #6
scotjam commentedThat's fixed it. I didn't set the permissions for the authenticated and anonymous users to be able to perform an advanced search.
Thanks.
Comment #7
cpliakas commentedThanks for replying. I added the text in the "Facets" tab, because it should be defined somewhere. It is available in the alpha3 release.
Comment #9
mariner702 commentedI’ve tried enabling any and all things related to the latest beta version to the get the blocks to appear. Prior to the latest version, anonymous and authenticated users would be able to see at least the Sort block but with the latest version, they don’t see either the Facet or Sort block. Being the super administrator (user 1), I can get both blocks but evidently no one else can get it. I’ve tried enabling advance search via permissions for all other users, clearing the cache, and resetting cron but to no avail. I like this module a lot, I would just like to see users other than myself get the benefits of using it, too.
Comment #10
cpliakas commentedHi Mariner.
Did you run update.php when you upgraded the module? This would be the first thing I can think of. I have a fresh install of the beta version, and the permissions are working for me. If all else fails, it may be worth disabling, uninstalling, and reinstalling. Since the module is in beta, the upgrade paths will be much, much smoother. The transition from alpha to beta did change some things regarding the blocks, which is why there are necessary database updates in update.php. Please let me know how you are progressing with this, and we can work to get the search up and running again.
Thanks,
Chris
Comment #11
mariner702 commentedI did everything according to the installation documentation. I previously had the 2.0 alpha 3 version installed, removed the module, and deleted the folder. I then placed the beta in lieu of the alpha 3, did everything correctly, yet the facet and sort blocks still don’t appear for any user other than the super administrator. Even users with administrative privileges don’t see the blocks. If you can provide some feedback, I’d appreciate it.
Comment #12
scotjam commentedHi mariner702
I've recently done a fresh install too and the blocks are working fine for me. The block which I'm showing is called 'Search Lucene Facets: Search' and it works for any user or no user. The block configure page is set to default so I didn't apply any special configuration to get it working.
Got no idea how to debug this, sorry.
best wishes
Jamil
Comment #13
cpliakas commentedHi Mariner.
I am really sorry you are having this problem, but I cannot reproduce it in any way. That doesn't mean that there isn't an issue, so I am going to leave this open and encourage anyone who has a similar problem to post. Also, any additional debugging information is very welcome.
Did you uninstall the module in admin/modules/uninstall after disabling it? This will clear all of the module's data from the database.
Thanks,
Chris
Comment #14
cpliakas commentedJudging from the post at http://drupal.org/node/625090#comment-2250766, I am assuming the issue has been resolved so I am re-closing this.