Closed Bug 489380 Opened 17 years ago Closed 17 years ago

New searches on hyphenated words treats as two separate words

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cww, Assigned: paulc)

References

()

Details

(Whiteboard: sumo_only)

Searches on "marque-page" (Bookmarks in French) searches for page and marque as independent words, returning pretty much everything (because page = webpage). Hyphenated phrases should be treated as one word in searches.
Target Milestone: --- → 1.0.2
There's this forum post that mentions possible solutions: http://www.sphinxsearch.com/forum/view.html?id=2876 But I'm not yet sure where those variables (such as charset_table) appear, need to look through. I'll be busy till the evening but if no one figures out where sphinx is configured, I'll look into it later.
Assignee: nobody → paul.craciunoiu
r24770 / r24771 It seems that there's no need to modify the indexer. Hyphens were being stripped in tiki-nnewsearch.php. Also modified the bolding a bit, it didn't seem to work for hyphenated words.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I think we're waiting for reindexing (cache cleared, etc). Nothing really returns anything anymore, and I didn't change other stuff :)
Whiteboard: sumo_only
You need to log in before you can comment on or make changes to this bug.