Skip to content

Commit

Permalink
Query documentation: Small typo, wording and link correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
mspanik committed Jan 11, 2024
1 parent c5b50d0 commit d919651
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/concepts/query/full-text-search.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:page-wiki-metadata-create-date: 2017-02-27T11:45:43.315+01:00
:page-wiki-metadata-modify-user: vix
:page-wiki-metadata-modify-date: 2018-04-19T13:43:10.256+02:00
:page-moved-from: /midpoint/reference/concepts/repository/full-text-search/
:page-moved-from: /midpoint/reference/repository/full-text-search/
:page-upkeep-status: yellow
:page-display-order: 400
:page-toc: top
Expand Down
2 changes: 1 addition & 1 deletion docs/concepts/query/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ objects on the xref:/midpoint/reference/resources/[resources].
MidPoint query provides option for selection only the objects that match specified criteria.

Initial option for searching objects in GUI is *Basic search*.
The basic search allows users to guery objects in view by selecting values of preselected object attributes or relations. It is configurable by engineer.
The basic search allows users to query objects in view by selecting values of preselected object attributes or relations. It is configurable by engineer.
This search is designed for end users and is available only in GUI.

The xref:midpoint-query-language/[*midPoint Query Language*] is universal language used to search for objects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:page-nav-title: Expressions
:page-display-order: 200
:page-toc: top

:page-moved-from: /midpoint/reference/concepts/query/axiom-query-language/expressions/
:triple-backtick: ```

MidPoint Query Language provides special syntax support for most common
Expand Down
8 changes: 6 additions & 2 deletions docs/concepts/query/midpoint-query-language/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ image:advanced-query-select.png[Select Advanced query]
You can test the queries directly in GUI. Starting in All users view. It is easy and straightforward.
As an example, to select all users with given name starting with "J" just enter `givenName startsWith "J"` to search bar and click search button.

For starting with midPoint query in GUI, please check xref:/midpoint/guides/gui-midpoint-query-examples/[GUI: Advanced search - EXAMPLES] document.

For starting with midPoint query, please check
xref:basic-usage.adoc[Basic usage of midPoint Query Language] document.

Examples how to use the midPoint query in GUI can be found in xref:/midpoint/guides/gui-midpoint-query-examples[Advanced search - EXAMPLES].

MidPoint provides xref:../query-in-midpoint/index.adoc#_query_playground[query playground] feature that allows administrator more advanced experimenting with midPoint queries.

Expand Down Expand Up @@ -254,7 +258,7 @@ Dereferencing is done using `@` special character in item path after reference,
This allows you to continue path with properties of referenced objects such as
`assignment/targetRef/@/name` - which means `name` of assigned object.

For example this enables us to search for users with assigned role by role name instead of oid (but it is executed a bit slower, since we need to dereference objects).
For example, this enables us to search for users with assigned role by role name instead of oid. (but it is executed a bit slower, since we need to dereference objects).
`assignment/targetRef/@/name = "Superuser"` - matches any user who is directly assigned role of superuser.

NOTE: To match also users, who are indirectly assigned role, you should use `roleMembershipRef` instead of `assignment/targetRef`.
Expand Down

0 comments on commit d919651

Please sign in to comment.