Closed mrclay closed 10 years ago
Just reading through code (not tested) but I don't see how elgg_solr_get_access_query() possibly creates the query outlined in this comment: https://github.com/arckinteractive/elgg_solr/blob/master/lib/functions.php#L646
It looks like you intend to produce OR (access_id:<ACCESS_FRIENDS> AND owner_guid:(<FRIENDS>)) but it doesn't look like the code could produce that query (e.g. I don't see "owner_guid" anywhere).
OR (access_id:<ACCESS_FRIENDS> AND owner_guid:(<FRIENDS>))
You're right... I refactored that and messed it up. Thanks for being another set of eyes on it!
Just reading through code (not tested) but I don't see how elgg_solr_get_access_query() possibly creates the query outlined in this comment: https://github.com/arckinteractive/elgg_solr/blob/master/lib/functions.php#L646
It looks like you intend to produce
OR (access_id:<ACCESS_FRIENDS> AND owner_guid:(<FRIENDS>))
but it doesn't look like the code could produce that query (e.g. I don't see "owner_guid" anywhere).