Currently the location_cache object is required to perform location searches. In order to avoid instantiating a bunch of these, it actually needs to be passed to the SearchFetchable in order for any location searches to function.
It might be better to automatically create a new one if none is provided. At the very least, an exception should occur if location is passed but no location cache is available.
Currently the location_cache object is required to perform location searches. In order to avoid instantiating a bunch of these, it actually needs to be passed to the SearchFetchable in order for any location searches to function.
It might be better to automatically create a new one if none is provided. At the very least, an exception should occur if location is passed but no location cache is available.