Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Fix error in Common Grams Token Filter #36774

Merged
merged 1 commit into from
Dec 18, 2018

Conversation

cbuescher
Copy link
Member

The first example given is missing the two single-token cases for "is" and "a".
Also the later usage example is slightly wrong in that custom analyzers should
go under settings.analysis.analyzer as far as I know. The current example
didn't work.

The first example given is missing the two single-token cases for "is" and "a".
Also the later usage example is slightly wrong in that custom analyzers should
go under `settings.analysis.analyzer` as far as I know. The current example
didn't work.
@cbuescher cbuescher added >docs General docs changes :Search Relevance/Analysis How text is split into tokens v7.0.0 v6.6.0 v6.7.0 v6.5.5 labels Dec 18, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@romseygeek
Copy link
Contributor

Maybe this would work better as a doctest example against the _analyze endpoint? For example, the multiplexer docs explicitly check their example request and response.

@cbuescher
Copy link
Member Author

a doctest example against the _analyze endpoint?

good idea, I can pick this up in a follow up

@cbuescher cbuescher merged commit 41feaf1 into elastic:master Dec 18, 2018
cbuescher pushed a commit that referenced this pull request Dec 18, 2018
The first example given is missing the two single-token cases for "is" and "a".
The later usage example is slightly wrong in that custom analyzers should
go under `settings.analysis.analyzer`.
cbuescher pushed a commit that referenced this pull request Dec 18, 2018
The first example given is missing the two single-token cases for "is" and "a".
The later usage example is slightly wrong in that custom analyzers should
go under `settings.analysis.analyzer`.
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Dec 18, 2018
* elastic/master: (31 commits)
  enable bwc tests and switch transport serialization version to 6.6.0 for CAS features
  [DOCs] Adds ml-cpp PRs to alpha release notes (elastic#36790)
  Synchronize WriteReplicaResult callbacks (elastic#36770)
  Add CcrRestoreSourceService to track sessions (elastic#36578)
  [Painless] Add tests for boxed return types (elastic#36747)
  Internal: Remove originalSettings from Node (elastic#36569)
  [ILM][DOCS] Update ILM API authorization docs (elastic#36749)
  Core: Deprecate use of scientific notation in epoch time parsing (elastic#36691)
  [ML] Merge the Jindex master feature branch (elastic#36702)
  Tests: Mute SnapshotDisruptionIT.testDisruptionOnSnapshotInitialization
  Update versions in SearchSortValues transport serialization
  Update version in SearchHits transport serialization
  [Geo] Integrate Lucene's LatLonShape (BKD Backed GeoShapes) as default `geo_shape` indexing approach (elastic#36751)
  [Docs] Fix error in Common Grams Token Filter (elastic#36774)
  Fix rollup search statistics (elastic#36674)
  SQL: Fix wrong appliance of StackOverflow limit for IN (elastic#36724)
  [TEST] Added more logging
  Invalidate Token API enhancements - HLRC (elastic#36362)
  Deprecate types in index API (elastic#36575)
  Disable bwc tests until elastic#36555 backport is complete (elastic#36737)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants