Properties

$stop_words

$stop_words : 

Type

Methods

index()

index(  $source) 

Parameters

$source

tokenize()

tokenize(  $source) 

Parameters

$source

strip_markup()

strip_markup(  $source) 

Parameters

$source

rebuild_invindex()

rebuild_invindex(  $output = true) 

Parameters

$output

sort_index()

sort_index(  $index) 

Parameters

$index

compare_indexes()

compare_indexes(  $oldindex,   $newindex,   $changed,   $removed) 

Parameters

$oldindex
$newindex
$changed
$removed

load_invindex()

load_invindex(  $invindex_filename) 

Parameters

$invindex_filename

measure_invindex_load_time()

measure_invindex_load_time(  $invindex_filename) 

Parameters

$invindex_filename

merge_into_invindex()

merge_into_invindex(  $invindex,   $pageid,   $index,   $removals = array()) 

Parameters

$invindex
$pageid
$index
$removals

delete_entry()

delete_entry(  $invindex, \number  $pageid) 

Deletes the given pageid from the given pageindex.

Parameters

$invindex
\number $pageid

The pageid to remove.

save_invindex()

save_invindex(  $filename,   $invindex) 

Parameters

$filename
$invindex

query_invindex()

query_invindex(  $query,   $invindex) 

Parameters

$query
$invindex

extract_context()

extract_context(  $query,   $source) 

Parameters

$query
$source

highlight_context()

highlight_context(  $query,   $context) 

Parameters

$query
$context