Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-8074

Global search doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8.7, 1.9.3, 2.0
    • Component/s: Global search
    • Labels:
      None
    • Environment:
      Win2k3, Apache, mysql 5.0.18, php 5.1.1
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      After enbling in admin > miscellaneous > experimental, global search does not function, saying that there are no results for any query. Clicking on statistics gives this:

      Search statistics
      Data directory C:\MoodleWindowsInstaller-latest-16\moodle\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

      Database search_documents
      Documents in index 0
      Deletions in index 0
      Documents in database 0

      Clicking on 'Run indexer test' gives:

      Server Time: Thu, 04 Jan 2007 13:59:29 +0000
      Testing global search capabilities:

      Success: PHP 5.0.0 or later is installed (5.1.1).

      Clicking on 'Run indexer' gives:

      Server Time: Thu, 04 Jan 2007 14:00:16 +0000

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

      Using C:\MoodleWindowsInstaller-latest-16\moodle\moodledata/search as data directory.
      Database error. Please check settings/files.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vf Valery Fremaux
              Reporter:
              mattgibson Matt Gibson
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              21 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Oct/08