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

Search #7237

Merged
merged 57 commits into from
Oct 3, 2024
Merged

Search #7237

Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
dd5055d
fix test
ijreilly Aug 23, 2024
0904917
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Aug 28, 2024
81d6005
Comments with twenty orm hints
ijreilly Aug 28, 2024
c343155
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Aug 29, 2024
8d76f96
WIP - search with query builder and trgm works (prereq: add trgm exte…
ijreilly Sep 2, 2024
ed90ee9
WIP
ijreilly Sep 3, 2024
66f8747
wip - Add search parameter
ijreilly Sep 3, 2024
77f4063
wip - search on trigram works in front
ijreilly Sep 3, 2024
0989b70
ts_vector works
ijreilly Sep 3, 2024
b758fc8
wip
ijreilly Sep 5, 2024
570b9d3
wip - spilo dockerfile works
ijreilly Sep 6, 2024
c612fc0
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 9, 2024
324ac9b
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 11, 2024
3cbccd3
implementation of search endpoint
ijreilly Sep 11, 2024
6d1092f
Add limit arg to search endpoint
ijreilly Sep 12, 2024
552b4e0
Add feature flag
ijreilly Sep 12, 2024
b258648
wip
ijreilly Sep 16, 2024
cc4764a
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 17, 2024
3401747
wip - searchvector created and works but typeorm issue + no indexes yet
ijreilly Sep 18, 2024
a1213c5
split emails in two words for tsvector
ijreilly Sep 18, 2024
51dcb01
Add searchVector to custom object entity
ijreilly Sep 18, 2024
0716119
create searchVector field at custom object creation
ijreilly Sep 19, 2024
fc053e3
Handle gin index creation with decorator
ijreilly Sep 20, 2024
7e50d5a
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 20, 2024
3929800
remove merge conflict trace
ijreilly Sep 20, 2024
1d67d22
wip
ijreilly Sep 20, 2024
2a1103c
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 20, 2024
24c7d6e
generate graphql for front
ijreilly Sep 20, 2024
6b1d822
wip
ijreilly Sep 20, 2024
4059b61
Add typeOrmMetadata column
ijreilly Sep 23, 2024
3eec4ef
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 23, 2024
1cdbe30
wip
ijreilly Sep 24, 2024
2c70842
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 24, 2024
b08b5aa
wip
ijreilly Sep 24, 2024
5a23053
Fix infinite loop
ijreilly Sep 24, 2024
dff5266
Use .getMany()
ijreilly Sep 26, 2024
b1001c7
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 26, 2024
85a00c9
Concatenate phone fields for ts vector column expressoin
ijreilly Sep 26, 2024
3fa7252
Remove phones from person label identifier
ijreilly Sep 26, 2024
9a06c25
Remove code from paradedb tests
ijreilly Sep 27, 2024
581045b
clean code
ijreilly Sep 27, 2024
eb39b2d
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Sep 30, 2024
88a4d19
minor improvements
ijreilly Sep 30, 2024
1c52263
Extend sync-index to standard indexes on custom objects
ijreilly Sep 30, 2024
3d7bbac
Add feature flag in FE
ijreilly Sep 30, 2024
5605645
Fix standard index factory issue
ijreilly Oct 1, 2024
ef9ab33
Merge branch 'main' of github.com:twentyhq/twenty into search
ijreilly Oct 1, 2024
b05c027
Code improvements
ijreilly Oct 1, 2024
54c17d1
Fix index creation
ijreilly Oct 2, 2024
4652fc7
Fix SQL injection breach
ijreilly Oct 2, 2024
cae5738
Refactor generateFields
ijreilly Oct 2, 2024
5771352
Nullify searchVector when deletedAt is not null
ijreilly Oct 2, 2024
d404c22
improve code quality
ijreilly Oct 2, 2024
2e95942
Fix escapedWord
ijreilly Oct 2, 2024
c6fe5f9
improve code quality
ijreilly Oct 3, 2024
adfc8ee
Fix BTREE indexes inclusion of deletedAt + add tests
ijreilly Oct 3, 2024
1bed77f
Follow conventions for addIndexType
ijreilly Oct 3, 2024
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
Prev Previous commit
Next Next commit
wip - Add search parameter
  • Loading branch information
ijreilly committed Sep 3, 2024
commit 66f87477fb163d628d933ed1ffb480fad66a0262
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { Inject, Injectable, forwardRef } from '@nestjs/common';

import { GraphQLInputFieldConfigMap, GraphQLInputObjectType } from 'graphql';
import {
GraphQLInputFieldConfigMap,
GraphQLInputObjectType,
GraphQLString,
} from 'graphql';

import { WorkspaceBuildSchemaOptions } from 'src/engine/api/graphql/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/engine/metadata-modules/field-metadata/interfaces/object-metadata.interface';
Expand Down Expand Up @@ -72,6 +76,9 @@ export class InputTypeDefinitionFactory {
nullable: true,
}),
},
search: {
ijreilly marked this conversation as resolved.
Show resolved Hide resolved
type: GraphQLString,
},
};
}
/**
Expand Down