mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #14981
[Bug 1246553] A change has been merged
Reviewed: https://reviews.mahara.org/2684
Committed: http://gitorious.org/mahara/mahara/commit/3c155be51c25cc266e89e084d65e5aaf8c61ea3b
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit 3c155be51c25cc266e89e084d65e5aaf8c61ea3b
Author: Ghada El-Zoghbi <ghada@xxxxxxxxxxxxxxx>
Date: Mon Nov 4 18:00:35 2013 +1100
Bug1246553: When cleaning the query, replace the special characters with
a space. This separates the tokens instead of concatenating them.
Change-Id: I4f367498efec95cecc9f90cee30d7aad5185c956
Signed-off-by: Ghada El-Zoghbi <ghada@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1246553
Title:
Elastic Search does not find items with white space in title
Status in Mahara ePortfolio:
In Progress
Bug description:
Mahara: 1.8.1testing (with MySql DB), 1.9.0dev (with PostGres DB)
OS: Linux
Browser: Firefox 25.0
When a group, file, name, etc has a '-' (hyphen) in it, the elastic
search's "clean_query" stips special characters away.
For example, the following groups are created:
group 123
group_123
group-123
group123
1. If the user searches for:
group-123
it will find:
group123
Which is the wrong group.
2. If the user searches for:
group_
it will not find anything. It should find group_123? (it does if a *
is added to the end of the search).
3. if the user searches for:
group
it will find all four groups. Which doesn't make sense since it
couldn't find 'group_' above in example 2.
4. If the user searches for:
group-
it finds all four groups.
It appears inconsistent and confusing to the user.
I believe there is also an issue when a space is in the name (i.e. title). But, I can't quite put my finger on it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1246553/+subscriptions
References