PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Indexing hyphenated words

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Indexing hyphenated words

    The hyphen is deactivated in our indexing word rules.

    The point is: If somebody is looking for something like
    "auto update", the search should find both "auto update"
    and "auto-update".

    One problem: The non-breaking hypen is not treated
    like an equivalent of the normal hyphen. Which means
    that the search result does not include instances of
    "auto‑update" if an author has chosen to use
    a non-breaking hyphen instead of a normal hyphen
    (for whatever reason).

    The following problem affects the regular hyphen when
    opening the page with highlight.js: Searches for both
    "auto update" and for "auto-update" lead to the high-
    lighting of "auto update", but not "auto-update".

    What are other peoples' strategies to avoid these types
    of problems with hyphenated content?

    Reinhard
Working...
X