Skip to content

Conversation

@RayOffiah
Copy link
Contributor

Clarified a few of the pain points around creating fields and mappings.
Added screenshots to hide options hidden within the UI.


Preview URL:
https://preview.docs-test.couchbase.com/docs-devex-DOC-13488-Feedback-on-Create-a-Vector-Search-Index-with-the-Server-Web-Console--Couchbase-Docs

You will need the Docs Team credentials on Confluence.

… Web Console | Couchbase Docs

Clarified the section on adding a child mapping.
Added a few pictures to make it clear what's going on.

Signed-off-by: Ray Offiah <ray.offiah@couchbase.com>
@RayOffiah RayOffiah requested a review from a team November 21, 2025 13:31
@RayOffiah RayOffiah self-assigned this Nov 21, 2025
@RayOffiah RayOffiah added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request 8.0 Couchbase Server 8.0 labels Nov 21, 2025
Copy link
Contributor

@sarahlwelton sarahlwelton left a comment

Choose a reason for hiding this comment

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

I'm willing to entertain a good argument for the images, but I'm not down with the style issues. Please fix. :)

Comment on lines 61 to 62
.. Select the [.ui]*only index specified fields* checkbox.
.. Unset the [.ui]*#default* field
Copy link
Contributor

@sarahlwelton sarahlwelton Nov 21, 2025

Choose a reason for hiding this comment

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

Suggested change
.. Select the [.ui]*only index specified fields* checkbox.
.. Unset the [.ui]*#default* field
.. Under the collection name, select *only index specified fields*.

Copy link
Contributor

Choose a reason for hiding this comment

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

@RayOffiah Please don't just mark this as resolved and ignore it - why do you want to word it this way?

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you at least please remove the [.ui] attribute?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, my mistake; I think I miskeyed; I was going to accept the change, but now I think about, I think I prefer my version.

The reason DOC-13488 was filed in the first place was that the filer(?) thought that the original text was asking him to look a set of specified fields:

Regarding these instructions - it says "Only index specified fields". What fields? Specified where?

I would prefer to make it clear that he's looking for a checkbox.

But I can remove the [.ui] attributes.

. Create a child field mapping on the new collection type mapping:

.. Using the mouse over, hover over the [.ui]*Field* item, then click on the btn:[{plus}] button.
.. Select menu:insert child field[] from the dropdown menu.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
.. Select menu:insert child field[] from the dropdown menu.

Copy link
Contributor

Choose a reason for hiding this comment

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

We covered this in the previous step, this needs to be deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeees, I'd rather keep this one, if you don't mind; the UI hides the function until you mouse over it, which confused the fella who submitted the initial Jira request.

Copy link
Contributor

Choose a reason for hiding this comment

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

We also don't refer to dropdowns like this: https://docs.couchbase.com/styleguide/dropdowns.html

In general, I would say this is a menu, which is why I said to use the menu:[] macro to render it as + > insert child field: https://docs.couchbase.com/styleguide/menus.html

Copy link
Contributor

Choose a reason for hiding this comment

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

But you're navigating in the menu? We're telling them to do the same thing twice if you leave this as is. Try and rebuild the site with this suggestion in place and you'll see what I mean.

They don't need to click insert child field twice, and this is what it's telling them to do right now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, yes; got it now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this one is helpful, so I think I'd rather keep it, if that's okay.

Copy link
Contributor

Choose a reason for hiding this comment

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

As I said, open to the arguments for keeping them - I'm okay with 1 screenshot for the tricky "this is where the menu is", but 3 felt like overkill :)

Copy link
Contributor

@rao-shwe rao-shwe left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

Copy link
Contributor

@sarahlwelton sarahlwelton left a comment

Choose a reason for hiding this comment

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

One additional thing.

RayOffiah and others added 3 commits November 21, 2025 15:43
Co-authored-by: sarahlwelton <110928505+sarahlwelton@users.noreply.github.com>
Co-authored-by: sarahlwelton <110928505+sarahlwelton@users.noreply.github.com>
Co-authored-by: sarahlwelton <110928505+sarahlwelton@users.noreply.github.com>
Copy link
Contributor

@sarahlwelton sarahlwelton left a comment

Choose a reason for hiding this comment

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

These changes still need to be made, please.

Comment on lines 61 to 62
.. Select the [.ui]*only index specified fields* checkbox.
.. Unset the [.ui]*#default* field
Copy link
Contributor

Choose a reason for hiding this comment

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

@RayOffiah Please don't just mark this as resolved and ignore it - why do you want to word it this way?

. Create a child field mapping on the new collection type mapping:

.. Using the mouse over, hover over the [.ui]*Field* item, then click on the btn:[{plus}] button.
.. Select menu:insert child field[] from the dropdown menu.
Copy link
Contributor

Choose a reason for hiding this comment

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

We covered this in the previous step, this needs to be deleted.

. Create a child field mapping on the new collection type mapping:

.. Using the mouse over, hover over the [.ui]*Field* item, then click on the btn:[{plus}] button.
.. Select menu:insert child field[] from the dropdown menu.
Copy link
Contributor

Choose a reason for hiding this comment

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

We also don't refer to dropdowns like this: https://docs.couchbase.com/styleguide/dropdowns.html

In general, I would say this is a menu, which is why I said to use the menu:[] macro to render it as + > insert child field: https://docs.couchbase.com/styleguide/menus.html

@RayOffiah RayOffiah force-pushed the DOC-13488-Feedback-on-Create-a-Vector-Search-Index-with-the-Server-Web-Console--Couchbase-Docs branch from 80b59fc to acf2386 Compare November 21, 2025 16:02
@RayOffiah RayOffiah force-pushed the DOC-13488-Feedback-on-Create-a-Vector-Search-Index-with-the-Server-Web-Console--Couchbase-Docs branch from acf2386 to 8bbeb46 Compare November 21, 2025 16:09
… Web Console | Couchbase Docs

Changes following reviews.
@RayOffiah RayOffiah force-pushed the DOC-13488-Feedback-on-Create-a-Vector-Search-Index-with-the-Server-Web-Console--Couchbase-Docs branch from 430d86e to 0705d26 Compare November 21, 2025 16:38
Copy link
Contributor

@sarahlwelton sarahlwelton left a comment

Choose a reason for hiding this comment

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

Style guidance does want us to not refer to "checkbox" specifically, and I think we could have avoided it on Line 61, specifically.

We can always revisit this in a future discussion about style.

But, just one more thing to fix in this PR, just to make sure we're not repeating ourselves. I'll be happy to remove my Request Changes once we get this sorted.

Thanks for your patience, @RayOffiah :)

Copy link
Contributor

Choose a reason for hiding this comment

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

As I said, open to the arguments for keeping them - I'm okay with 1 screenshot for the tricky "this is where the menu is", but 3 felt like overkill :)

.. In the *Collection* list, select the collection that contains the documents you want to include in your index.
.. Select *Only index specified fields*.
.. Select the *only index specified fields* checkbox.
.. Unset the *#default* field
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, if we're telling them to "clear the default type mapping" further down, I don't think we need this step. It's the same thing, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.0 Couchbase Server 8.0 bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants