Search with "w:" (word boundary) feature doesn't work on ankidroid

50 views
Skip to first unread message

R. M.

unread,
Jul 16, 2022, 6:00:23 AM7/16/22
to AnkiDroid
a normal search for "dog" - will match words like "doggy" and "underdog" too. Whereas adding "w:dog" will only show the word dog but not with pre- or suceeding characters. This feature works in anki-desktop and is explained in the manual. 

Is this feature available in ankidroid? In the ankidroid manual it says "AnkiDroid supports all the search strings that the desktop version of Anki does, allowing you to perform quite complex searches." which seems to untrue in this case.

I appreciate your replies. Thank you.

Mike Hardy

unread,
Jul 17, 2022, 10:58:49 AM7/17/22
to anki-a...@googlegroups.com, R. M.


Hi there! This may not work - yet - I am not sure, did you test it? If it does not work (yet) then I can say it probably will soon.


We are working on a long-term project where Desktop and AnkiDroid are changing the way they share code. It used to be that AnkiDroid was written 100% in Python programming language, and AnkiDroid ported that code to Java. Now AnkiDesktop has been rewritten mostly in Rust (including the search function) and AnkiDroid is being altered to re-package that Rust code and use it directly.


So in the past Desktop might get new features (like `w:` searches...) and AnkiDroid may not get them if we had not ported. But now we will just get them directly.


This may take some time but I think with the 2.16 release we will probably have the work done and you will be able to use this. In the meantime the only way to do it would be to download the code itself from github, compile it locally and turn on some developer-only flags that we hide this work behind (for safety reasons, just in case) then it may already work. I am not recommending that, just saying if you were motivated you could do it, and if you did we would love any feedback


-Mike

--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/528fb905-16b7-4c8b-bcae-d66658134dben%40googlegroups.com.

R. M.

unread,
Jul 17, 2022, 7:27:33 PM7/17/22
to AnkiDroid
Hi, thank you very much for your answer. When I search on AnkiDroid the search doesn't return any hits wheras on PC it works fine. It is very nice to hear that we'll get new features fast in the future. Thank you for your work.

Sandra Cantashunga sanchez

unread,
Jul 17, 2022, 10:25:14 PM7/17/22
to anki-a...@googlegroups.com
Ya descargue la aplicación  recién con una laptop   y también frases. Muy interesante  el curso.

Reply all
Reply to author
Forward
0 new messages