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] Reorganize search content #48194

Closed
28 tasks done
jrodewig opened this issue Oct 17, 2019 · 7 comments · Fixed by #60972
Closed
28 tasks done

[DOCS] Reorganize search content #48194

jrodewig opened this issue Oct 17, 2019 · 7 comments · Fixed by #60972
Assignees
Labels
>docs General docs changes Meta :Search/Search Search-related issues that do not fall into other categories Team:Docs Meta label for docs team Team:Search Meta label for search team

Comments

@jrodewig
Copy link
Contributor

jrodewig commented Oct 17, 2019

#48189 notes that the current search docs organization is a bit messy and hard to navigate.

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

@jrodewig jrodewig added >docs General docs changes :Search/Search Search-related issues that do not fall into other categories :Docs labels Oct 17, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (>docs)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@jrodewig
Copy link
Contributor Author

Adding the team-discuss tag as I'd like feedback before getting started.

@jrodewig jrodewig self-assigned this Oct 17, 2019
@lostpebble
Copy link

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):

  • Nice, broad documentation navigation on the left
  • Contextual navigation to the current page on the right

@jrodewig
Copy link
Contributor Author

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.

@jrodewig
Copy link
Contributor Author

[docs issue triage]

@polyfractal polyfractal removed the 7x label Dec 12, 2019
@jrodewig jrodewig removed their assignment Jan 15, 2020
@jrodewig jrodewig self-assigned this Apr 28, 2020
@jrodewig jrodewig removed the :Docs label Apr 28, 2020
@rjernst rjernst added Team:Docs Meta label for docs team Team:Search Meta label for search team labels May 4, 2020
jrodewig added a commit that referenced this issue May 5, 2020
* [DOCS] Create top-level "Search your data" page

**Goal**

Create a top-level search section. This will let us clean up our search
API reference docs, particularly content from [`Request body search`][0].

**Changes**

* Creates a top-level `Search your data` page. This page is designed to
  house concept and tutorial docs related to search.

* Creates a `Run a search` page under `Search your data`. For now, This
  contains a basic search tutorial. The goal is to add content from
  [`Request body search`][0] to this in the future.

* Relocates `Long-running searches` and `Search across clusters` under
  `Search your data`. Increments several headings in that content.

* Reorders the top-level TOC to move `Search your data` higher. Also
  moves the `Query DSL`, `EQL`, and `SQL access` chapters immediately
  after.

Relates to #48194

[0]: https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html
jrodewig added a commit that referenced this issue Jun 1, 2020
**Goal**

Create a top-level search section. This will let us clean up our search
API reference docs, particularly content from [`Request body search`][0].

**Changes**

* Creates a top-level `Search your data` page. This page is designed to
  house concept and tutorial docs related to search.

* Creates a `Run a search` page under `Search your data`. For now, This
  contains a basic search tutorial. The goal is to add content from
  [`Request body search`][0] to this in the future.

* Relocates `Long-running searches` and `Search across clusters` under
  `Search your data`. Increments several headings in that content.

* Reorders the top-level TOC to move `Search your data` higher. Also
  moves the `Query DSL`, `EQL`, and `SQL access` chapters immediately
  after.

Relates to #48194

[0]: https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html
jrodewig added a commit that referenced this issue Jun 1, 2020
**Goal**

Create a top-level search section. This will let us clean up our search
API reference docs, particularly content from [`Request body search`][0].

**Changes**

* Creates a top-level `Search your data` page. This page is designed to
  house concept and tutorial docs related to search.

* Creates a `Run a search` page under `Search your data`. For now, This
  contains a basic search tutorial. The goal is to add content from
  [`Request body search`][0] to this in the future.

* Relocates `Long-running searches` and `Search across clusters` under
  `Search your data`. Increments several headings in that content.

* Reorders the top-level TOC to move `Search your data` higher. Also
  moves the `Query DSL`, `EQL`, and `SQL access` chapters immediately
  after.

Relates to #48194

[0]: https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html
jrodewig added a commit that referenced this issue Jun 1, 2020
**Goal**

Create a top-level search section. This will let us clean up our search
API reference docs, particularly content from [`Request body search`][0].

**Changes**

* Creates a top-level `Search your data` page. This page is designed to
  house concept and tutorial docs related to search.

* Creates a `Run a search` page under `Search your data`. For now, This
  contains a basic search tutorial. The goal is to add content from
  [`Request body search`][0] to this in the future.

* Relocates `Long-running searches` and `Search across clusters` under
  `Search your data`. Increments several headings in that content.

* Reorders the top-level TOC to move `Search your data` higher. Also
  moves the `Query DSL`, `EQL`, and `SQL access` chapters immediately
  after.

Relates to #48194

[0]: https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html
@jtibshirani
Copy link
Contributor

jtibshirani commented Jun 1, 2020

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:

  • I usually consult the search request body page as a reference on search options. It's huge page containing every option, so I need to 'ctrl-f' to find the section I'm looking for. It feels overwhelming and it's easy to lose my place and end up in a different section.
  • The sections aren't grouped together by theme. For example, docvalue_fields, source filtering, and script_fields are split apart. It's hard to know what's available and compare options.

Some ideas:

  • In the short-term, perhaps making these into collapsible sections could help?
  • Some sections seem like good candidates for their own page. For example, the highlighting section is extensive and could be a separate subpage.
  • We could group certain options together in terms of their use like 'Returning field values from a search'. Perhaps this would fit best as sections of the 'search your data' reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes Meta :Search/Search Search-related issues that do not fall into other categories Team:Docs Meta label for docs team Team:Search Meta label for search team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants