Class: Bs_Is_Searcher
Source Location: /plugins/indexserver/Bs_Is_Searcher.class.php
Bs_Object
|
--Bs_Is_Searcher
searcher class.
Author(s):
Version:
Copyright:
|
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$Bs_Is_IndexServer =
[line 35]
reference to the "mother" IndexServer object.
Tags:
$Bs_TextUtil =
[line 42]
reference to global pseudostatic Bs_TextUtil.
Tags:
$hintString = ''
[line 73]
after a search this string is filled with some text that may or may not be spitted out to the users face. :) gets reset on every new search start.
Tags:
$hintWords =
[line 98]
after a search this array is filled with other words that have been found for a word that has not been found. example: $hintWords = array( 'foo' => array( 'stem' => array('1454'=>'foob'), 'part' => array('645'=>'foobar', '123'=>'foofoo'), 'soundex' => array('999'=>'fuu', '888'=>'fooo'), ), ); so it's a hash where the key is the searched word, holding a hash with the keys 'stem', 'part' and 'soundex' each with numeric hashes of such words found (wordID is the key and the caption is the value). currently there are hardcoded limits: 20 stem-words, 20 part-words and 10 soundex-words are made available here, even if there are more.
Tags:
$lang =
[line 63]
used for stemming, synonyme search, user interface etc.
Tags:
$parsedQuery =
[line 114]
after a search this is the result of Bs_TextUtil->parseSearchQuery().
Tags:
$queryData =
[line 124]
after a search this information is set. information (with word information and everything), has to do with the var $this->parsedQuery but offers much more. dump for details.
Tags:
$searchTime =
[line 106]
after a search this is the number of milliseconds used.
Tags:
$stopWatch =
[line 133]
instance od Bs_StopWatch. gets created in the constructor for benchmarking, seeing where bottlenecks are, debugging etc.
Tags:
Class Methods
|
|