Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Pagefind/pagefind
/ functions
Functions
1,107 in github.com/Pagefind/pagefind
⨍
Functions
1,107
◇
Types & classes
265
↓ 930 callers
Method
slice_from
Replace string between `bra` and `ket` with s
pagefind_stem/src/snowball/snowball_env.rs:96
↓ 411 callers
Method
slice_del
Helper function that removes the string slice between `bra` and `ket`
pagefind_stem/src/snowball/snowball_env.rs:334
↓ 286 callers
Method
eq_s_b
Check if 's' is before cursor If so, move cursor to the beginning of s
pagefind_stem/src/snowball/snowball_env.rs:82
↓ 285 callers
Method
find_among_b
(&mut self, amongs: &[Among<T>], context: &mut T)
pagefind_stem/src/snowball/snowball_env.rs:425
↓ 149 callers
Method
next_char
Move cursor to next character
pagefind_stem/src/snowball/snowball_env.rs:103
↓ 70 callers
Method
eq_s
Check if s is after cursor. If so, move cursor to the end of s
pagefind_stem/src/snowball/snowball_env.rs:65
↓ 57 callers
Method
in_grouping_b
(&mut self, chars: &[u8], min: u32, max: u32)
pagefind_stem/src/snowball/snowball_env.rs:211
↓ 54 callers
Method
go_out_grouping
(&mut self, chars: &[u8], min: u32, max: u32)
pagefind_stem/src/snowball/snowball_env.rs:274
↓ 54 callers
Method
in_grouping
A grouping is represented by a minimum code point, a maximum code point, and a bitfield of which code points in that range are in the grouping. For ex
pagefind_stem/src/snowball/snowball_env.rs:173
↓ 53 callers
Method
error
(&self, msg: S)
pagefind/src/logging.rs:124
↓ 45 callers
Method
go_in_grouping
(&mut self, chars: &[u8], min: u32, max: u32)
pagefind_stem/src/snowball/snowball_env.rs:192
↓ 45 callers
Function
r_R1
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/dutch.rs:175
↓ 42 callers
Method
find_among
(&mut self, amongs: &[Among<T>], context: &mut T)
pagefind_stem/src/snowball/snowball_env.rs:356
↓ 41 callers
Method
insert
(&mut self, bra: i32, ket: i32, s: &str)
pagefind_stem/src/snowball/snowball_env.rs:338
↓ 39 callers
Method
previous_char
Move cursor to previous character
pagefind_stem/src/snowball/snowball_env.rs:111
↓ 38 callers
Method
hop_back
(&mut self, mut delta: i32)
pagefind_stem/src/snowball/snowball_env.rs:138
↓ 37 callers
Method
filter
(&self, filter: &str)
pagefind_web/src/filter.rs:225
↓ 34 callers
Method
translate
* Get a translated string.
pagefind_ui/component/core/instance.ts:431
↓ 31 callers
Method
log
(str: string)
pagefind_web_js/lib/coupled_search.ts:563
↓ 28 callers
Method
on
( event: InstanceEvent, callback: HookCallback, owner: Element | null = null, )
pagefind_ui/component/core/instance.ts:467
↓ 26 callers
Method
out_grouping_b
(&mut self, chars: &[u8], min: u32, max: u32)
pagefind_stem/src/snowball/snowball_env.rs:292
↓ 23 callers
Method
warn
(&self, msg: S)
pagefind/src/logging.rs:116
↓ 20 callers
Function
err
(ind, msg, nt)
pagefind_web_js/lib/gz.js:164
↓ 20 callers
Method
out_grouping
(&mut self, chars: &[u8], min: u32, max: u32)
pagefind_stem/src/snowball/snowball_env.rs:255
↓ 20 callers
Function
r_R2
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/french.rs:488
↓ 20 callers
Function
r_check_vowel_harmony
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/turkish.rs:219
↓ 19 callers
Function
r_mark_lAr
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/turkish.rs:662
↓ 17 callers
Function
r_C
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/dutch.rs:227
↓ 16 callers
Method
add
(component: PagefindComponent)
pagefind_ui/component/core/instance.ts:139
↓ 16 callers
Method
go_out_grouping_b
(&mut self, chars: &[u8], min: u32, max: u32)
pagefind_stem/src/snowball/snowball_env.rs:312
↓ 15 callers
Function
r_stem_suffix_chain_before_ki
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/turkish.rs:999
↓ 14 callers
Method
addTo
(el)
pagefind_ui/modular/helpers/element-builder.js:38
↓ 14 callers
Method
class
(s)
pagefind_ui/modular/helpers/element-builder.js:11
↓ 14 callers
Method
from
(lang: Algorithm)
pagefind_stem/src/snowball/algorithms/mod.rs:222
↓ 14 callers
Function
r_R2
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/spanish.rs:399
↓ 13 callers
Method
__dispatch__
(e: InstanceEvent, ...args: unknown[])
pagefind_ui/component/core/instance.ts:531
↓ 13 callers
Method
clear
* Clear all live regions immediately.
pagefind_ui/component/core/announcer.ts:104
↓ 13 callers
Function
r_R2
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/italian.rs:481
↓ 12 callers
Method
announce
* Announce a message to screen readers using a translation key.
pagefind_ui/component/core/instance.ts:442
↓ 12 callers
Method
clearLoadingAnnouncement
()
pagefind_ui/component/components/pagefind-searchbox.ts:812
↓ 12 callers
Method
focus
()
pagefind_ui/component/components/pagefind-input.ts:229
↓ 12 callers
Method
hop
(&mut self, mut delta: i32)
pagefind_stem/src/snowball/snowball_env.rs:118
↓ 12 callers
Function
r_R2
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/portuguese.rs:409
↓ 12 callers
Method
updateSelectionUI
(scroll: boolean = false)
pagefind_ui/component/components/pagefind-searchbox.ts:903
↓ 11 callers
Function
bits
(d, p, m)
pagefind_web_js/lib/gz.js:128
↓ 11 callers
Function
get_a_word
()
pagefind_ui/default/_dev_files/pagefind/_pagefind_stub.ts:9
↓ 11 callers
Method
on
(event, callback)
pagefind_ui/modular/modular-core.js:67
↓ 11 callers
Method
send
(self, payload: InternalRequestPayload)
wrappers/python/src/pagefind/service/__init__.py:114
↓ 11 callers
Method
write
Writes a chunk of data to the underlying HTML parser
pagefind/src/fossick/parser.rs:560
↓ 10 callers
Method
__dispatch__
(e, ...args)
pagefind_ui/modular/modular-core.js:115
↓ 10 callers
Method
attrs
(obj)
pagefind_ui/modular/helpers/element-builder.js:16
↓ 10 callers
Function
r_R1
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/hungarian.rs:256
↓ 10 callers
Function
r_lengthen_V
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/dutch.rs:244
↓ 10 callers
Method
setActiveIndex
(index: number)
pagefind_ui/component/components/pagefind-filter-dropdown.ts:343
↓ 9 callers
Method
append
(nodes)
pagefind_ui/modular/components/resultList.js:139
↓ 9 callers
Method
generateId
(prefix: string, length = 2)
pagefind_ui/component/core/instance.ts:117
↓ 9 callers
Method
getPtr
()
pagefind_web_js/lib/coupled_search.ts:488
↓ 9 callers
Method
parse_digest
( &mut self, options: &SearchOptions, )
pagefind/src/fossick/mod.rs:341
↓ 9 callers
Function
r_R1
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/yiddish.rs:494
↓ 9 callers
Function
r_mark_suffix_with_optional_y_consonant
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/turkish.rs:382
↓ 9 callers
Method
registerShortcut
* Register an active shortcut. Triggers hints to re-render.
pagefind_ui/component/core/instance.ts:274
↓ 9 callers
Method
sendMessage
(method: string, args: any[])
pagefind_web_js/lib/search_wrapper.ts:196
↓ 9 callers
Function
test_opts
()
pagefind/src/fossick/mod.rs:697
↓ 8 callers
Method
info
(&self, msg: S)
pagefind/src/logging.rs:100
↓ 8 callers
Method
log
(&self, msg: S, min_log_level: LogLevel, log_style: LogStyle)
pagefind/src/logging.rs:132
↓ 8 callers
Method
status
(&self, msg: S)
pagefind/src/logging.rs:108
↓ 8 callers
Function
test_fossick
(s: String)
pagefind/src/fossick/mod.rs:704
↓ 8 callers
Method
triggerSearch
(term: string)
pagefind_ui/component/core/instance.ts:505
↓ 7 callers
Function
calculate_excerpt_region
( word_positions: PagefindWordLocation[], excerpt_length: number, )
pagefind_web_js/lib/excerpt.ts:1
↓ 7 callers
Function
getInstance
(instanceId: string)
pagefind_web_js/lib/pagefind_worker.ts:23
↓ 7 callers
Function
get_indexable_words
Returns all words that should be indexed for a given input word. This includes: - The primary normalized+stemmed word - Compound word parts (for hyphe
pagefind/src/fossick/splitting.rs:26
↓ 7 callers
Function
handleApiResponse
(resolve, reject, { exception, err, result }, resultFn)
wrappers/node/lib/index.js:27
↓ 7 callers
Function
launch
()
wrappers/node/lib/index.js:13
↓ 7 callers
Method
preloadAhead
(fromIndex: number, direction: number)
pagefind_ui/component/components/pagefind-searchbox.ts:788
↓ 7 callers
Function
r_R2
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/dutch_porter.rs:250
↓ 7 callers
Function
r_has_min_length
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/tamil.rs:358
↓ 7 callers
Function
r_mark_possessives
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/turkish.rs:456
↓ 7 callers
Function
r_mark_sU
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/turkish.rs:467
↓ 7 callers
Method
sendMessage
* @param {InternalRequestPayload} message * @param {function(InternalResponseCallback): void} callback
wrappers/node/lib/service.js:162
↓ 7 callers
Function
write
( filename: PathBuf, content_chunks: Vec<&[u8]>, compression: Compress, write_behavior: WriteB
pagefind/src/output/mod.rs:408
↓ 6 callers
Method
_registerComponent
( component: PagefindComponent, type: string, subtype: string | null = null, capabilities: Com
pagefind_ui/component/core/instance.ts:187
↓ 6 callers
Function
build_excerpt
( content: string, start: number, length: number, locations: number[], not_before?: number, not_fr
pagefind_web_js/lib/excerpt.ts:45
↓ 6 callers
Method
closeDropdown
()
pagefind_ui/component/components/pagefind-searchbox.ts:625
↓ 6 callers
Method
default
()
pagefind_web/src/lib.rs:101
↓ 6 callers
Method
deregisterAllShortcuts
* Deregister all shortcuts from an owner.
pagefind_ui/component/core/instance.ts:293
↓ 6 callers
Method
getOptionsForResult
(result: SearchboxResult)
pagefind_ui/component/components/pagefind-searchbox.ts:676
↓ 6 callers
Method
getUtilities
( subtype: string | null = null, requiredCapability: string | null = null, )
pagefind_ui/component/core/instance.ts:249
↓ 6 callers
Function
get_index
( indexes: &'a mut Vec<Option<api::PagefindIndex>>, index_id: u32, err: im
pagefind/src/service/mod.rs:112
↓ 6 callers
Function
init_pagefind
()
pagefind_web_js/lib/public_search_api.ts:24
↓ 6 callers
Method
load
()
pagefind_ui/component/components/pagefind-searchbox.ts:160
↓ 6 callers
Function
normalize_content
(content: &str)
pagefind/src/fossick/mod.rs:633
↓ 6 callers
Function
num
(max)
pagefind_ui/default/_dev_files/pagefind/_pagefind_stub.ts:142
↓ 6 callers
Function
r_R1
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/catalan.rs:666
↓ 6 callers
Function
r_RV
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/french.rs:480
↓ 6 callers
Function
r_mark_lArI
(env: &mut SnowballEnv, context: &mut Context)
pagefind_stem/src/snowball/algorithms/turkish.rs:477
↓ 6 callers
Method
showError
(error: ErrorInfo)
pagefind_ui/component/components/base-element.ts:87
↓ 6 callers
Method
v_warn
(&self, msg: S)
pagefind/src/logging.rs:120
↓ 5 callers
Method
build_indexes
Build the search index for this instance and hold it in memory.
pagefind/src/service/api.rs:196
↓ 5 callers
Method
close
(returnFocus = true)
pagefind_ui/component/components/pagefind-filter-dropdown.ts:247
↓ 5 callers
Function
diacritics_match
(original_query_term: &str, variant_form: &str)
pagefind_web/src/search.rs:111
next →
1–100 of 1,107, ranked by callers