Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/constructive-cli/src/auth/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,14 @@ csdk user list --where.searchTsv "search query" --select title,tsvRank
csdk user list --where.trgmDisplayName.value "approximate query" --where.trgmDisplayName.threshold 0.3 --select title,displayNameTrgmSimilarity
```

*Composite search (fullTextSearch dispatches to all text adapters):*
*Composite search (unifiedSearch dispatches to all text adapters):*
```bash
csdk user list --where.fullTextSearch "search query" --select title,tsvRank,displayNameTrgmSimilarity,searchScore
csdk user list --where.unifiedSearch "search query" --select title,tsvRank,displayNameTrgmSimilarity,searchScore
```

*Search with pagination and field projection:*
```bash
csdk user list --where.fullTextSearch "query" --limit 10 --select id,title,searchScore
csdk user list --where.unifiedSearch "query" --limit 10 --select id,title,searchScore
csdk user search "query" --limit 10 --select id,title,searchScore
```

Expand Down
12 changes: 6 additions & 6 deletions sdk/constructive-cli/src/auth/orm/input-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,12 +679,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
// ============ OrderBy Types ============
export type EmailOrderBy =
Expand Down Expand Up @@ -1679,12 +1679,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
export interface StringFilter {
Expand Down
6 changes: 3 additions & 3 deletions sdk/constructive-cli/src/public/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3471,14 +3471,14 @@ csdk user list --where.searchTsv "search query" --select title,tsvRank
csdk user list --where.trgmDisplayName.value "approximate query" --where.trgmDisplayName.threshold 0.3 --select title,displayNameTrgmSimilarity
```

*Composite search (fullTextSearch dispatches to all text adapters):*
*Composite search (unifiedSearch dispatches to all text adapters):*
```bash
csdk user list --where.fullTextSearch "search query" --select title,tsvRank,displayNameTrgmSimilarity,searchScore
csdk user list --where.unifiedSearch "search query" --select title,tsvRank,displayNameTrgmSimilarity,searchScore
```

*Search with pagination and field projection:*
```bash
csdk user list --where.fullTextSearch "query" --limit 10 --select id,title,searchScore
csdk user list --where.unifiedSearch "query" --limit 10 --select id,title,searchScore
csdk user search "query" --limit 10 --select id,title,searchScore
```

Expand Down
12 changes: 6 additions & 6 deletions sdk/constructive-cli/src/public/orm/input-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9744,12 +9744,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
export interface AstMigrationFilter {
/** Filter by the object’s `id` field. */
Expand Down Expand Up @@ -22141,12 +22141,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
/** A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ */
export interface RlsModuleFilter {
Expand Down
12 changes: 6 additions & 6 deletions sdk/constructive-react/src/auth/orm/input-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,12 +679,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
// ============ OrderBy Types ============
export type EmailOrderBy =
Expand Down Expand Up @@ -1679,12 +1679,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
export interface StringFilter {
Expand Down
6 changes: 3 additions & 3 deletions sdk/constructive-react/src/auth/schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
/** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
export interface StringTrgmFilter {
Expand Down
12 changes: 6 additions & 6 deletions sdk/constructive-react/src/public/orm/input-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9744,12 +9744,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
export interface AstMigrationFilter {
/** Filter by the object’s `id` field. */
Expand Down Expand Up @@ -22141,12 +22141,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
/** A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ */
export interface RlsModuleFilter {
Expand Down
6 changes: 3 additions & 3 deletions sdk/constructive-react/src/public/schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3336,12 +3336,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
/** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
export interface StringTrgmFilter {
Expand Down
6 changes: 3 additions & 3 deletions sdk/constructive-sdk/schemas/auth.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -854,12 +854,12 @@ input UserFilter {
trgmDisplayName: TrgmSearchInput

"""
Composite full-text search. Provide a search string and it will be dispatched
to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
Composite unified search. Provide a search string and it will be dispatched to
all text-compatible search algorithms (tsvector, BM25, pg_trgm)
simultaneously. Rows matching ANY algorithm are returned. All matching score
fields are populated.
"""
fullTextSearch: String
unifiedSearch: String
}

"""
Expand Down
6 changes: 3 additions & 3 deletions sdk/constructive-sdk/schemas/public.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -8867,12 +8867,12 @@ input UserFilter {
trgmDisplayName: TrgmSearchInput

"""
Composite full-text search. Provide a search string and it will be dispatched
to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
Composite unified search. Provide a search string and it will be dispatched to
all text-compatible search algorithms (tsvector, BM25, pg_trgm)
simultaneously. Rows matching ANY algorithm are returned. All matching score
fields are populated.
"""
fullTextSearch: String
unifiedSearch: String
}

"""
Expand Down
12 changes: 6 additions & 6 deletions sdk/constructive-sdk/src/auth/orm/input-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,12 +679,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
// ============ OrderBy Types ============
export type EmailOrderBy =
Expand Down Expand Up @@ -1679,12 +1679,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
export interface StringFilter {
Expand Down
12 changes: 6 additions & 6 deletions sdk/constructive-sdk/src/public/orm/input-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9744,12 +9744,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
export interface AstMigrationFilter {
/** Filter by the object’s `id` field. */
Expand Down Expand Up @@ -22141,12 +22141,12 @@ export interface UserFilter {
/** TRGM search on the `display_name` column. */
trgmDisplayName?: TrgmSearchInput;
/**
* Composite full-text search. Provide a search string and it will be dispatched
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* Composite unified search. Provide a search string and it will be dispatched to
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
* simultaneously. Rows matching ANY algorithm are returned. All matching score
* fields are populated.
*/
fullTextSearch?: string;
unifiedSearch?: string;
}
/** A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ */
export interface RlsModuleFilter {
Expand Down
Loading