New Zenner
- Join Date:
- May 2006
- Posts:
- 42
- Plugin Contributions:
- 0
"synonym search"
Does anything exist to enable synonym search? In other words, if my product description contains "t-shirt" make "tee" or "tshirt" also return that product?
Views: 1,261
New Zenner
Does anything exist to enable synonym search? In other words, if my product description contains "t-shirt" make "tee" or "tshirt" also return that product?
Totally Zenned
You might want to try integrating Lucene into Zen Cart's advanced search.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
New Zenner
I'm thinking something very simple:
word.word_id = 1
word.word = "t-shirt"
synonym.word_id = 1
synonym.synonym = "tee"
synonym.word_id = 1
synonym.synonym = "tshirt"
so searches on "t-shirt" return products also containing string "tee" or "tee shirt".
I haven't looked at the Zen search code at all yet ... if anyone can point me in the right direction it'd be appreciated.
Tell staff why this post should be reviewed.