Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YadaYuki/omochi
/ functions
Functions
762 in github.com/YadaYuki/omochi
⨍
Functions
762
◇
Types & classes
107
Method
SetPostingListCompressed
SetPostingListCompressed sets the "posting_list_compressed" field.
pkg/ent/term_create.go:452
Method
SetPostingListCompressed
SetPostingListCompressed sets the "posting_list_compressed" field.
pkg/ent/term_create.go:727
Method
SetPostingListCompressed
SetPostingListCompressed sets the "posting_list_compressed" field.
pkg/ent/term_update.go:204
Method
SetTokenizedContent
SetTokenizedContent sets the "tokenized_content" field.
pkg/ent/document_update.go:188
Method
SetTokenizedContent
SetTokenizedContent sets the "tokenized_content" field.
pkg/ent/document_create.go:60
Method
SetTokenizedContent
SetTokenizedContent sets the "tokenized_content" field.
pkg/ent/document_create.go:311
Method
SetTokenizedContent
SetTokenizedContent sets the "tokenized_content" field.
pkg/ent/document_create.go:412
Method
SetTokenizedContent
SetTokenizedContent sets the "tokenized_content" field.
pkg/ent/document_create.go:679
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/document_update.go:176
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/term_create.go:321
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/term_create.go:424
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/term_create.go:699
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/term_update.go:192
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/document_create.go:287
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/document_create.go:384
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
pkg/ent/document_create.go:651
Method
SetWord
SetWord sets the "word" field.
pkg/ent/term_create.go:56
Method
SetWord
SetWord sets the "word" field.
pkg/ent/term_create.go:333
Method
SetWord
SetWord sets the "word" field.
pkg/ent/term_create.go:438
Method
SetWord
SetWord sets the "word" field.
pkg/ent/term_create.go:713
Method
SetWord
SetWord sets the "word" field.
pkg/ent/term_update.go:198
Method
String
String implements the fmt.Stringer.
pkg/ent/document.go:109
Method
String
()
pkg/errors/error.go:32
Method
StringX
StringX is like String, but panics if an error occurs.
pkg/ent/document_query.go:509
Method
StringX
StringX is like String, but panics if an error occurs.
pkg/ent/document_query.go:764
Method
StringX
StringX is like String, but panics if an error occurs.
pkg/ent/term_query.go:510
Method
StringX
StringX is like String, but panics if an error occurs.
pkg/ent/term_query.go:765
Method
StringsX
StringsX is like Strings, but panics if an error occurs.
pkg/ent/document_query.go:482
Method
StringsX
StringsX is like Strings, but panics if an error occurs.
pkg/ent/document_query.go:738
Method
StringsX
StringsX is like Strings, but panics if an error occurs.
pkg/ent/term_query.go:483
Method
StringsX
StringsX is like Strings, but panics if an error occurs.
pkg/ent/term_query.go:739
Function
Sum
Sum applies the "sum" aggregation function on the given field of each group.
pkg/ent/ent.go:135
Function
TestBulkUpsertTerm
(t *testing.T)
pkg/infrastructure/persistence/entdb/term_ent_repository_test.go:126
Function
TestCalculateDocumentScores
(t *testing.T)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker_test.go:81
Function
TestCalculateInverseDocumentFrequency
(t *testing.T)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker_test.go:32
Function
TestCalculateTermFrequency
(t *testing.T)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker_test.go:12
Function
TestCompress
(t *testing.T)
pkg/infrastructure/compresser/zlib_invert_index_compresser_test.go:11
Function
TestCompressToDecompress
E2E
pkg/infrastructure/compresser/zlib_invert_index_compresser_test.go:32
Function
TestCreateDocument
(t *testing.T)
pkg/infrastructure/persistence/entdb/document_ent_repository_test.go:13
Function
TestFindDocumentsByIds
(t *testing.T)
pkg/infrastructure/persistence/entdb/document_ent_repository_test.go:37
Function
TestFindTermCompressedById
(t *testing.T)
pkg/infrastructure/persistence/entdb/term_ent_repository_test.go:16
Function
TestFindTermCompressedByWord
(t *testing.T)
pkg/infrastructure/persistence/entdb/term_ent_repository_test.go:41
Function
TestFindTermCompressedsByWords
(t *testing.T)
pkg/infrastructure/persistence/entdb/term_ent_repository_test.go:71
Function
TestIndexingDocument
(t *testing.T)
pkg/infrastructure/indexer/indexer_test.go:19
Function
TestIndexingDocument
(t *testing.T)
pkg/infrastructure/indexer/entindexer/ent_indexer_test.go:17
Function
TestNormalize
(t *testing.T)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker_test.go:59
Function
TestSearch
(t *testing.T)
pkg/infrastructure/searcher/searcher_test.go:20
Function
TestSortDocumentByScore
(t *testing.T)
pkg/infrastructure/documentranker/tfidfranker/tf_idf_document_ranker_test.go:108
Function
TestTermController_FindTermById
(t *testing.T)
pkg/interface/api/term/term_test.go:21
Function
TestTermController_FindTermById
(t *testing.T)
pkg/interface/api/document/document_test.go:30
Function
TestTokenize
(t *testing.T)
pkg/infrastructure/tokenizer/ja/ja_kagome_tokenizer_test.go:9
Function
TestTokenize
(t *testing.T)
pkg/infrastructure/tokenizer/eng/en_prose_tokenizer_test.go:8
Function
TokenizedContent
TokenizedContent applies equality check predicate on the "tokenized_content" field. It's identical to TokenizedContentEQ.
pkg/ent/document/where.go:117
Function
TokenizedContentContains
TokenizedContentContains applies the Contains predicate on the "tokenized_content" field.
pkg/ent/document/where.go:463
Function
TokenizedContentContainsFold
TokenizedContentContainsFold applies the ContainsFold predicate on the "tokenized_content" field.
pkg/ent/document/where.go:491
Function
TokenizedContentEQ
TokenizedContentEQ applies the EQ predicate on the "tokenized_content" field.
pkg/ent/document/where.go:387
Function
TokenizedContentEqualFold
TokenizedContentEqualFold applies the EqualFold predicate on the "tokenized_content" field.
pkg/ent/document/where.go:484
Function
TokenizedContentGT
TokenizedContentGT applies the GT predicate on the "tokenized_content" field.
pkg/ent/document/where.go:435
Function
TokenizedContentGTE
TokenizedContentGTE applies the GTE predicate on the "tokenized_content" field.
pkg/ent/document/where.go:442
Function
TokenizedContentHasPrefix
TokenizedContentHasPrefix applies the HasPrefix predicate on the "tokenized_content" field.
pkg/ent/document/where.go:470
Function
TokenizedContentHasSuffix
TokenizedContentHasSuffix applies the HasSuffix predicate on the "tokenized_content" field.
pkg/ent/document/where.go:477
Function
TokenizedContentIn
TokenizedContentIn applies the In predicate on the "tokenized_content" field.
pkg/ent/document/where.go:401
Function
TokenizedContentLT
TokenizedContentLT applies the LT predicate on the "tokenized_content" field.
pkg/ent/document/where.go:449
Function
TokenizedContentLTE
TokenizedContentLTE applies the LTE predicate on the "tokenized_content" field.
pkg/ent/document/where.go:456
Function
TokenizedContentNEQ
TokenizedContentNEQ applies the NEQ predicate on the "tokenized_content" field.
pkg/ent/document/where.go:394
Function
TokenizedContentNotIn
TokenizedContentNotIn applies the NotIn predicate on the "tokenized_content" field.
pkg/ent/document/where.go:418
Method
Tx
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
pkg/ent/mutation.go:110
Method
Tx
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
pkg/ent/mutation.go:583
Method
Tx
Tx returns a new transactional client. The provided context is used until the transaction is committed or rolled back.
pkg/ent/client.go:64
Function
TxFromContext
TxFromContext returns a Tx stored inside a context, or nil if there isn't one.
pkg/ent/context.go:25
Method
Type
Type returns the node type of this mutation (Document).
pkg/ent/mutation.go:302
Method
Type
Type returns the node type of this mutation (Term).
pkg/ent/mutation.go:781
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
pkg/ent/document_query.go:52
Function
Unless
Unless skips the given hook only for the given operation. hook.Unless(Log, ent.Update|ent.UpdateOne)
pkg/ent/hook/hook.go:157
Method
Unwrap
Unwrap unwraps the Term entity that was returned from a transaction after it was closed, so that all future queries will be executed through the drive
pkg/ent/term.go:102
Method
Unwrap
Unwrap unwraps the Document entity that was returned from a transaction after it was closed, so that all future queries will be executed through the d
pkg/ent/document.go:99
Method
Unwrap
Unwrap implements the errors.Wrapper interface.
pkg/ent/ent.go:158
Method
Unwrap
Unwrap implements the errors.Wrapper interface.
pkg/ent/ent.go:250
Method
Unwrap
()
pkg/errors/error.go:36
Method
Update
Update returns a builder for updating this Document. Note that you need to call Document.Unwrap() before calling this method if this Document was retu
pkg/ent/document.go:93
Method
Update
Update returns an update builder for Document.
pkg/ent/client.go:161
Method
Update
Update returns an update builder for Term.
pkg/ent/client.go:251
Method
UpdateContent
UpdateContent sets the "content" field to the value that was provided on create.
pkg/ent/document_create.go:305
Method
UpdateContent
UpdateContent sets the "content" field to the value that was provided on create.
pkg/ent/document_create.go:405
Method
UpdateContent
UpdateContent sets the "content" field to the value that was provided on create.
pkg/ent/document_create.go:672
Method
UpdateCreatedAt
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
pkg/ent/term_create.go:315
Method
UpdateCreatedAt
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
pkg/ent/term_create.go:417
Method
UpdateCreatedAt
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
pkg/ent/term_create.go:692
Method
UpdateCreatedAt
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
pkg/ent/document_create.go:281
Method
UpdateCreatedAt
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
pkg/ent/document_create.go:377
Method
UpdateCreatedAt
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
pkg/ent/document_create.go:644
Method
UpdateNewValues
UpdateNewValues updates the mutable fields using the new values that were set on create except the ID field. Using this option is equivalent to using:
pkg/ent/term_create.go:368
Method
UpdateNewValues
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using: client.Term.Creat
pkg/ent/term_create.go:640
Method
UpdateNewValues
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using: client.Document.C
pkg/ent/document_create.go:331
Method
UpdateNewValues
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using: client.Document.C
pkg/ent/document_create.go:596
Method
UpdateOne
UpdateOne returns an update builder for the given entity.
pkg/ent/client.go:167
Method
UpdateOneID
UpdateOneID returns an update builder for the given id.
pkg/ent/client.go:173
Method
UpdateOneID
UpdateOneID returns an update builder for the given id.
pkg/ent/client.go:263
Method
UpdatePostingListCompressed
UpdatePostingListCompressed sets the "posting_list_compressed" field to the value that was provided on create.
pkg/ent/term_create.go:459
Method
UpdatePostingListCompressed
UpdatePostingListCompressed sets the "posting_list_compressed" field to the value that was provided on create.
pkg/ent/term_create.go:734
← previous
next →
601–700 of 762, ranked by callers