Page 1 of 2

New search options added for login users

Posted: Wed Jul 04, 2012 7:21 pm
by Andrew Lee
I have just added two new search options:

- Search for private entries aka "[#]"
- Search for public + private entries aka "[@]"

for logged in users only.

This prevents search engines from indexing private entries and makes it easier (I hope) for those of us who finds it difficult to remember arbitrary command line parameters. :D

Re: New search options added for login users

Posted: Wed Jul 04, 2012 8:26 pm
by freakazoid
Cool. Would be nice if we could add a search term as well with the operator.

eg. "[@] my search term"

Re: New search options added for login users

Posted: Wed Jul 04, 2012 8:54 pm
by Andrew Lee
You can, from the first day that operator came into existence.

You can too, from the search options screen now, if you are logged in.

Re: New search options added for login users

Posted: Wed Jul 04, 2012 9:00 pm
by freakazoid
You're right. It works to an extent.

I just tried:
"[#] flv" - doesn't give me any results, but it should match this: http://www.portablefreeware.com/index.php?id=1590
"[#] extract" - this gives me some results.

Re: New search options added for login users

Posted: Wed Jul 04, 2012 10:15 pm
by Andrew Lee
@freakazoid: This has been fixed.

By default, MySQL ignores tokens of length <= 3 during fulltext index/search. I modified the config so that it will include tokens of length 3 and rebuild the FT index.

Re: New search options added for login users

Posted: Wed Jul 04, 2012 11:14 pm
by freakazoid
Thanks Andrew! :)

Re: New search options added for login users

Posted: Thu Jul 05, 2012 8:46 am
by Checker
Andrew Lee wrote:I have just added two new search options:

- Search for private entries aka "[#]"
- Search for public + private entries aka "[@]"
Very good ... thanks :!:

BTW: Now a direct search for "Q-Dir" works again :wink:

Re: New search options added for login users

Posted: Thu Jul 05, 2012 1:31 pm
by Midas
Andrew Lee wrote:I have just added two new search options:

- Search for private entries aka "[#]"
- Search for public + private entries aka "[@]"

for logged in users only.
Just a note to highlight the remarkable mnemonic quality of Andrew's glyph choices: #, i.e., cardinal symbol (AKA sharp?) is a pictorial representation of a grid, thus extremely adequate for searches of objects kept hidden (locked away) by lack of member support; @, the "at symbol" ('arobase' in French or 'arroba' in Spanish/Portuguese; s. Wikpedia) a derivative of the letter 'a', thus making evidential the all inclusive nature of a particular search including it. Well done!

Re: New search options added for login users

Posted: Thu Jul 05, 2012 6:21 pm
by Andrew Lee
@Midas: You read my mind! :D

Re: New search options added for login users

Posted: Thu Jul 19, 2012 7:46 am
by the_watcher
It might be the wrong section/topic to post this, but a search for "everything" (the app) returns no results [as i found out today]

Re: New search options added for login users

Posted: Thu Jul 19, 2012 6:50 pm
by Andrew Lee
Damn! Look at this page and search for "everything":

http://dev.mysql.com/doc/refman/5.5/en/ ... words.html

Anyway, a quick change to the config file to disable stopwords seemed to have fixed things.

Thanks for reporting this!

Re: New search options added for login users

Posted: Thu Jul 19, 2012 7:49 pm
by the_watcher
It works now!Thanks for the quick fix! 8)

Re: New search options added for login users

Posted: Sat Jul 21, 2012 9:03 am
by lautrepay
Andrew Lee wrote:I have just added two new search options:

- Search for private entries aka "[#]"
- Search for public + private entries aka "[@]"

for logged in users only.

This prevents search engines from indexing private entries and makes it easier (I hope) for those of us who finds it difficult to remember arbitrary command line parameters. :D
Even when I'm not logged in, searches with [@] return me both public and private entries as results.

Image Image

It is supposed that I should be logged in to get these results, isn't it?

Re: New search options added for login users

Posted: Thu Nov 01, 2012 8:14 pm
by Andrew Lee
lautrepay wrote:It is supposed that I should be logged in to get these results, isn't it?
This issue has been fixed. Thanks!

Re: New search options added for login users

Posted: Fri Nov 02, 2012 2:38 pm
by lautrepay
Andrew Lee wrote:This issue has been fixed. Thanks!
Thanks for the fix, Mr. Lee!