Why doesn’t a simple search return every instances of a word?

Tap Forms – Organizer Database App for Mac, iPhone, and iPad Forums Using Tap Forms Why doesn’t a simple search return every instances of a word?

Viewing 6 reply threads
  • Author
    Posts
  • March 28, 2023 at 11:58 PM #49208

    Stephen Jack
    Participant

    I never noticed this before, but a search is not giving every record with a certain search term.

    March 29, 2023 at 12:16 AM #49209

    Brendan
    Keymaster

    Hi Stephen,

    Which kind of search are you doing? A Saved Search or the general search?

    If it’s a Saved Search, try changing one thing about it and then save it again, then change it back. That will re-build the search index for that Saved Search.

    Thanks,

    Brendan

    March 29, 2023 at 1:50 AM #49213

    Stephen Jack
    Participant

    Just a general search.

    March 29, 2023 at 7:50 PM #49214

    Brendan
    Keymaster

    Ok, then I’m guessing the search index needs to be updated. Can you make a small change to one of your records that’s not appearing in the results and then try searching for that to see if it appears?

    Another thing you could try as an experiment is to export all your records as a Tap Forms Archive (.tfarc) file, then make a new document and import that .tfarc file into the new document.

    See if the search is working properly there. Just as a test.

    March 29, 2023 at 11:34 PM #49215

    Stephen Jack
    Participant

    Tried both with no improvement. Is it possible this is language related? My database includes English and Chinese (in separate fields). While it is hard to confirm this problem is Not happening with the English, it is definitely happening with Chinese, possibly when the character in question is not listed first in a field.

    For example these two characters, 要命. Searching the first one, will bring up the record. Searching the second, will not.

    March 30, 2023 at 2:24 AM #49216

    Brendan
    Keymaster

    Ah yes. This is an issue with the tokenizer for CJK languages. Are you running Tap Forms in English or in Chinese? Try running it in Chinese and see if you get a different result.

    The problem with CJK character sets is they use individual characters to represent entire words, but are contained possibly within a string and not at the beginning of it.

    In a new version of Tap Forms I’m working on, I’ve re-built the search engine to better support CJK languages.

    Right now Tap Forms keys off of spaces between words. So you can find represent, but not present (which is contained within represent)

    March 30, 2023 at 3:52 AM #49217

    Stephen Jack
    Participant

    It is only a minor issue for me (I would have noticed it much earlier if it was serious). I’ll look forward to the next version. Thanks for the thorough response.

Viewing 6 reply threads

You must be logged in to reply to this topic.