Posted by chaps2 on September 24, 2010 at 10:33am
2 followers
| Project: | Search Lucene API |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
| Issue tags: | 6.x-2.5 |
Issue Summary
I'm having problems with CCK node references to unpublished nodes being included in the Lucene index and appearing as facet items.
There's a similar issue on the Solr queue (#536990: Always index content as anonymous (so Solr can respect field-level permissions)) where it was determined that the only practicable solution was to perform node indexing as anonymous. A patch was committed to that effect.
I've tried the same solution with Lucene API and it works. Does anyone have any thoughts - e.g. why it might not apply to Lucene API?
Comments
#1
chaps2,
Great pick up by you. I think that it is something that should be added to Search Lucene API, so I am marking it for the 6.x-2.5 release. Would also love to see some patches if anyone wants to contribute to this thread.
Great work,
Chris
#2
Here's a very small patch based on the Solr patch:
#3
chaps2,
Looks good to me. Will test it as soon as I can. If someone else has time to test and reports back that it fixes the issue, I will commit.
Great contribution!
~Chris
#4
Marking as RTBC.