Searching skips unlocked pages that have a password

Found a bug? Just having trouble getting Trunk to do what you want? Want to help other users?

Searching skips unlocked pages that have a password

Postby tonycmay » Thu Mar 15, 2012 8:53 pm

I can understand the reasoning behind excluding locked pages while searching but if I unlock a page and then do a search, I would expect it to show up in the list of results but it currently doesn't.
tonycmay
 
Posts: 10
Joined: Mon Mar 12, 2012 9:06 pm

Re: Searching skips unlocked pages that have a password

Postby mgkennard » Sat Mar 17, 2012 12:04 pm

Hello,

At the moment the way searching works is by searching the database for the text you entered. Each entry is stored in an encrypted format in the database until viewed and is then only decrypted temporarily. To search encrypted entries as well would require that each encrypted entry is decrypted for each search which could be a time consuming operation depending on the size of your wiki. I will consider allowing this for a future version but it may prove to work too slowly with the current implementation of encryption.

Matthew
Apps On The Move
mgkennard
Site Admin
 
Posts: 758
Joined: Mon Jul 21, 2008 2:40 pm

Re: Searching skips unlocked pages that have a password

Postby tonycmay » Sun Mar 18, 2012 11:13 pm

If/when you add the ability to search just the current page, that would work just as well. At least then you would only be searching the decrypted version that is already sitting in memory.
tonycmay
 
Posts: 10
Joined: Mon Mar 12, 2012 9:06 pm


Return to Problems

Who is online

Users browsing this forum: No registered users and 2 guests

cron