Where possible, we should streamline this documentation. I've outlined a proposal below. Any feedback is welcome.
[0] https://www.elastic.co/guide/en/elasticsearch/guide/master/search-in-depth.html
[1] https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
[2] https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html
[3] https://www.elastic.co/guide/en/elasticsearch/reference/master/search-uri-request.html
[4] https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-cross-cluster-search.html
Pinging @elastic/es-docs (>docs)
Pinging @elastic/es-search (:Search/Search)
Adding the team-discuss tag as I'd like feedback before getting started.
Would just like to emphasize a little, as I don't see it really mentioned and wouldn't like it to be overlooked, that my biggest gripe isn't so much the _messiness_ of it - it's more the lack of ability to navigate easily between API concepts and have a good overview of the documentation at my disposal at all times. The documentation itself is generally fine.
That said, those changes you mention all sound like great things as well- things I would have definitely appreciated more of when I was first starting out. Though the actual referencing of concepts is my main documentation usage now.
I really recommend checking out how Google Cloud structures things to understand where I'm coming from (https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax):
Thanks @lostpebble. I agree; I don't believe these changes will completely solve your issue.
Changing the navigation layout will require a larger, separate effort. That's on our radar, but it won't be addressed in the scope of this issue.
[docs issue triage]
This seems like a great effort that will really help cut down on confusion.
In my own experiences with the search docs, I've found it hard to navigate the different options in the search request:
docvalue_fields, source filtering, and script_fields are split apart. It's hard to know what's available and compare options.Some ideas:
Most helpful comment
This seems like a great effort that will really help cut down on confusion.
In my own experiences with the search docs, I've found it hard to navigate the different options in the search request:
docvalue_fields, source filtering, andscript_fieldsare split apart. It's hard to know what's available and compare options.Some ideas: