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?
- This topic has 6 replies, 2 voices, and was last updated 1 year, 9 months ago by Stephen Jack.
-
AuthorPosts
-
March 28, 2023 at 11:58 PM #49208
Stephen JackParticipantI 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
BrendanKeymasterHi 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 JackParticipantJust a general search.
March 29, 2023 at 7:50 PM #49214
BrendanKeymasterOk, 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 JackParticipantTried 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
BrendanKeymasterAh 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 notpresent
(which is contained withinrepresent
)March 30, 2023 at 3:52 AM #49217
Stephen JackParticipantIt 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.
-
AuthorPosts
You must be logged in to reply to this topic.