No subject


Fri Mar 14 23:02:16 UTC 2008


You searched for wiki

For more information about searching AgentDcooper's Wiki, see Searching
AgentDcooper's Wiki.

Showing below 0 results starting with #1.
No page text matches

Note: Unsuccessful searches are often caused by searching for common words
like "have" and "from", which are not indexed, or by specifying more than
one search term (only pages containing all of the search terms will appear
in the result).
</pre>

*;; I notice that the lsearch daemon console output shows the following,
just after doing each search within the wiki ;;*
<pre>
293744 [pool-2-thread-1] INFO  org.wikimedia.lsearch.frontend.HttpHandler  -
query:/search/wikidb/wiki?namespaces=0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15&offset=0&limit=100&version=2&iwlimit=10
what:search dbname:wikidb term:wiki
293759 [pool-2-thread-1] INFO  org.wikimedia.lsearch.search.SearchEngine  -
Using NamespaceFilterWrapper wrap: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
12, 13, 14, 15}
293786 [pool-2-thread-1] INFO  org.wikimedia.lsearch.search.SearchEngine  -
search wikidb: query=[wiki] parsed=[contents:wiki (title:wiki^6.0
stemtitle:wiki^2.0) (alttitle1:wiki^4.0 alttitle2:wiki^4.0
alttitle3:wiki^4.0) (keyword1:wiki^0.02 keyword2:wiki^0.01
keyword3:wiki^0.0066666664 keyword4:wiki^0.0050 keyword5:wiki^0.0039999997)]
hit=[27] in 16ms using IndexSearcherMul:1210585609666
</pre>


;; *Aannnndddd, since I have [How_to_debug|Debuging] enabled, my
/var/log/mediawiki/debug_log.txt shows this* ;;
<pre>
Start request
GET /wiki/index.php/Special:Search?search=wiki&fulltext=Search
Host: nen-tftp.techiekb.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.
5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://nen-tftp.techiekb.com/wiki/index.php/Special:Version
Cookie: wikidb_session=3jptdli2pf3nkuq924tq1ihlt0
Authorization: Basic ZGNvb3Blcjp0ZXN0cGFzcw==

Main cache: FakeMemCachedClient
Message cache: MediaWikiBagOStuff
Parser cache: MediaWikiBagOStuff
Unstubbing $wgParser on call of $wgParser->setHook from require_once
Fully initialised
Unstubbing $wgContLang on call of $wgContLang->checkTitleEncoding from
WebRequest::getGPCVal
Language::loadLocalisation(): got localisation for en from source
Unstubbing $wgUser on call of $wgUser->isAllowed from Title::userCanRead
Cache miss for user 2
Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection from
wfGetDB
Logged in from session
Unstubbing $wgMessageCache on call of $wgMessageCache->getTransform from
wfMsgGetKey
Unstubbing $wgLang on call of $wgLang->getCode from MessageCache::get
MessageCache::load(): got from global cache
Unstubbing $wgOut on call of $wgOut->setPageTitle from
SpecialSearch::setupPage
Fetching search data from
http://localhost:8123/search/wikidb/wiki?namespaces=0%2C1%2C2%2C3%2C4%2C5%2C6%2C
7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15&offset=0&limit=100&version=2&iwlimit=10
total [0] hits
OutputPage::sendCacheControl: private caching;  **
Request ended normally
</pre>


*Now get this*, if I goto the link in the log from above =
http://localhost:8123/search/wikidb/wiki?namespaces=0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15&offset=0&limit=100&version=2&iwlimit=10,
I see this ;;
<pre>
3
1.0 0 Main_Page
0.9577699303627014 0
EFFICIENT%2FCISCO%2FNETSCREEN%2FNETOPIA_Router_Command_Matrix
0.7121278643608093 0 DBU_-_DialBackUp
</pre>

*Which leads me to my question* <sorry bout the long post!>: what am I doing
*wrong*?? I have tried everything I can think of, I just cannot get my
search within my mediawiki to work proplery, yet it seems like the search
itself is working, somehow the "total hits" in the log as weel as the wiki,
are showing ZERO --- yet manually going to the link in the log, shows me the
CORRECT hits as well as search results! Why is MediaWiki not showing this?

*Anyhelp would be kindly appreciated!*
-peace-


More information about the MediaWiki-l mailing list