Skip to content

Conversation

@sarahlwelton
Copy link
Contributor

Previously, users had to set a query object to match_none to use with vector search and knn objects in a query.

With 7.6.2, this requirement is going away - Search will automatically add the match_none object if the user doesn't specify a query object, so the docs need to change to remove this requirement.

…_none object, as it's not necessary

Updating search-request-params and run-vector-search-ui to reflect that the match_none object is no longer required
@sarahlwelton sarahlwelton changed the title [DOC-12074] Support match_none as the Default Query for Vector Search [DOC-12074] Support match_none as the Default query object for Vector Searches May 6, 2024
@sarahlwelton sarahlwelton changed the base branch from release/7.6 to prerelease/7.6.2 July 5, 2024 15:35
@sarahlwelton sarahlwelton marked this pull request as ready for review July 8, 2024 14:15
@sarahlwelton sarahlwelton merged commit 2c2ddd1 into prerelease/7.6.2 Jul 8, 2024
@sarahlwelton sarahlwelton deleted the DOC-12074-default-match-none-query-docs branch July 8, 2024 14:49
bfavini pushed a commit that referenced this pull request Jul 19, 2024
* Added error for CYCLE clause in WITH RECURSIVE page in 7.6.2 (#231)

* Added error for 7.6.2

* Added patch release

* [DOC-12129] base64 encoding/decoding functions in Eventing (Server 7.6.2) (#229)

* Added info about base64 functions

* Small update to language construct page

* DOC-11756: JavaScript language restrictions for JS-UDFs [Server 7.6.2] (#237)

* DOC-11756 Language Restrictions
* DOC-10013 Update title of calling JavaScript topic
* DOC-10013 Update JavaScript UDF introduction to describe inline and external functions
* DOC-10013 Add titles to diagram preview doc
* DOC-10013 Improve partial for external libraries and scopes
* DOC-10013 Add partial for SQL++ Managed UDFs
* DOC-10013 Minor wording updates for JavaScript UDF diagrams
* DOC-10013 Minor wording updates for JavaScript UDF reference
* DOC-10013 Update links for JavaScript UDF reference
* DOC-10013 Minor formatting updates for CREATE FUNCTION
* DOC-10013 These lines left blank intentionally
* DOC-10013 Add extra link to Calling SQL++ from JavaScript
* Remove unused nav partial for JavaScript UDFs
* Drive-by fix: link to Query Admin page
* Drive-by fix: replace SVG files with Kroki diagrams
* Updates after review

* DOC-12048: New indexer setting for default value of "defer build" (#239)

* Add section on deferring index builds by default
* Add horizontal style for all index arguments
* Use tables for object parameters
* Remove outdated version notices
* Minor formatting changes: consistent brackets, admonition placement
* Added note that you cannot use WITH NODES if you have enabled file-based index rebalancing

* [DOC-12139] Raise Dimensionality Support for Vector Search  (#212)

* [DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh

Created a new example to show all of the nested JSON objects in a search index definition with nest-json-object-example.jsonc

Added an xattrs example to query-field-name.jsonc

Added xattrs to simple-search-index-payload.jsonc

Added a clarifying sentence to create-child-mapping.adoc

Added context about xattrs mapping to create-search-index-rest-api.adoc

Created create-xattrs-mapping.adoc

Added a link and then info on xattrs mappings to customize-index.adoc

Added info and examples on xattrs objects to search-index-params.adoc

Added examples for searching xattrs to search-request-params.adoc

Added create-xattrs-mapping to nav.adoc

* [DOC-12038] Adding note about xattrs support to search.adoc

Updating metafun and searchfun to explain accessing xattrs from Search Service in SQL++

* [DOC-12038] Adding note about travel sample docs not including xattrs

* [DOC-12139] Update the two mentions of dimensionality in vector-search-field-descriptions partial and create-vector-search-index-ui

* Revert "[DOC-12038] Adding note about travel sample docs not including xattrs"

This reverts commit ad934e8.

* Revert "[DOC-12038] Adding note about xattrs support to search.adoc"

This reverts commit 4c3f14d.

* Revert "[DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh"

This reverts commit 99e3c0f.

* [DOC-12139] Add version caveat to dimensionality changes.

* [DOC-12077] base64 Vector Embeddings (SERVER VERSION) (#213)

* [DOC-12077] Quick initial pass adding info on base64

Adding new field data type to field-data-types-reference and search-index-params

Updating properties in search-request-params, to include vector_base64

Modifying create-vector-search-index-ui to reflect base64 encoded strings - made additional updates for clarity, based on some feedback received

* [DOC-12077] Added vector-search-base64-document-example.json to show how the navy document looks with base64 encoded strings

Added example query for base64 vectors

Updated run-vector-search-ui.adoc to include example with base64 strings

* [DOC-12077] Add version caveat to all changes.

* [DOC-12077] Adding missing word and space

* [DOC-12077] Comments from writer review

* [DOC-12047] Edit JSON Query Requests in Couchbase Web Console (#209)

* [DOC-12047] Updating run-searches, simple-search-rest-api, simple-search-ui, and geo-search-ui to add more info about getting command line examples and editing query request JSON directly in the UI

* [DOC-12047] Adding caveats about required patch version.

* Change language around version caveat

* Change language around version caveat

* Update simple-search-ui.adoc

* [DOC-12074] Support match_none as the Default `query` object for Vector Searches (#210)

* [DOC-12074] Updating run-vector-search-payload-ui to remove the match_none object, as it's not necessary

Updating search-request-params and run-vector-search-ui to reflect that the match_none object is no longer required

* [DOC-12074] Removing "match_none" from SQL++ query example

* [DOC-12074] Adding version information to default match_none query object behaviour

* Update search-request-params.adoc

* [DOC-12038] Use XATTRS in Search Indexes, Search Queries, and SQL++ Search Functions (SERVER) (#211)

* [DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh

Created a new example to show all of the nested JSON objects in a search index definition with nest-json-object-example.jsonc

Added an xattrs example to query-field-name.jsonc

Added xattrs to simple-search-index-payload.jsonc

Added a clarifying sentence to create-child-mapping.adoc

Added context about xattrs mapping to create-search-index-rest-api.adoc

Created create-xattrs-mapping.adoc

Added a link and then info on xattrs mappings to customize-index.adoc

Added info and examples on xattrs objects to search-index-params.adoc

Added examples for searching xattrs to search-request-params.adoc

Added create-xattrs-mapping to nav.adoc

* [DOC-12038] Adding note about xattrs support to search.adoc

Updating metafun and searchfun to explain accessing xattrs from Search Service in SQL++

* [DOC-12038] Adding note about travel sample docs not including xattrs

* [DOC-12038] Add version limitation info to all changes.

* Update metafun.adoc

* Update searchfun.adoc

* Update customize-index.adoc

* Update search.adoc

* DOC-12187  File based rebalance now supports placing indexes on nodes (#234)

* Change statements about index placement with file-based rebalance enabled ito indicate  it's no longer a restriction.

* Changes based on Varun's feedback.

* [DOC-12049] LOOKUPIN operation in Eventing (Server 7.6.2) (#230)

* Added subdocument LOOKUPIN operation to page

* Added new example page and made small changes to existing pages

* Added new page link to examples page

* Update eventing-advanced-keyspace-accessors.adoc

* Update eventing-handler-advancedLookupInOp.adoc

* Update eventing-advanced-keyspace-accessors.adoc

* Update nav.adoc for Server 7.6.2 (#241)

---------

Co-authored-by: Julia Browne <[email protected]>
Co-authored-by: Simon Dew <[email protected]>
Co-authored-by: Sarah Welton <[email protected]>
Co-authored-by: sarahlwelton <[email protected]>
Co-authored-by: Gary Gray <[email protected]>
simon-dew added a commit that referenced this pull request Dec 3, 2024
* Added error for CYCLE clause in WITH RECURSIVE page in 7.6.2 (#231)

* Added error for 7.6.2

* Added patch release

* [DOC-12129] base64 encoding/decoding functions in Eventing (Server 7.6.2) (#229)

* Added info about base64 functions

* Small update to language construct page

* DOC-11756: JavaScript language restrictions for JS-UDFs [Server 7.6.2] (#237)

* DOC-11756 Language Restrictions
* DOC-10013 Update title of calling JavaScript topic
* DOC-10013 Update JavaScript UDF introduction to describe inline and external functions
* DOC-10013 Add titles to diagram preview doc
* DOC-10013 Improve partial for external libraries and scopes
* DOC-10013 Add partial for SQL++ Managed UDFs
* DOC-10013 Minor wording updates for JavaScript UDF diagrams
* DOC-10013 Minor wording updates for JavaScript UDF reference
* DOC-10013 Update links for JavaScript UDF reference
* DOC-10013 Minor formatting updates for CREATE FUNCTION
* DOC-10013 These lines left blank intentionally
* DOC-10013 Add extra link to Calling SQL++ from JavaScript
* Remove unused nav partial for JavaScript UDFs
* Drive-by fix: link to Query Admin page
* Drive-by fix: replace SVG files with Kroki diagrams
* Updates after review

* DOC-12048: New indexer setting for default value of "defer build" (#239)

* Add section on deferring index builds by default
* Add horizontal style for all index arguments
* Use tables for object parameters
* Remove outdated version notices
* Minor formatting changes: consistent brackets, admonition placement
* Added note that you cannot use WITH NODES if you have enabled file-based index rebalancing

* [DOC-12139] Raise Dimensionality Support for Vector Search  (#212)

* [DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh

Created a new example to show all of the nested JSON objects in a search index definition with nest-json-object-example.jsonc

Added an xattrs example to query-field-name.jsonc

Added xattrs to simple-search-index-payload.jsonc

Added a clarifying sentence to create-child-mapping.adoc

Added context about xattrs mapping to create-search-index-rest-api.adoc

Created create-xattrs-mapping.adoc

Added a link and then info on xattrs mappings to customize-index.adoc

Added info and examples on xattrs objects to search-index-params.adoc

Added examples for searching xattrs to search-request-params.adoc

Added create-xattrs-mapping to nav.adoc

* [DOC-12038] Adding note about xattrs support to search.adoc

Updating metafun and searchfun to explain accessing xattrs from Search Service in SQL++

* [DOC-12038] Adding note about travel sample docs not including xattrs

* [DOC-12139] Update the two mentions of dimensionality in vector-search-field-descriptions partial and create-vector-search-index-ui

* Revert "[DOC-12038] Adding note about travel sample docs not including xattrs"

This reverts commit ad934e8.

* Revert "[DOC-12038] Adding note about xattrs support to search.adoc"

This reverts commit 4c3f14d.

* Revert "[DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh"

This reverts commit 99e3c0f.

* [DOC-12139] Add version caveat to dimensionality changes.

* [DOC-12077] base64 Vector Embeddings (SERVER VERSION) (#213)

* [DOC-12077] Quick initial pass adding info on base64

Adding new field data type to field-data-types-reference and search-index-params

Updating properties in search-request-params, to include vector_base64

Modifying create-vector-search-index-ui to reflect base64 encoded strings - made additional updates for clarity, based on some feedback received

* [DOC-12077] Added vector-search-base64-document-example.json to show how the navy document looks with base64 encoded strings

Added example query for base64 vectors

Updated run-vector-search-ui.adoc to include example with base64 strings

* [DOC-12077] Add version caveat to all changes.

* [DOC-12077] Adding missing word and space

* [DOC-12077] Comments from writer review

* [DOC-12047] Edit JSON Query Requests in Couchbase Web Console (#209)

* [DOC-12047] Updating run-searches, simple-search-rest-api, simple-search-ui, and geo-search-ui to add more info about getting command line examples and editing query request JSON directly in the UI

* [DOC-12047] Adding caveats about required patch version.

* Change language around version caveat

* Change language around version caveat

* Update simple-search-ui.adoc

* [DOC-12074] Support match_none as the Default `query` object for Vector Searches (#210)

* [DOC-12074] Updating run-vector-search-payload-ui to remove the match_none object, as it's not necessary

Updating search-request-params and run-vector-search-ui to reflect that the match_none object is no longer required

* [DOC-12074] Removing "match_none" from SQL++ query example

* [DOC-12074] Adding version information to default match_none query object behaviour

* Update search-request-params.adoc

* [DOC-12038] Use XATTRS in Search Indexes, Search Queries, and SQL++ Search Functions (SERVER) (#211)

* [DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh

Created a new example to show all of the nested JSON objects in a search index definition with nest-json-object-example.jsonc

Added an xattrs example to query-field-name.jsonc

Added xattrs to simple-search-index-payload.jsonc

Added a clarifying sentence to create-child-mapping.adoc

Added context about xattrs mapping to create-search-index-rest-api.adoc

Created create-xattrs-mapping.adoc

Added a link and then info on xattrs mappings to customize-index.adoc

Added info and examples on xattrs objects to search-index-params.adoc

Added examples for searching xattrs to search-request-params.adoc

Added create-xattrs-mapping to nav.adoc

* [DOC-12038] Adding note about xattrs support to search.adoc

Updating metafun and searchfun to explain accessing xattrs from Search Service in SQL++

* [DOC-12038] Adding note about travel sample docs not including xattrs

* [DOC-12038] Add version limitation info to all changes.

* Update metafun.adoc

* Update searchfun.adoc

* Update customize-index.adoc

* Update search.adoc

* DOC-12187  File based rebalance now supports placing indexes on nodes (#234)

* Change statements about index placement with file-based rebalance enabled ito indicate  it's no longer a restriction.

* Changes based on Varun's feedback.

* [DOC-12049] LOOKUPIN operation in Eventing (Server 7.6.2) (#230)

* Added subdocument LOOKUPIN operation to page

* Added new example page and made small changes to existing pages

* Added new page link to examples page

* Update eventing-advanced-keyspace-accessors.adoc

* Update eventing-handler-advancedLookupInOp.adoc

* Update eventing-advanced-keyspace-accessors.adoc

* Update nav.adoc for Server 7.6.2 (#241)

---------

Co-authored-by: Julia Browne <[email protected]>
Co-authored-by: Simon Dew <[email protected]>
Co-authored-by: Sarah Welton <[email protected]>
Co-authored-by: sarahlwelton <[email protected]>
Co-authored-by: Gary Gray <[email protected]>
simon-dew added a commit that referenced this pull request Dec 4, 2024
* Added error for CYCLE clause in WITH RECURSIVE page in 7.6.2 (#231)

* Added error for 7.6.2

* Added patch release

* [DOC-12129] base64 encoding/decoding functions in Eventing (Server 7.6.2) (#229)

* Added info about base64 functions

* Small update to language construct page

* DOC-11756: JavaScript language restrictions for JS-UDFs [Server 7.6.2] (#237)

* DOC-11756 Language Restrictions
* DOC-10013 Update title of calling JavaScript topic
* DOC-10013 Update JavaScript UDF introduction to describe inline and external functions
* DOC-10013 Add titles to diagram preview doc
* DOC-10013 Improve partial for external libraries and scopes
* DOC-10013 Add partial for SQL++ Managed UDFs
* DOC-10013 Minor wording updates for JavaScript UDF diagrams
* DOC-10013 Minor wording updates for JavaScript UDF reference
* DOC-10013 Update links for JavaScript UDF reference
* DOC-10013 Minor formatting updates for CREATE FUNCTION
* DOC-10013 These lines left blank intentionally
* DOC-10013 Add extra link to Calling SQL++ from JavaScript
* Remove unused nav partial for JavaScript UDFs
* Drive-by fix: link to Query Admin page
* Drive-by fix: replace SVG files with Kroki diagrams
* Updates after review

* DOC-12048: New indexer setting for default value of "defer build" (#239)

* Add section on deferring index builds by default
* Add horizontal style for all index arguments
* Use tables for object parameters
* Remove outdated version notices
* Minor formatting changes: consistent brackets, admonition placement
* Added note that you cannot use WITH NODES if you have enabled file-based index rebalancing

* [DOC-12139] Raise Dimensionality Support for Vector Search  (#212)

* [DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh

Created a new example to show all of the nested JSON objects in a search index definition with nest-json-object-example.jsonc

Added an xattrs example to query-field-name.jsonc

Added xattrs to simple-search-index-payload.jsonc

Added a clarifying sentence to create-child-mapping.adoc

Added context about xattrs mapping to create-search-index-rest-api.adoc

Created create-xattrs-mapping.adoc

Added a link and then info on xattrs mappings to customize-index.adoc

Added info and examples on xattrs objects to search-index-params.adoc

Added examples for searching xattrs to search-request-params.adoc

Added create-xattrs-mapping to nav.adoc

* [DOC-12038] Adding note about xattrs support to search.adoc

Updating metafun and searchfun to explain accessing xattrs from Search Service in SQL++

* [DOC-12038] Adding note about travel sample docs not including xattrs

* [DOC-12139] Update the two mentions of dimensionality in vector-search-field-descriptions partial and create-vector-search-index-ui

* Revert "[DOC-12038] Adding note about travel sample docs not including xattrs"

This reverts commit ad934e8.

* Revert "[DOC-12038] Adding note about xattrs support to search.adoc"

This reverts commit 4c3f14d.

* Revert "[DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh"

This reverts commit 99e3c0f.

* [DOC-12139] Add version caveat to dimensionality changes.

* [DOC-12077] base64 Vector Embeddings (SERVER VERSION) (#213)

* [DOC-12077] Quick initial pass adding info on base64

Adding new field data type to field-data-types-reference and search-index-params

Updating properties in search-request-params, to include vector_base64

Modifying create-vector-search-index-ui to reflect base64 encoded strings - made additional updates for clarity, based on some feedback received

* [DOC-12077] Added vector-search-base64-document-example.json to show how the navy document looks with base64 encoded strings

Added example query for base64 vectors

Updated run-vector-search-ui.adoc to include example with base64 strings

* [DOC-12077] Add version caveat to all changes.

* [DOC-12077] Adding missing word and space

* [DOC-12077] Comments from writer review

* [DOC-12047] Edit JSON Query Requests in Couchbase Web Console (#209)

* [DOC-12047] Updating run-searches, simple-search-rest-api, simple-search-ui, and geo-search-ui to add more info about getting command line examples and editing query request JSON directly in the UI

* [DOC-12047] Adding caveats about required patch version.

* Change language around version caveat

* Change language around version caveat

* Update simple-search-ui.adoc

* [DOC-12074] Support match_none as the Default `query` object for Vector Searches (#210)

* [DOC-12074] Updating run-vector-search-payload-ui to remove the match_none object, as it's not necessary

Updating search-request-params and run-vector-search-ui to reflect that the match_none object is no longer required

* [DOC-12074] Removing "match_none" from SQL++ query example

* [DOC-12074] Adding version information to default match_none query object behaviour

* Update search-request-params.adoc

* [DOC-12038] Use XATTRS in Search Indexes, Search Queries, and SQL++ Search Functions (SERVER) (#211)

* [DOC-12038] Added xattrs object to REST API example, create-search-index-payload.sh

Created a new example to show all of the nested JSON objects in a search index definition with nest-json-object-example.jsonc

Added an xattrs example to query-field-name.jsonc

Added xattrs to simple-search-index-payload.jsonc

Added a clarifying sentence to create-child-mapping.adoc

Added context about xattrs mapping to create-search-index-rest-api.adoc

Created create-xattrs-mapping.adoc

Added a link and then info on xattrs mappings to customize-index.adoc

Added info and examples on xattrs objects to search-index-params.adoc

Added examples for searching xattrs to search-request-params.adoc

Added create-xattrs-mapping to nav.adoc

* [DOC-12038] Adding note about xattrs support to search.adoc

Updating metafun and searchfun to explain accessing xattrs from Search Service in SQL++

* [DOC-12038] Adding note about travel sample docs not including xattrs

* [DOC-12038] Add version limitation info to all changes.

* Update metafun.adoc

* Update searchfun.adoc

* Update customize-index.adoc

* Update search.adoc

* DOC-12187  File based rebalance now supports placing indexes on nodes (#234)

* Change statements about index placement with file-based rebalance enabled ito indicate  it's no longer a restriction.

* Changes based on Varun's feedback.

* [DOC-12049] LOOKUPIN operation in Eventing (Server 7.6.2) (#230)

* Added subdocument LOOKUPIN operation to page

* Added new example page and made small changes to existing pages

* Added new page link to examples page

* Update eventing-advanced-keyspace-accessors.adoc

* Update eventing-handler-advancedLookupInOp.adoc

* Update eventing-advanced-keyspace-accessors.adoc

* Update nav.adoc for Server 7.6.2 (#241)

---------

Co-authored-by: Julia Browne <[email protected]>
Co-authored-by: Simon Dew <[email protected]>
Co-authored-by: Sarah Welton <[email protected]>
Co-authored-by: sarahlwelton <[email protected]>
Co-authored-by: Gary Gray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants