MCPcopy Create free account

hub / github.com/YadaYuki/omochi / functions

Functions762 in github.com/YadaYuki/omochi

↓ 2 callersMethodFindTermCompressedById
(ctx context.Context, id uuid.UUID)
pkg/usecase/term/term.go:13
↓ 2 callersMethodFloat64s
Float64s returns list of float64s from group-by. It is only allowed when executing a group-by query with one field.
pkg/ent/document_query.go:568
↓ 2 callersMethodFloat64s
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
pkg/ent/document_query.go:820
↓ 2 callersMethodFloat64s
Float64s returns list of float64s from group-by. It is only allowed when executing a group-by query with one field.
pkg/ent/term_query.go:569
↓ 2 callersMethodFloat64s
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
pkg/ent/term_query.go:821
↓ 2 callersFunctionHasOp
HasOp is a condition testing mutation operation.
pkg/ent/hook/hook.go:79
↓ 2 callersFunctionIf
If executes the given hook under condition. hook.If(ComputeAverage, And(HasFields(...), HasAddedFields(...)))
pkg/ent/hook/hook.go:134
↓ 2 callersMethodInts
Ints returns list of ints from group-by. It is only allowed when executing a group-by query with one field.
pkg/ent/document_query.go:519
↓ 2 callersMethodInts
Ints returns list of ints from a selector. It is only allowed when selecting one field.
pkg/ent/document_query.go:773
↓ 2 callersMethodInts
Ints returns list of ints from group-by. It is only allowed when executing a group-by query with one field.
pkg/ent/term_query.go:520
↓ 2 callersMethodInts
Ints returns list of ints from a selector. It is only allowed when selecting one field.
pkg/ent/term_query.go:774
↓ 2 callersFunctionLoadDocumentsFromTsv
(pathTo string)
cmd/seeds/data/data.go:15
↓ 2 callersMethodMixin
Mixin of the Term.
pkg/ent/schema/term.go:25
↓ 2 callersFunctionNewClient
NewClient creates a new client configured with the given options.
pkg/ent/client.go:32
↓ 2 callersFunctionNewDocumentController
(searchUsecase search.SearchUseCase)
pkg/interface/api/document/document.go:19
↓ 2 callersFunctionNewJaKagomeTokenizer
()
pkg/infrastructure/tokenizer/ja/ja_kagome_tokenizer.go:17
↓ 2 callersFunctionNewTermCompressedCreate
(word string, invertIndex *InvertIndexCompressed)
pkg/domain/entities/term.go:39
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
pkg/ent/document_update.go:55
↓ 2 callersMethodSave
Save executes the query and returns the updated Document entity.
pkg/ent/document_update.go:206
↓ 2 callersMethodSave
Save creates the Term entities in the database.
pkg/ent/term_create.go:511
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
pkg/ent/term_update.go:55
↓ 2 callersMethodSave
Save executes the query and returns the updated Term entity.
pkg/ent/term_update.go:222
↓ 2 callersMethodSave
Save creates the Document entities in the database.
pkg/ent/document_create.go:466
↓ 2 callersMethodSetContent
SetContent sets the "content" field.
pkg/ent/mutation.go:220
↓ 2 callersMethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/term_create.go:28
↓ 2 callersMethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/document_create.go:26
↓ 2 callersMethodSetID
SetID sets the "id" field.
pkg/ent/term_create.go:68
↓ 2 callersMethodSetTokenizedContent
SetTokenizedContent sets the "tokenized_content" field.
pkg/ent/mutation.go:256
↓ 2 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/term_create.go:42
↓ 2 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/document_create.go:40
↓ 2 callersFunctionSplitSlice
(slice []T, size int)
pkg/common/slices/slices.go:16
↓ 2 callersMethodStrings
Strings returns list of strings from group-by. It is only allowed when executing a group-by query with one field.
pkg/ent/document_query.go:470
↓ 2 callersMethodStrings
Strings returns list of strings from a selector. It is only allowed when selecting one field.
pkg/ent/document_query.go:726
↓ 2 callersMethodStrings
Strings returns list of strings from group-by. It is only allowed when executing a group-by query with one field.
pkg/ent/term_query.go:471
↓ 2 callersMethodStrings
Strings returns list of strings from a selector. It is only allowed when selecting one field.
pkg/ent/term_query.go:727
↓ 2 callersMethodTokenize
(ctx context.Context, content string)
pkg/domain/service/tokenizer.go:11
↓ 2 callersMethodTx
Tx returns the transaction wrapper (txDriver) to avoid Commit or Rollback calls from the internal builders. Should be called only by the internal buil
pkg/ent/tx.go:187
↓ 2 callersMethodUpdateOne
UpdateOne returns an update builder for the given entity.
pkg/ent/client.go:257
↓ 2 callersMethodWhere
Where appends a list predicates to the TermMutation builder.
pkg/ent/mutation.go:771
↓ 2 callersFunctionWord
Word applies equality check predicate on the "word" field. It's identical to WordEQ.
pkg/ent/term/where.go:111
↓ 2 callersMethodcalculateDocumentScores
(ctx context.Context, query string, docs []*entities.Document)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker.go:40
↓ 2 callersMethodcalculateInverseDocumentFrequency
(query string, docs []*entities.Document)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker.go:60
↓ 2 callersMethodcalculateTermFrequency
(query string, doc entities.Document)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker.go:50
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
pkg/ent/term_update.go:124
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
pkg/ent/term_update.go:291
↓ 2 callersFunctionconvertDocumentEntSchemaToEntity
(t *ent.Document)
pkg/infrastructure/persistence/entdb/document_ent_repository.go:62
↓ 2 callersFunctionconvertTermCompressedEntSchemaToEntity
(entTerm *ent.Term)
pkg/infrastructure/persistence/entdb/term_ent_repository.go:101
↓ 2 callersFunctioncovertErrorToResponse
(err *errors.Error, w http.ResponseWriter)
pkg/interface/api/document/document.go:59
↓ 2 callersMethodcreateSpec
()
pkg/ent/term_create.go:206
↓ 2 callersMethodcreateSpec
()
pkg/ent/document_create.go:176
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
pkg/ent/term_create.go:151
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
pkg/ent/document_create.go:135
↓ 2 callersFunctionnewOptions
(opts []Option)
pkg/ent/enttest/enttest.go:46
↓ 2 callersMethodnormalize
(nums []float64)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker.go:72
↓ 2 callersMethodquerySpec
()
pkg/ent/document_query.go:355
↓ 2 callersMethodquerySpec
()
pkg/ent/term_query.go:356
↓ 2 callersMethodsqlCount
(ctx context.Context)
pkg/ent/document_query.go:338
↓ 2 callersMethodsqlCount
(ctx context.Context)
pkg/ent/term_query.go:339
↓ 2 callersMethodsqlExec
(ctx context.Context)
pkg/ent/document_delete.go:70
↓ 2 callersMethodsqlExec
(ctx context.Context)
pkg/ent/term_delete.go:70
↓ 2 callersMethodsqlQuery
(ctx context.Context)
pkg/ent/document_query.go:403
↓ 2 callersMethodsqlQuery
(ctx context.Context)
pkg/ent/term_query.go:404
↓ 2 callersMethodsqlSave
(ctx context.Context)
pkg/ent/document_update.go:117
↓ 2 callersMethodsqlSave
(ctx context.Context)
pkg/ent/document_update.go:268
↓ 2 callersMethodsqlSave
(ctx context.Context)
pkg/ent/term_create.go:188
↓ 2 callersMethodsqlSave
(ctx context.Context)
pkg/ent/term_update.go:133
↓ 2 callersMethodsqlSave
(ctx context.Context)
pkg/ent/term_update.go:300
↓ 2 callersMethodsqlSave
(ctx context.Context)
pkg/ent/document_create.go:163
↓ 1 callersMethodAppend
Append extends a chain, adding the specified hook as the last ones in the mutation flow.
pkg/ent/hook/hook.go:206
↓ 1 callersMethodBool
Bool returns a single bool from a group-by query. It is only allowed when executing a group-by query with one field.
pkg/ent/document_query.go:639
↓ 1 callersMethodBool
Bool returns a single bool from a selector. It is only allowed when selecting one field.
pkg/ent/document_query.go:888
↓ 1 callersMethodBool
Bool returns a single bool from a group-by query. It is only allowed when executing a group-by query with one field.
pkg/ent/term_query.go:640
↓ 1 callersMethodBool
Bool returns a single bool from a selector. It is only allowed when selecting one field.
pkg/ent/term_query.go:889
↓ 1 callersMethodBulkUpsertTerm
(ctx context.Context, terms *[]entities.TermCompressedCreate)
pkg/infrastructure/persistence/entdb/term_ent_repository.go:36
↓ 1 callersMethodBulkUpsertTerm
(ctx context.Context, terms *[]entities.TermCompressedCreate)
pkg/domain/repository/term_repository.go:14
↓ 1 callersMethodClient
Client returns a Client that binds to current transaction.
pkg/ent/tx.go:145
↓ 1 callersMethodClient
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
pkg/ent/mutation.go:102
↓ 1 callersMethodCompress
(ctx context.Context, invertIndexes *entities.InvertIndex)
pkg/domain/service/invert_index_compresser.go:11
↓ 1 callersMethodCount
Count returns the count of the given query.
pkg/ent/document_query.go:199
↓ 1 callersMethodCreateBulk
CreateBulk returns a builder for creating a bulk of Term entities.
pkg/ent/client.go:246
↓ 1 callersMethodCreateDocument
(ctx context.Context, doc *entities.DocumentCreate)
pkg/domain/repository/document_repository.go:11
↓ 1 callersMethodCreatedAt
CreatedAt returns the value of the "created_at" field in the mutation.
pkg/ent/mutation.go:153
↓ 1 callersMethodDebug
Debug returns a new debug-client. It's used to get verbose logging on specific operations. client.Debug(). Document. Query(). Count(ctx)
pkg/ent/client.go:110
↓ 1 callersMethodDelete
Delete returns a delete builder for Document.
pkg/ent/client.go:179
↓ 1 callersMethodDelete
Delete returns a delete builder for Term.
pkg/ent/client.go:269
↓ 1 callersMethodDeleteOneID
DeleteOneID returns a delete builder for the given id.
pkg/ent/client.go:190
↓ 1 callersMethodDeleteOneID
DeleteOneID returns a delete builder for the given id.
pkg/ent/client.go:280
↓ 1 callersMethodDoNothing
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
pkg/ent/term_create.go:395
↓ 1 callersMethodDoNothing
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
pkg/ent/document_create.go:355
↓ 1 callersFunctionDriver
Driver configures the client driver.
pkg/ent/config.go:56
↓ 1 callersMethodError
()
pkg/errors/error.go:28
↓ 1 callersMethodExec
Exec executes the query.
pkg/ent/document_update.go:97
↓ 1 callersMethodExec
Exec executes the query on the entity.
pkg/ent/document_update.go:248
↓ 1 callersMethodExec
Exec executes the query.
pkg/ent/term_create.go:573
↓ 1 callersMethodExec
Exec executes the query.
pkg/ent/term_update.go:103
↓ 1 callersMethodExec
Exec executes the query on the entity.
pkg/ent/term_update.go:270
↓ 1 callersMethodExec
Exec calls tx.Exec.
pkg/ent/tx.go:204
↓ 1 callersMethodExec
Exec executes the query.
pkg/ent/document_create.go:532
↓ 1 callersMethodExecX
ExecX is like Exec, but panics if an error occurs.
pkg/ent/document_delete.go:62
↓ 1 callersMethodExecX
ExecX is like Exec, but panics if an error occurs.
pkg/ent/term_delete.go:62
← previousnext →101–200 of 762, ranked by callers