All notable changes to this project will be documented in this file.
Re-release of 0.2.0 to fix a packaging issue.
corona.query/queryandcorona.query/query-mltno longer combine multiple:fqvalues into a single one.
- Add ability to supply multiple routes to
corona.query/query-mlt-tv-edismax
- Escape characters for query-mlt-tv-edismax's mltq params
- Pass more solr errors back to the caller instead of returning nil
- Reverted ability to query using
POSTintroduced in 0.1.11
- Replaced
clojure.data.jsonwith jsonista makingedn->jsonabout 8 times faster! Thanks @visibletrap - Changed
http-kitversion to2.4.0. Thanks @sonwh98
- Throw more informative error on JSON parse failure. Thanks @AdamFrey
- Added ability to query using
POSTmethod (withPOSTthere is no query length limitation unlikeGET). Corona usesPOSTby default (to useGETattach{:method :get}to the settings). Thanks @sonwh98
- Added dynamic var
corona.utils/*json-read-throw-on-error*where if set to true,corona.utils/json-read-strused to parse solr responses will throw exception, instead of returning nil when parsing JSON fails.
corona.core-admin/update!can handle list of JSON commands correctly and accepts optional settings as 3d argument, exactly likecorona.core-admin/add!andcorona.core-admin/delete!corona.core-admin/add!sends single doc to the/update/json/docsSolr endpoint as specified in the Solr documentation.
corona.query/terms-per-field->qhad to wrap term with quotes in case term has more than one word.
corona.core-admin/rename!corona.core-admin/swap!corona.core-admin/merge-indexes!corona.core-admin/split!corona.core-admin/request-statuscorona.core-admin/request-recovery
corona.core-admin/delete! is renamed corona.core-admin/unload! to match solr core-admin API
corona.core-admin/update!general reusable handler,corona.core-admin/reload!handler
query-mlt-tv-edismaxnow doesn't append interesting terms in:qbut rather make them accessible via special var mltq you can call like this${mltq}. This allows more control on how to add the special query.
query-mlt-tv-edismaxnow uses lucene query parser for interesting terms and can accept more then one id-boost pair e.g.{:mlt.field "id" :mlt.ids [["12345" 3] ["12346" "2"]]}
- emacs install doc fix
- url-encode for feature extraction request
- mlt-tv-edismax: remove mlt.q (id) via filter query instead of regular query, to make sure it is removed (no disjunction)
- http-kit post content-type headers fix
- http-kit post content-type headers fix
- reset! in
corona.indexno longer is
- clj-http -> http-kit
corona.client->corona.core-admin+corona.index- main query API as moved from
corona.clienttocorona.query
- Some docs in
corona.core-admin