XenForo Search Constraints

Xon

Well-known member
I've recently been poking away at the XenForo's search system, and it looks like the Search Constraints are just a list of conditions and'ed together.

The reason is while I can push constraints down for a type specific handler, general search ignores type specific handlers. I would like to be include additional constrains; but only for content of the correct type.

I would like to be able to push the following attached to the search query:
Code:
(content_type = 'post' and node in (<nodes with read access>)) OR (content_type = 'conversation' and 'my_user_id' in recipient ) ...


Is there a better way? Or just ignore it and allow XenForo to filter out non-viewable results out of the result set.
 
Top Bottom