Skip to content

Incomplete Results for Strings that Include Numbers #122

@thekenshow

Description

@thekenshow

A client site uses part numbers in page titles (e.g., SPK1000) and TNTSearch isn't returning all matches when the first three characters are used.

Test case 1 is a search for "spk", which should return "spk1000" and "spk7457", but only the first appears:

Screen Shot 2021-10-25 at 4 31 03 PM

A search for "spk7", returns "spk7457", which should also appear in the previous search:

Screen Shot 2021-10-25 at 4 31 13 PM

Test 2 is a search for "739", which should return three results - two instances of "7393 Horn Driver" and 1 with "739" in the body of the text, but instead only returns the latter:

Screen Shot 2021-10-26 at 1 16 04 PM

A search for "7393" turns up the first two expected above (two instances of "7393 Horn Driver"):

Screen Shot 2021-10-26 at 1 15 56 PM

Thought this might be related to the stemming issue describe here but @ViliusS set me straight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions