Request: Search Functionality with dashes & hyphens


Website Feedback


I have always had some trouble searching Paizo.com for PFS scenarios numerically, e.g. searching for 5-17 by number instead of it's name. Until today, I assumed it was just a matter of numbers being common and confusable.

I just noticed that it appears all the scenarios are using dashes instead of hyphens in their name (5–17 instead of 5-17), specifically an en-dash. The dash shows up a bit longer (at least in some fonts), although shorter than an em-dash. From a quick bit of research, I think grammatically a hyphen is more appropriate, but that's not really the point.

I was hoping the search function could be modified to either convert hyphens to dashes or, more preferably, treat them as identical.

Shadow Lodge

It seems to work reasonably if you do a search with quotes, for: "5-17"

Not fantastically, but that might be enough?


I don't see any difference between using quotes and not Avatar. "Brawl—Catfight: Nickie Deck" comes up first every time if I use the hyphenated version, while the scenario comes up first with the en-dash version, quotes or not.

Side note: It does appear my nifty firefox search plugin is converting automatically to hyphens, so that might explain the prevalence of the issue for me.

Paizo Employee Chief Technical Officer

Majuba wrote:
I was hoping the search function could be modified to either convert hyphens to dashes or, more preferably, treat them as identical.

We do indeed do conversions—your search using a hyphen will bring up results that have en-dashes, but such items will usually rank lower in the results than things that *actually* have hyphens, since those are "more exact" matches.

Similarly, your search using an en-dash will bring up results that have hyphens, but such items will usually rank lower in the results than things that *actually* have en-dashes, since those are "more exact" matches.

(Same deal with em-dashes.)

Shadow Lodge

You're right, the firefox search plugin brings up different results to using the search in the site (where 5-17 appears 4th on the list).


Vic Wertz wrote:

We do indeed do conversions—your search using a hyphen will bring up results that have en-dashes, but such items will usually rank lower in the results than things that *actually* have hyphens, since those are "more exact" matches.

Similarly, your search using an en-dash will bring up results that have hyphens, but such items will usually rank lower in the results than things that *actually* have en-dashes, since those are "more exact" matches.

Hmm, no direct keyboard option here for en-dashes, but I suppose I can just remember to use ALT-0150 to get –.

Edit: Different character, but Alt-196 also works to get ─, "BOX DRAWINGS LIGHT HORIZONTAL", which I guess finds more matches under en-dashes.

Paizo Employee Chief Technical Officer

On a Mac, en-dashes are option-hyphen and em-dashes are shift-option-hyphen.

Community / Forums / Paizo / Website Feedback / Request: Search Functionality with dashes & hyphens All Messageboards

Want to post a reply? Sign in.
Recent threads in Website Feedback