Skip to content

Releases: elastic/elasticsearch-net

0.11.4.0

10 Sep 12:46
Compare
Choose a tag to compare

Mostly only a bug fix release but of a couple that are very noteworthy

  • Fix reliance on patching Uri to set an internal flag to NOT forcefully escape /'s. If you use '/' by default NEST will double escape these to %252F if you are able to set the following config value[see code sample 1] you can disable this double escaping by calling .SetDontDoubleEscapeDotsAndSlashes() on the ConnectionSettings to have the '/' slashes properly encoded as %2F. The patching code taken from http://mikehadlow.blogspot.nl/2011/08/how-to-stop-systemuri-un-escaping.html does not work reliably on Mono, please note that the linked config tweak does not seem to work on mono either so getting '/' properly encoded as '%2F' seems impossible on Mono the default of double escaping them works fine though. The one time reflection hack (from the linked article) sometimes failed on some Mono versions, this should now be fixed.
  • The default Connection always wrapped the async in a thread which is not necessary at all. Nest will now only wrap the async stuff in threads if .SetMaximumAsyncConnections() is set to anything greater then 0. There is now a NoTasksHttpConnection as well which replaces the async routine to one which does't use tasks at all. Both implementations use IO completion ports but the overhead of tasks and yield means that in my first tests the NoTasksHttpConnection is around 1% faster. Many thanks to @henkish for filing #337 and submitting the taskless based async routine !
  • Fix ClusterState API to have Mappings also. ty @Ashwinsa
  • Added Boost method to RangeQueryDescriptor ty @freshmaker74
  • added missing used_in_bytes property on NodeStats (ty @NickCraver for pinging me on twitter)

_Code sample 1_

<uri>
    <schemeSettings>
         <add name="http" genericUriParserOptions="DontUnescapePathDotsAndSlashes" />
    </schemeSettings>
</uri>

0.11.3.0

11 Aug 19:32
Compare
Choose a tag to compare
  • Fix #326 Scroll uses POST since 0.11.2.0 and was incorrectly uriencoding the scroll id
  • #330 added TitleField() to the attachment mapper and MetadaField() to map any metadata string property under attachment fields.
  • #329 CustomScore() was missing a way to specify lang ty @Moran007
  • #327 the Factory DSL (Nest.Dsl.Factory assembly) was missing nested_filter on sort ty @lukapor

Reindex

A popular method on elasticsearch clients in other languages is an easy way to reindex from one index to another using scan, scroll and bulk. NEST now also has support for this:

https://github.com/Mpdreamz/NEST/blob/master/src/Nest.Tests.Integration/Index/ReindexTests.cs

See #328 for more information.

0.11.2.0

26 Jul 13:09
Compare
Choose a tag to compare

This is mainly a bug fix release before I head off on a 2 week holiday 👍

  • #307 adding mean and reverse_mean to terms stat facet order type (thank you @UdiBen)
  • #301 PhoneticTokenFilter.cs - Added replace and encoder JSON properties (thank you @salyh)
  • #313 fixed broken querystring construction on Update call (thank you @picnicbasket)
  • TypeFilter did not mark itself conditionless properly.
  • added ignore_unmapped support to SortDescriptor
  • Improved Highlights API, you can now use results.Highlights[docId][highlightField] or results.DocumentsWithMetadata[N].Highlights
  • Fix #319 nullref when calling CreateIndex with a mapping that manually newed IElasticType objects.
  • Fix #318 Scroll URL length limit
  • Fix #316 bulk update response items were null
  • Fix #303 IndexMany() result in an 411 if IEnumerable is empty
  • Fix #297 Missing Scroll() on IElasticClient
  • Fix #300 Missing MultiGet() on IElasticClient
  • Fix #288 UsePrettyResponses() did not append pretty=true to all the request anymore.
  • Fix #289 MultiSearch did not map errors properly for individual search requests part of the multisearch request.

Thanks to all who committed, fixed and/or reported issues!

0.11.1.0

04 Jul 13:51
Compare
Choose a tag to compare
  • #298 Add support to MultiGet to just have ids and indexName as params (ty @jakobra)
  • #296 don't add port for urls with https scheme (ty @alhardy)
  • #293 Add error handling to GetIndicesPointingToAlias ty (@MaxHorstmann)
  • #290 Sort - Added nested filter and path (Added in 0.90.0.Beta1). (ty @thelalle)
  • #292 Support for /_cluster/state APIs (ty @NickCraver)
  • #284 Added Tokenizer and Filters querystring param to Analyze request (ty @michielpost)
  • Added has_parent query and added score_type to has_child query (ty @q42jaap) (eb997c8)
  • #270 added multi_match support (I actually did something this release ! :))