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 Sub-task
    • Status: Closed
    • Priority: Major 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
    • Rank:
      215

      Activity

      Hide
      Aparup Banerjee added a comment -

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

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

      oh, committed fix for main issue into HEAD.

      Show
      Aparup Banerjee added a comment - oh, committed fix for main issue into HEAD.
      Hide
      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
      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
      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
      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
      Aparup Banerjee added a comment -

      fixed deletion bug too.
      all fixed in HEAD.

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

        People

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

          Dates

          • Created:
            Updated:
            Resolved: