Closed
Bug 529347
Opened 13 years ago
Closed 13 years ago
Add custom wordforms for common multi-word search terms
Categories
(support.mozilla.org :: Search, defect, P3)
support.mozilla.org
Search
Tracking
(Not tracked)
VERIFIED
FIXED
1.5
People
(Reporter: cilias, Assigned: jsocol)
References
Details
(Whiteboard: sumo_only)
Attachments
(1 file, 1 obsolete file)
3.09 KB,
patch
|
Details | Diff | Splinter Review |
I've come across a case where someone looking for issues with ZoneAlarm used the search term 'zone alarm'. The instances of "ZoneAlarm" did not appear in search results. This would also apply to "book marks", "fire wall", "home page", "web site", etc. SUMO 1.5 worthy?
Assignee | ||
Comment 1•13 years ago
|
||
Adding infix indexing (aka: substring searches) is extremely expensive for the indexer. However, an alternative method is to add a wordforms list with specific overrides, like Zone Alarm > ZoneAlarm book marks > bookmark (singular for stem matching) fire wall > firewall etc.
Component: General → Search
Priority: -- → P3
QA Contact: general → kb-software
Summary: Search should ignore spaces → Add custom wordforms for common multi-word search terms
Target Milestone: --- → 1.5
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → james
Assignee | ||
Comment 3•13 years ago
|
||
NB: This patch needs to be applied directly in the scripts/sphinx directory, not from /trunk/. This adds a wordforms.txt and references it in sphinx.conf (also correcting references to stopwords.txt). These .txt files are found in ROOT_PATH from localsettings.py--you may need to move things around.
Attachment #414112 -
Flags: review?(morgamic)
Assignee | ||
Comment 4•13 years ago
|
||
Oh, and a good search for testing is "face book". Before adding wordforms, I found 8 results in my database from Nov 18. After adding wordforms it was over 250.
Assignee | ||
Updated•13 years ago
|
Attachment #414112 -
Flags: review?(morgamic) → review?(paulc)
Assignee | ||
Updated•13 years ago
|
Attachment #414112 -
Flags: review?(paulc) → review?(morgamic)
Comment 5•13 years ago
|
||
Comment on attachment 414112 [details] [diff] [review] add wordforms.txt Looks reasonable to me. Could you fix the justification for wordforms? It's not aligned with the other stuff.
Attachment #414112 -
Flags: review?(morgamic) → review+
Assignee | ||
Comment 6•13 years ago
|
||
r56764. Justified both the wordforms.txt and the instructions in sphinx.conf (will attach).
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #414112 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•