elasticsearch not searching 'Text' block type

Bug #1446912 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon
15.10
Fix Released
Undecided
Unassigned

Bug Description

Mahara system has a new 'Text' blocktype, that doesn't have an artefact associated with it and so gets missed on elasticsearch indexing.

What is needed is to be able to index the 'text' block_instance.

Tags: search
Revision history for this message
Robert Lyon (robertl-9) wrote :

I've added a patch for this - currently it will only index/return results for a block_instance that has the configdata 'text' value set

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4683
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/a0d29eb9d834babbd2d8cc01ad3d06a583abaae7
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit a0d29eb9d834babbd2d8cc01ad3d06a583abaae7
Author: Robert Lyon <email address hidden>
Date: Tue Apr 21 17:14:05 2015 +1200

Adding the ability to search the Text blocktype (Bug #1446912)

To test:

1) You'll need to have some pages with 'text' blocks on them
2) Have elasticsearch installed
3) Re-index site so that the analyzer will be created for block_instance

Change-Id: Id2abe23a78ab9c3476ce31edfd7e7c8048af3861
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.