OpenSearch/plugins
Nik Everett b3edd11aa0 Allow plugins to plug rescore implementations (#26368)
This allows plugins to plug rescore implementations into
Elasticsearch. While this is a fairly expert thing to do I've
done my best to point folks to the QueryRescorer as one that at
least documents the tradeoffs that it makes. I've attempted to
limit the API surface area by removing `SearchContext` from the
exposed interface, instead exposing just the IndexSearcher and
`QueryShardContext`. I also tried to make some of the class names
more consistent and do some general cleanup while I was there.

I entertained the notion of moving the `QueryRescorer` to module.
After all, it'd be a wonderful test to prove that you can plug
rescore implementation into Elasticsearch if the only built in
rescore implementation is in the module. But I decided against it
because the new module would require a client jar and it'd require
moving some more things around. I think if we really want to do
it, we should do it as a followup.

I did, on the other hand, create an "example" rescore plugin which
should both be a nice example for anyone wanting to plug in their
own rescore implementation and servers as a good integration test
to make sure that you can indeed plug one in.

Closes #26208
2017-08-25 13:46:57 -04:00
..
analysis-icu ICUCollationKeywordFieldMapper use SortedSetDocValuesField (#26267) 2017-08-21 10:40:56 +02:00
analysis-kuromoji (refactor) some opportunities to use diamond operator (#25585) 2017-08-15 16:36:42 -06:00
analysis-phonetic Upgrade to lucene-7.0.0-snapshot-a128fcb. (#26090) 2017-08-08 13:03:19 +02:00
analysis-smartcn Upgrade to lucene-7.0.0-snapshot-a128fcb. (#26090) 2017-08-08 13:03:19 +02:00
analysis-stempel Upgrade to lucene-7.0.0-snapshot-a128fcb. (#26090) 2017-08-08 13:03:19 +02:00
analysis-ukrainian Upgrade to lucene-7.0.0-snapshot-a128fcb. (#26090) 2017-08-08 13:03:19 +02:00
discovery-azure-classic Allow build to directly run under JDK 9 (#25859) 2017-07-27 16:14:04 +02:00
discovery-ec2 Allow build to directly run under JDK 9 (#25859) 2017-07-27 16:14:04 +02:00
discovery-file Move tribe to a module (#25778) 2017-07-28 11:23:50 +02:00
discovery-gce Cleanup network / transport related settings (#25489) 2017-07-02 10:16:50 +02:00
examples Allow plugins to plug rescore implementations (#26368) 2017-08-25 13:46:57 -04:00
ingest-attachment Use Java 9 FilePermission model (#26302) 2017-08-22 11:22:00 +09:30
ingest-geoip Port support for commercial GeoIP2 databases from Logstash. (#24889) 2017-06-13 14:20:01 -07:00
ingest-user-agent update ingest-user-agent regexes.yml (#25608) 2017-07-10 08:43:11 -07:00
jvm-example Remove path.conf setting 2017-06-26 15:18:29 -04:00
mapper-murmur3 Remove `_index` fielddata hack if cluster alias is present (#26082) 2017-08-08 09:24:24 +02:00
mapper-size Unify the result interfaces from get and search in Java client (#25361) 2017-06-29 11:35:28 +02:00
repository-azure Azure repository: Move to named configurations as we do for S3 repository 2017-08-08 15:14:47 +02:00
repository-gcs Ensure that gcs client creation is privileged (#25938) 2017-07-27 22:28:47 -05:00
repository-hdfs Allow build to directly run under JDK 9 (#25859) 2017-07-27 16:14:04 +02:00
repository-s3 (refactor) some opportunities to use diamond operator (#25585) 2017-08-15 16:36:42 -06:00
store-smb
build.gradle