kiwix-android icon indicating copy to clipboard operation
kiwix-android copied to clipboard

Add Multizim search to android

Open kelson42 opened this issue 8 years ago • 7 comments
trafficstars

From @mhutti1 on November 21, 2016 12:5

We should implement multizim search as in the IOS app into the android app.

The ZIM files that are searchable should be a user selected subset of the available ZIM files.

Memory implications might need to be looked into if we use the JNI to open multiple files at once. I am not too sure at the moment.

Copied from original issue: kiwix/kiwix#364

kelson42 avatar Mar 18 '17 12:03 kelson42

From @mhutti1 on November 24, 2016 23:41

I have actually got much further much faster than I thought I could. Although still a prototype I have successfully implemented multizim search with only a few issues.

https://github.com/kiwix/kiwix/tree/android_multizim_search

At the moment I can see 3 potential issues.

First, memory:

  • [ ] Work out memory implications of storing multiple zim readers

The additional searching has made searches take considerably longer as such:

  • [ ] Searches should be added to the list as returned

Files with duplicate titles currently default to the physically open zim file.

  • [ ] Both files should be displayed along with their ZIM file and the user should be given the option of which to choose

In addition to this currently to load the multizims a user must visit the content management screen. We should remove this requirement (and implement functions to allow the adding of additional readers to the array without swapping the current reader out)

PS: I am a complete C++ novice as such my code may be dreadful, feel free to point out any flaws.

kelson42 avatar Mar 18 '17 12:03 kelson42

1 - This should be first optional IMO 2 - On iOS, the user can choose which ZIM file to include in the search (which allow to make it quicker if the whole stuff is too slow).

I'll have a look in detail to your code.

kelson42 avatar Mar 18 '17 12:03 kelson42

@mgautierfr is currently working to have a nice multizim support in the zimlib. Then the work could start on UI side.

kelson42 avatar Mar 18 '17 12:03 kelson42

Blocked by https://github.com/kiwix/kiwix-lib/issues?q=is%3Aissue+is%3Aopen+label%3Akiwix-android-multizim

mhutti1 avatar Aug 15 '19 19:08 mhutti1

Most of the work is done in kiwix-lib but it is not quite there.

mhutti1 avatar Aug 15 '19 19:08 mhutti1

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar Nov 16 '19 09:11 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar Dec 17 '20 13:12 stale[bot]