[RSS Feed/News] XF\Search\Query\Query - I want to limit to specific node_ids

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm working on an addon which uses Search (with Elastic Search).
This addon refers to two content types: thread and resource.

How could I limit the results to specific node_ids and specific resource_category_id, without breaking the results?

I guess with something like $query->withSql(new \XF\Search\Query\SqlConstraint()); but my knowledge of Search Core is limited. :)

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom