Global search Problem

Global search Problem

by uros Stefanovic -
Number of replies: 3
Hi,

Im gaving a problem with GLOBAL SEARCH on Moodle 1.8.2+ (2007021520). it simply wont work.
When i do a search it returns no resoults. Forum search works just fine.

Indexer.php gives me folowing error:

------------------------------------------------------
Server Time: Tue, 31 Jul 2007 16:21:30 -0300

Warning: Indexing was not successfully completed last time, restarting.

Using C:\net\xampp/moodledata/search as data directory.
Database error. Please check settings/files.
----------------------------------------------------------------------------

I think there´s nothing wrong with my DB. Im running MySQL: 5.0.45 and PHP/5.2.3
Everything else seams to work just fine...

this are the search statistics:

Data directory C:\net\xampp/moodledata/search
Files in index directory 2
Total size 24 bytes
Created on -
Errors
db ... Database table is not present, or contains no index records.
index ... Indexing was not successfully completed, please restart it.
Solutions
Check DB Check your database for any problems.
Run indexer test tests/index.php
Run indexer indexersplash.php
spacer.gif
Database search_documents
Documents in index 0
Deletions in index 0
Documents in database 0
-----------------------------------------------------------------------------------------

Please help!
I need this runing ASAP>
thanks,
Uros

Average of ratings: -
In reply to uros Stefanovic

Re: Global search Problem

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Uros,

The global search is currently an experimental feature i.e. it requires additional testing and bug-fixing. Please see the tracker report MDL-8074. You may wish to watch and/or vote for it to be fixed.
In reply to uros Stefanovic

Re: Global search Problem

by Valery Fremaux -

Hi Uros

I got charge of renewing the Global Search subproject for definitve integration in 1.9.

There is actually a revamping of the initial project commited within the CVS, completing the code for >1.8.1+ versions. This new pack for global search should be tested on late August, with a group of french moodle fellows.

This version will complete correct internationalisation and fixes many details that where based on <1.7 code structure. It adds indexation of physical documents in an known format set.

We still have to validate that new version. If you feel somewhat adventurous, may you try also to run this brand renewed implementation (keeps most parts of older anyway) and send me reports. I tried it successfully on a 1.8.1, where I got it developped, but only with a few documents. I shall experiment in September a huge pre-indexing tryout on my production site, with thousand of documents and articles. All information about what you need is given in readmes. (such as additional libraries and middlewares).

Cheers.  

In reply to uros Stefanovic

Re: Global search Problem

by Antony OSullivan -

I noticed the same thing... I think it is due to indexing failing...

(IE)  /moodle/search/tests/index.php

Fatal error: Call to a member function MoveNext() on a non-object in /home/tbshsweb/public_html/moodle/search/documents/resource_document.php on line 55