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/query
andcorona.query/query-mlt
no longer combine multiple:fq
values 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
POST
introduced in 0.1.11
- Replaced
clojure.data.json
with jsonista makingedn->json
about 8 times faster! Thanks @visibletrap - Changed
http-kit
version to2.4.0
. Thanks @sonwh98
- Throw more informative error on JSON parse failure. Thanks @AdamFrey
- Added ability to query using
POST
method (withPOST
there is no query length limitation unlikeGET
). Corona usesPOST
by default (to useGET
attach{: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-str
used 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/docs
Solr endpoint as specified in the Solr documentation.
corona.query/terms-per-field->q
had 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-status
corona.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-edismax
now doesn't append interesting terms in:q
but 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-edismax
now 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.index
no longer is
- clj-http -> http-kit
corona.client
->corona.core-admin
+corona.index
- main query API as moved from
corona.client
tocorona.query
- Some docs in
corona.core-admin