OpenSearch/modules
Nik Everett fc5fde7950
Add "did you mean" to ObjectParser (#50938) (#50985)
Check it out:
```
$ curl -u elastic:password -HContent-Type:application/json -XPOST localhost:9200/test/_update/foo?pretty -d'{
  "dac": {}
}'

{
  "error" : {
    "root_cause" : [
      {
        "type" : "x_content_parse_exception",
        "reason" : "[2:3] [UpdateRequest] unknown field [dac] did you mean [doc]?"
      }
    ],
    "type" : "x_content_parse_exception",
    "reason" : "[2:3] [UpdateRequest] unknown field [dac] did you mean [doc]?"
  },
  "status" : 400
}
```

The tricky thing about implementing this is that x-content doesn't
depend on Lucene. So this works by creating an extension point for the
error message using SPI. Elasticsearch's server module provides the
"spell checking" implementation.
s
2020-01-14 17:53:41 -05:00
..
aggs-matrix-stats Declare remaining parsers `final` (#50571) (#50615) 2020-01-03 11:48:11 -05:00
analysis-common Deprecate and remove camel-case nGram and edgeNGram tokenizers (#50862) (#50991) 2020-01-14 21:42:34 +01:00
ingest-common [7.x] Foreach processor - fork recursive call (#50514) (#50773) 2020-01-09 13:21:18 -06:00
ingest-geoip Allow list of IPs in geoip ingest processor (#49573) (#49947) 2019-12-07 00:19:09 +01:00
ingest-user-agent update ingest-user-agent regexes.yml (#47807) 2019-10-18 16:26:48 +02:00
lang-expression Upgrade to Lucene 8.4.0. (#50518) (#50750) 2020-01-08 18:53:59 +01:00
lang-mustache Scripting: ScriptFactory not required by compile (#50344) (#50392) 2019-12-19 12:50:25 -07:00
lang-painless Guess root cause support unwrap (#50525) (#50742) 2020-01-08 19:09:14 +01:00
mapper-extras Add per-field metadata. (#50333) 2020-01-08 16:21:18 +01:00
parent-join Fix NPE bug inner_hits (#50709) 2020-01-07 14:21:54 -05:00
percolator Correctly handle MSM for nested disjunctions (#50669) 2020-01-07 09:32:30 +00:00
rank-eval Add "did you mean" to ObjectParser (#50938) (#50985) 2020-01-14 17:53:41 -05:00
reindex Use Void context on parsers where possible (#50573) (#50617) 2020-01-03 13:28:55 -05:00
repository-url Remove Unused Single Delete in BlobStoreRepository (#50024) (#50123) 2019-12-12 11:17:46 +01:00
systemd Extend systemd timeout during startup (#49784) 2019-12-03 14:25:45 -05:00
transport-netty4 Stop Allocating Buffers in CopyBytesSocketChannel (#49825) (#49832) 2019-12-04 19:36:52 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00