Elasticsearch doesn't search achievements

Bug #1444905 reported by Zvonko Martinović
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned
1.10
Fix Released
Medium
Unassigned
1.9
Fix Released
Medium
Unassigned
15.04
Fix Released
Medium
Unassigned
15.10
Fix Released
Medium
Robert Lyon

Bug Description

We are testing Elasticsearch and we can see that it doesn't search for any field in achievements (certification, book, membership). I can see it's indexed in Elasticsearch but it doesn't give any records in Mahara.

We are using:
Mahara 1.10.2
Postgres 9.1
Debian
Elasticsearch 1.5.0

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Hi Zvonko,

Thanks for the bug report!

Are you placing the achievements into a resume block? Artefact contents won't show up in Elasticsearch results unless the artefact is in a page that the user can view. In the case of achievements, I believe that would be via the Resume block.

Cheers,
Aaron

summary: - Elasticsearch doesn't serach achievements
+ Elasticsearch doesn't search achievements
tags: added: elasticsearch
Revision history for this message
Zvonko Martinović (zmartinovic) wrote :

Hello Aaron,

yes, I do have "My entire résumé" block on the page but achievements don't show up in a search. Here are couple of pics so you can see.

Achievements in content:
http://mojoblak.srce.hr/public.php?service=files&t=0ea553227ebbe28bf91d5d16adacd120

On page:
http://mojoblak.srce.hr/public.php?service=files&t=50ee8b7f12f8307e4e06b666e047b919

No result in search:
http://mojoblak.srce.hr/public.php?service=files&t=9dbf18dc202b405e543357c80bd464f0

But skills and interest are found:
http://mojoblak.srce.hr/public.php?service=files&t=2fa27e6a911794f6a3e3a0e6a1f2847c

Best,
Zvonko

description: updated
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Hi Zvonko,

Thanks for the details! That does indeed look like a bug. I'll try to take a look at it sometime next week.

Although, if you are a Zend PHP5 Certified Engineer as your screenshots indicate, we also welcome software patches from the community. ;) https://wiki.mahara.org/index.php/Developer_Area/Contributing_Code

Cheers,
Aaron

Revision history for this message
Zvonko Martinović (zmartinovic) wrote :

I would be glad to, but I'm not sure when I'll get time to get around this problem so reporting a bug could get a solution sooner :)

tags: added: no-behat-needed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/4686

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

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

commit 53db7f11675208fdc994deda9fa0f667b5e34924
Author: Robert Lyon <email address hidden>
Date: Wed Apr 22 16:49:28 2015 +1200

Allowing resume achievements be searchable (Bug #1444905)

A patch to allow the resume content be part of the search

Currently only the parent artefact info is included in the search
index rather than the items content.

Also list the item titles on search results page

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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/5454

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

Reviewed: https://reviews.mahara.org/5454
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/1061743f286ca20164af07c09f8bf24d206ca0c6
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit 1061743f286ca20164af07c09f8bf24d206ca0c6
Author: Robert Lyon <email address hidden>
Date: Wed Apr 22 16:49:28 2015 +1200

Allowing resume achievements be searchable (Bug #1444905)

A patch to allow the resume content be part of the search

Currently only the parent artefact info is included in the search
index rather than the items content.

Also list the item titles on search results page

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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "1.10_STABLE" branch: https://reviews.mahara.org/5455

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

Reviewed: https://reviews.mahara.org/5455
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/ad7969f6ecdc2b74d7d70832216431b3315eca2d
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.10_STABLE

commit ad7969f6ecdc2b74d7d70832216431b3315eca2d
Author: Robert Lyon <email address hidden>
Date: Wed Apr 22 16:49:28 2015 +1200

Allowing resume achievements be searchable (Bug #1444905)

A patch to allow the resume content be part of the search

Currently only the parent artefact info is included in the search
index rather than the items content.

Also list the item titles on search results page

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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "1.9_STABLE" branch: https://reviews.mahara.org/5456

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

Reviewed: https://reviews.mahara.org/5456
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/3dc57c07edc29e3fd0f442d70cbf3dcdfc628cb3
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.9_STABLE

commit 3dc57c07edc29e3fd0f442d70cbf3dcdfc628cb3
Author: Robert Lyon <email address hidden>
Date: Wed Apr 22 16:49:28 2015 +1200

Allowing resume achievements be searchable (Bug #1444905)

A patch to allow the resume content be part of the search

Currently only the parent artefact info is included in the search
index rather than the items content.

Also list the item titles on search results page

Change-Id: I39142467aa40134ba21eb1124e974342cff297ac
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit ad7969f6ecdc2b74d7d70832216431b3315eca2d)

Robert Lyon (robertl-9)
Changed in mahara:
milestone: 15.04.1 → none
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.