Closed (fixed)
Project:
Fuzzy Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2012 at 04:09 UTC
Updated:
9 Nov 2012 at 20:08 UTC
When enabling node access to the index in Search API and run cron, Fuzzy search throws up the following error and does not complete indexing the nodes.
Notice: Undefined index: search_api_access_node in FuzzySearchService->indexItem() (line 351 of /sites/all/modules/fuzzysearch/includes/service.inc).
Steps to reproduce
1. Install all latest versions of Search API, Fuzzy Search etc...
2. Navigate to the 'default fuzzy search workflow at admin/config/search/search_api/index/default_fuzzysearch_index/workflow
3. Enable 'Node access'
4. run cron to index nodes
5. error should appear
Comments
Comment #1
pixelsweatshop commentedComment #2
gecko85 commentedI'm getting the same errors. If I try to re-index, I get these errors. Even worse, it breaks the search entirely. Trying any search will return the following error:
Unfortunately this would be a deal breaker. I've finally got everything else working properly (I think), but search must support node access. We have very distinct user roles, and can't have *all* search results being shown to all users, including pages they don't have access to.
Any help would be appreciated.
Comment #3
awolfey commentedThis is a search_api bug. See #1414138: Notice: Undefined index: search_api_access_node for a workaround. I'll leave this issue open here for now until we're sure it's fixed.
Comment #4
gecko85 commentedThank you! The workaround listed worked.
Comment #5
awolfey commented#141438 has been fixed and committed, so closing.