Scandal
Well-known member
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.
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.