This is a difficult one to file to the correct project as there are many integrations, but thought this would be a good place to start.
Solr w/ Search API with Search API Grouping module to de-normalize multi-value references. Then in views, using the Views Entity Reference Filter module to filter by these denormalized references.
The error is then shown on using the filter Indexed Denormalized Content: Node ID (reference filter) (exposed):
Fatal error: Call to undefined method SearchApiViewsQuery::add_where() /views/handlers/views_handler_filter_in_operator.inc
Can't find anything on this SearchApiViewsQuery::add_where(), any ideas? Thanks.
Comments
Comment #2
drunken monkeyadd_where()is an undocumented method which the default Views query plugin has but most others (like Search API's) don't have. The Views Entity Reference Filter module apparently uses it, assuming it will always deal with a default Views (SQL) query – which, in this case, breaks of course.Are you sure you need that module, though? It seems to me like you should be able to do the same with the Search API in this view. (However, I don't know that module, so can only guess at your use case.)
Otherwise, try moving the issue to that module, as a feature request – maybe they can make it work with the Search API query plugin, too.
Comment #3
mccrodp commentedThat's great info, many thanks.
Yea this module was already in use on that site and infact I did remove it and used the reference ids instead with filter customisations on the theme layer. I believe this module gives extra options for the reference filter rather than just a textfield, but I could be wrong.
I will move to that module issue queue, just so that they are aware of it.
Comment #4
thepanz commentedI guess this issue is a duplicated of #2365437: Integration with Search api view.
Could you check it?
Comment #5
mccrodp commentedThanks, didn't notice this issue, probably as it was originally filed against Search API. I imagine it is duplicate of #2365437: Integration with Search api view from looking at it, so I will close as I don't have access to this project anymore to verify.