Closed nickveenhof closed 9 years ago
I would even more the query alterations for location to the location module actually.
That would need a bit of a broader discussion, I think: https://www.drupal.org/node/2352475 I don't really know what makes more sense here: keeping all the code for a certain feature (in this case, location search) together, or keeping all the code for a certain backend together.
Agreed that the query split-up logic needs to be discussed, so thanks for opening that. This pull request will only split out the functionality in to the solrHelper class but functionally it will stay the same
started by moving functions out to solrHelper to isolate them more. Also, stopped using arrays for passing information but use the solarium object to see what is there. Easier as that is what every phase needs to alter anyway. I would even more the query alterations for location to the location module actually.