Skip to content

Add a MultiTermAwareComponent marker interface to analysis factories.#19028

Merged
jpountz merged 1 commit intoelastic:masterfrom
jpountz:enhancement/multi-term
Jun 23, 2016
Merged

Add a MultiTermAwareComponent marker interface to analysis factories.#19028
jpountz merged 1 commit intoelastic:masterfrom
jpountz:enhancement/multi-term

Conversation

@jpountz
Copy link
Copy Markdown
Contributor

@jpountz jpountz commented Jun 22, 2016

This is the same as what Lucene does for its analysis factories, and we hawe
tests that make sure that the elasticsearch factories are in sync with
Lucene's. This is a first step to move forward on #9978 and #18064.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it should have a default implementation that returns this? That seems like how you implement it most of the time.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All imps return this but on the other hand, having to implement this forces to check whether all parameters are compatible with prefix/wildcard queries. Furthermore I'd like to stay as close to Lucene as possible, which does not have a default impl today.

@nik9000
Copy link
Copy Markdown
Member

nik9000 commented Jun 22, 2016

Makes sense to me. I left some minor feedback but nothing blocking.

…lastic#19028

This is the same as what Lucene does for its analysis factories, and we hawe
tests that make sure that the elasticsearch factories are in sync with
Lucene's. This is a first step to move forward on elastic#9978 and elastic#18064.
@jpountz jpountz force-pushed the enhancement/multi-term branch from e30bc1a to 7ba5bce Compare June 23, 2016 08:19
@jpountz jpountz merged commit 7ba5bce into elastic:master Jun 23, 2016
@jpountz jpountz deleted the enhancement/multi-term branch June 23, 2016 08:20
jasontedor added a commit that referenced this pull request Jun 23, 2016
* master: (416 commits)
  docs: removed obsolete information, percolator queries are not longer loaded into jvm heap memory.
  Upgrade JNA to 4.2.2 and remove optionality
  [TEST] Increase timeouts for Rest test client (#19042)
  Update migrate_5_0.asciidoc
  Add ThreadLeakLingering option to Rest client tests
  Add a MultiTermAwareComponent marker interface to analysis factories. #19028
  Attempt at fixing IndexStatsIT.testFilterCacheStats.
  Fix docs build.
  Move templates out of the Search API, into lang-mustache module
  revert - Inline reroute with process of node join/master election (#18938)
  Build valid slices in SearchSourceBuilderTests
  Docs: Convert aggs/misc to CONSOLE
  Docs: migration notes for _timestamp and _ttl
  Group client projects under :client
  [TEST] Add client-test module and make client tests use randomized runner directly
  Move upgrade test to upgrade from version 2.3.3
  Tasks: Add completed to the mapping
  Fail to start if plugin tries broken onModule
  Remove duplicated read byte array methods
  Rename `fields` to `stored_fields` and add `docvalue_fields`
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants