mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #14951
[Bug 1246553] Re: Elastic Search does not find items with white space in title
https://reviews.mahara.org/#/c/2684/
--
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