Home » Forum
  • If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


No announcement yet.

Indexing hyphenated words

  • 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?