- May 22, 2013
-
-
David Maus authored
* VuFindSearch/Backend/Exception/BackendException.php (static): Prefix reason phrase with status code.
-
David Maus authored
* VuFindSearch/Backend/Solr/Connector.php (send): Use exception factory. * VuFindSearch/Backend/Exception/BackendException.php (createFromResponse): New function. Create exception based on server response.
-
David Maus authored
* VuFindSearch/Backend/Solr/Connector.php (send): Pass response to exception constructor. * VuFindSearch/Backend/Exception/BackendException.php (__construct): Make original response mandatory constructor argument. (getResponse): New function. Return original server response.
-
- May 21, 2013
-
-
Demian Katz authored
Resolves VUFIND-659.
-
David Maus authored
* ../tests/unit-tests/src/Search/Solr/MultiIndexListenerTest.php (setup): Create Connector with dummy handler map.
-
David Maus authored
-
David Maus authored
* VuFindSearch/Backend/Solr/HandlerMap.php (setHandlerMap): Correctly set fallback handler.
-
-
- May 20, 2013
-
-
Demian Katz authored
-
Demian Katz authored
Also adjusted continuous integration setup accordingly.
-
David Maus authored
* VuFindSearch/Backend/AbstractHandlerMap.php (apply): New function. Apply defaults, appends, invariants. (prepare): Factor out d/a/i application, undeclare final.
-
David Maus authored
* VuFind/Search/Factory/AbstractSolrBackendFactory.php (createConnector): Use handler map.
-
David Maus authored
* VuFindSearch/Backend/Solr/HandlerMap.php (__construct): Make map an optional argument. * VuFindSearch/Backend/Solr/Connector.php (getQueryInvariants) (getQueryDefaults, getQueryAppends, setQueryInvariants) (setQueryDefaults, setQueryAppends, addQueryInvariants) (addQueryDefaults, addQueryAppends, $invariants, $defaults) ($appends): Removed. (getMap): New function. Return handler map. (retrieve, similar, search, terms): Use handler map to prepare params and select handler. (select, prepare): Removed.
-
David Maus authored
* VuFindSearch/Backend/Solr/HandlerMap.php (getParameters) (setParameters): Declare public, rename parameter $key to $type. (addParameter): New function. Add parameters.
-
- May 17, 2013
-
-
Demian Katz authored
-
Demian Katz authored
-
Eoghan Ó Carragáin authored
Get jetty to use system temporary folder when extracting war file rather than creating a directory in the Vufind root - comment out tempDirectory setting in /solr/jetty/contexts/solr.xml
-
Demian Katz authored
-
-
David Maus authored
* VuFindSearch/Backend/Solr/HandlerMap.php: New class. SOLR handler map.
-
David Maus authored
* VuFindSearch/Backend/AbstractHandlerMap.php: Expect ParamBag as return value for D/A/I.
-
David Maus authored
* VuFindSearch/ParamBag.php (params): Removed. Use getArrayCopy() instead.
-
David Maus authored
* VuFindSearch/ParamBag.php (exchangeArray): Use internal function to set new parameter array.
-
- May 16, 2013
-
-
Demian Katz authored
-
David Maus authored
* VuFindSearch/Backend/AbstractHandlerMap.php: New class. Abstract base class of handler maps.
-
David Maus authored
* VuFindSearch/ParamBag.php (exchangeArray): New function. Exchange parameter array.
-
-
- May 15, 2013
-
-
Demian Katz authored
-
Demian Katz authored
-
- May 14, 2013
-
-
David Maus authored
* VuFindSearch/Backend/Solr/Connector.php (MAX_GET_URL_LENGTH): Fix docstring.
-
- May 13, 2013
-
-
Demian Katz authored
Expanded test suite to match.
-
Demian Katz authored
Expanded test suite for writer.
-
Demian Katz authored
-
Demian Katz authored
-
Demian Katz authored
-
Demian Katz authored
-
Demian Katz authored
-
Demian Katz authored
Thanks to Arek Danszczyk and Christian Dabrowski.
-
David Maus authored
* VuFindSearch/Backend/Exception/BackendException.php ($tags): New property. Tags. (addTag, getTags, hasTag): New functions. Tagging support.
-
David Maus authored
* VuFindSearch/Service.php (search, retrieve, retrieveBatch) (similar): Catch BackendException, trigger error event & rethrow.
-