tiddlywiki.com has 1,700+ tiddlers so perhaps place a few of the tiddlers you expect to come up on it and test the search over there? This should lead us to the problem, if any.
I have a backup of my Tiddlywiki main site that I loaded on a different host to test.
On the main site I search for ‘resolv’ in the search input field and got 3 results. On the backup site the exact same search returns 33 results all in the text field.
In a tiddler titled ‘VNC’ the word ‘resolv’ is in a paragraph. This is an example of a tiddler that should have been return my the search on my main site.
Testing on tiddlywiki.com is a bit different, since it probably has different plugins and settings as your wiki. If tw-com also fails to find the tiddler there is a bug in the core.
If it only fails with your wiki, it may be a additional core plugins, or 3rd party plugins that could cause the problem.
So testing with tw-com will help to find the problem. If you import tiddlers into tw-com, they will not be saved. Nothing leaves your device. Technically you import your tiddlers to a wiki in your browser. No data is sent to a server.
So on your own wiki something is happening, perhaps to search perhaps to the tiddlers you are searching for. If you go to Advanced Search > Filter Tab > Dropdown > Overridden shadow tiddlers .
Except for $:/temp/advancedsearch are there other tiddlers with search in the title?
See if you can search for the tiddlers in advanced search that don’t appear in the sidebar.
If you are still stuck you need to follow the search process step by step, checking each related tiddler. Let me know if you cant share the wiki perhaps you can share screen and I can troubleshoot remotely.
Except for $:/temp/advancedsearch are there other tiddlers with search in the title?
No.
See if you can search for the tiddlers in advanced search that don’t appear in the sidebar.
I used the Standard tab of the advanced search (is it what you meant?) and searched for the same simple string resolv. I got the same 3 results that I get from the sidebar search.
I do have a customization to change the sort order of search, from this discussion. I removed it and test if it makes a difference and the answer is no. I even added it to my test wiki, the one that where the search works fine and it didn’t break it.
As my wiki contains some sensitive info I can’t share it but if you’re kind enough to do a screen sharing session with me I would be interested. In the interim if you have other suggestions to test please share with me.
Can you have a second look at: Advanced Search > Filter Tab > Dropdown > Overridden shadow tiddlers and see, if there are 2 tiddlers with a similar name that modify the search dropdown.
One more thing. I copied with a rsync command all the new/changed tiddlers from my prod wiki to my test one, restarted tiddlywiki test and the search still works fine on that one.
Command used for the copy: rsync -avrc mywiki/* Imacubuntu:docker/Tiddlywiki/mywiki/
Since this wiki has a large number of files I am using the root-tiddler=$:/core/save/lazy-all option in the systemd file to increase its initial loading, but only on the prod tw, not on the test one. This difference gave me a clue and I tested it without this option and this is positive, the search is now working fine!
That being said does anyone know a workaround that would make the search work with the lazy-all option enabled?