I'm using the following settings:
Search terms are: STEMS, with the check boxes checked for stems on both
sides.
When the search terms are: WORDS, the problem does not manifest itself (i.e.
a search for ".040" properly returns a product with this in the title.). A
search for 040 also returns the desired result, because the initial search
comes up empty and an auto-re-search with stems is performed. I cannot use
this option, however, becase this often a WORD search will hit at least one
result (though not the desired one) and in these cases the auto-re-search
with stems is not performed.
I MUST use STEMS searching (i.e. I need my customers to be able to find the
product in question by searching for 04, and .04, and 40, etc - which they
cannot do with WORDS searching.)
For STEMS searching:
When the wildcard check boxes (*STEM* on the search layout page) are both
cleared:
A basic search for .040 returns nothing.
A search for .040 with the advanced search checkbox filled returns the
product in question.
A basic search for 040 returns two products, including the product in
question.
A search for 040 with the advanced search checkbox filled returns the
product in question
When only the trailing wildcard check box is filled:
A basic search for .040 returns nothing.
A search for .040 with the advanced search checkbox filled returns the
product in question.
A basic search for 040 returns two products, including the product in
question.
A search for 040 with the advanced search checkbox filled returns the
product in question
When only the leading wildcard check box is filled:
A basic search for .040 returns nothing.
A search for .040 with the advanced search checkbox filled returns the
product in question.
A basic search for 040 returns three products, including the product in
question.
A search for 040 with the advanced search checkbox filled returns the
product in question
When both check boxes are filled:
A basic search for .040 returns nothing.
A search for .040 with the advanced search checkbox filled returns the
product in question.
A basic search for 040 returns four products, including the product in
question.
A search for 040 with the advanced search checkbox filled returns the
product in question
So, it appears the problem manifests itself when using basic searching with
stems, when the product has a special character at the beginning of the
desired search phrase. (Clearly, SS is not ignoring the special character
and just searching for the remainder of the search string. It would be nice
if it did, though, because then a search for .040 would actually be a search
for 040, and would return the desired product.)
In the meantime, to mitigate the problem, I've set Advanced Search to
'ALWAYS', and Default Advanced Search Field to 'ADVANCED'.
Can anyone shed some light on the difference between advanced and basic
searching? The SS documentation gives no indication as to why .040 would be
a match in advanced, and not in basic...
"jim" <jstavast@xmission.com> wrote in message
news:dvqkvd$5g0$1@eval.shopsite.com...
What search settings do you have configured under Preferences > Search
Settings > Search Layout in the Advanced Search section? Especially the
Search Terms Are: section?
The ShopSite search is a "word" search and not a "string" search and some
characters are designated as word separators. I would think that
characters such as . , ; etc would be word separators and aren't actually
indexed. So when you search for .04 it is probably ignoring the . and just
searching for 04.
Jim