Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24625 [META] global search block and indexing is broken , cron too.
  3. MDL-24874

on running admin/cron.php , a new assignment submission isn't added to a existing global search index and a deleted assignment isn't removed.

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Global search
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Gliffy Diagrams

        Attachments

          Activity

          Hide
          nebgor Aparup Banerjee added a comment -

          found another bug that deletes all assignments in the index when one indexed assignment is deleted... fixing.

          Show
          nebgor Aparup Banerjee added a comment - found another bug that deletes all assignments in the index when one indexed assignment is deleted... fixing.
          Hide
          nebgor Aparup Banerjee added a comment -

          oh, committed fix for main issue into HEAD.

          Show
          nebgor Aparup Banerjee added a comment - oh, committed fix for main issue into HEAD.
          Hide
          nebgor Aparup Banerjee added a comment -

          for some reason the search string in search/delete.php: +doctype:"assignment" +docid:"42" +itemtype:"intro"
          gets me

          found:29
          doctype:assignment docid:34 itemtype:intro
          doctype:assignment docid:35 itemtype:intro
          doctype:assignment docid:36 itemtype:intro
          doctype:assignment docid:37 itemtype:intro
          ...

          which is why it is deleting all results instead of just that docid. struggling to get the right search results.. or could i get it some other way?

          Show
          nebgor Aparup Banerjee added a comment - for some reason the search string in search/delete.php: +doctype:"assignment" +docid:"42" +itemtype:"intro" gets me found:29 doctype:assignment docid:34 itemtype:intro doctype:assignment docid:35 itemtype:intro doctype:assignment docid:36 itemtype:intro doctype:assignment docid:37 itemtype:intro ... which is why it is deleting all results instead of just that docid. struggling to get the right search results.. or could i get it some other way?
          Hide
          nebgor Aparup Banerjee added a comment -

          ah a helpful bug with info abotu setting numbers to be searchable : http://framework.zend.com/issues/browse/ZF-2055

          Show
          nebgor Aparup Banerjee added a comment - ah a helpful bug with info abotu setting numbers to be searchable : http://framework.zend.com/issues/browse/ZF-2055
          Hide
          nebgor Aparup Banerjee added a comment -

          fixed deletion bug too.
          all fixed in HEAD.

          Show
          nebgor Aparup Banerjee added a comment - fixed deletion bug too. all fixed in HEAD.

            People

            • Assignee:
              nebgor Aparup Banerjee
              Reporter:
              nebgor Aparup Banerjee
              Tester:
              Nobody
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10