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.

Announcement

Collapse
No announcement yet.

Search Settings

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

  • Search Settings

    I have many part numbers on my website with hyphens.

    Ex. 12-345-67890

    The search works fine as long as the user enters the exact text (with hyphens).
    However, many users will not include the hyphens, thus showing no results.

    Is there a way to disregard the hyphens?

    Thanks
    Dave

  • #2
    Under "Configure"->"Indexing options", you can disable "Hyphens" from joining words. You will have to re-index for it to take effect.

    By doing this, the number would be indexed as 3 separate numbers (12, 345, 67890) so users can find it searching for any combination of those numbers.

    But this also means that it would match different order of those numbers, e.g.
    345 12 67890

    However if you need to search for that exact order of numbers again, you can enclose the search with quotation characters: e.g.
    "12 345 67890"
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X