[chinese] Unity file and folder search result not as expected

Bug #822494 reported by Samantha Jian-Pielak
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-2d
Confirmed
High
Unassigned
unity-lens-files
Confirmed
Undecided
Unassigned
unity-2d (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Searching for “文件” for “Documents” returns the “Documents” folder and 2 other documents named in English I just created.

See screenshot for reference.

There are 2 issues here.
First, it doesn't show all files and folders as I expected. There is also “文” in the home folder name in Chinese but it is not shown in the search result.

Second, there is no "文” in the displayed file name of the other 2 items (files), they are named in English.

Related branches

Revision history for this message
Samantha Jian-Pielak (samantha-jian) wrote :
Revision history for this message
Samantha Jian-Pielak (samantha-jian) wrote :

Forgot to mention the package version and test environment.

Ubuntu 11.10 Alpha i386 (20110803.1)
Unity-2d: 3.8.14.1-0ubuntu1
xapian-tools: 1.2.5-2~ppa1
LANGUAGE=zh_CN:en_US:en
language-pack-zh-hans: 1:11.10+20110630.1
language-pack-gnome-zh-hans:1:11.10+20110630

Revision history for this message
David Barth (dbarth) wrote :

Samantha: can you test with the latest patch, now in: https://launchpad.net/~ubuntu-desktop/+archive/ppa

Revision history for this message
David Barth (dbarth) wrote :

Additionally, you may want to rebuild indexes, as the old ones may pretend to be up to date, where they in fact do not take the new CJK keywords into account, having been built previously.

Mikkel, Brandon: could you tell Samantha a way to rebuild them?

Revision history for this message
Ray Chen (ray.chen) wrote :

Hi all,
I verified this issue again and I created 1 file named as "无标题文" and 1 folder named as "文文“, searching before open that file and folder, the result is same as Samantha.

After I open the named of "无标题文“ file and "文文" folder to build the index, the search result return 1 result as "无标题文“ file and other 2 English file(file content is English) without "文文" folder.

Please refer to the attached screen shot.

==System and Package information==
Ubuntu 11.10 i386 (20110808)
xapian-tools: 1.2.5-2~ppa3
unity-2d: 3.8.14.1-0ubuntu1
LANGUAGE=zh_CN:zh
language-pack-zh-hans: 1:11.10+20110630.1
language-pack-gnome-zh-hans: 1:11.10+20110630

Changed in unity-2d:
status: New → Confirmed
summary: - Unity file and folder search result not as expected
+ [chinese] Unity file and folder search result not as expected
Changed in unity-2d:
importance: Undecided → High
Changed in unity-lens-files:
status: New → Confirmed
Changed in unity-2d (Ubuntu):
status: New → Confirmed
Revision history for this message
Ray Chen (ray.chen) wrote :

Hi all,
I just verify this issue again, information and steps is below

System information

unity-2d:4.2.0-0ubuntu1
LANGUAGE=zh_TW:en_US:en
Distributor ID: Ubuntu
Description: Ubuntu oneiric (development branch)
Release: 11.10 (30-Aug-2011)
Codename: oneiric

Verify:
#1. Input "瀏覽" in unity 2D dash for Search "Firefox網路瀏覽器"(Firefox) the search result reply nothing.
#2. Input "網" in unity 2D dash for Search "Firefox網路瀏覽器" the search result also reply nothing.
#3. Input '軟體中心' for search 『Ubuntu軟體中心』(ubuntu software center) also reply nothing.
#4. Search some file by type CHT word also reply nothing. (open the target file before search for build index).

If anything I'm missing, please advice.

Revision history for this message
Ray Chen (ray.chen) wrote :
Revision history for this message
Ray Chen (ray.chen) wrote :
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Thank you Ray for pointing this out. The last problem will be fixed when the branch attached gets merged. The problem was unity 2d lost the support for non ascii but it was fixed and is now waiting to be merged.

https://bugs.launchpad.net/unity-2d/+bug/840010

There is another bug that this relates to under zeitgeist, which does all the indexing for unity. The problem with false positives and new folders not getting indexed is not a bug contained under unity-2d or unity-lens*. Here is the bug:

https://bugs.launchpad.net/zeitgeist/+bug/827420

Revision history for this message
Florian Boucault (fboucault) wrote :
Revision history for this message
David Barth (dbarth) wrote :

With the unity-2d part being resolved, this bug essentially becomes a duplicate of https://bugs.launchpad.net/zeitgeist/+bug/827420

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.