I'm trying to work at extending the search subsystem, and I'm running into roadblocks that the two core classes; XF\Search\Search && XF\Search\Query\Query aren't extendable.
My primary desire is to be able to transform a MetadataConstraint into something else later (as implementing a range query for MySQL is different to ElasticSearch). This requires being able to manipulate the Query object, which is mostly write-once.
I've got a fairly horrible hack which semi-works, but in XF1 the XF\Search\Search equivalent was extendable.
My primary desire is to be able to transform a MetadataConstraint into something else later (as implementing a range query for MySQL is different to ElasticSearch). This requires being able to manipulate the Query object, which is mostly write-once.
I've got a fairly horrible hack which semi-works, but in XF1 the XF\Search\Search equivalent was extendable.
Upvote
5