New search options added for login users

Changes, updates etc. related to this website will be posted here.
Message
Author
User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

New search options added for login users

#1 Post 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

freakazoid
Posts: 1212
Joined: Wed Jul 18, 2007 5:45 pm

Re: New search options added for login users

#2 Post by freakazoid »

Cool. Would be nice if we could add a search term as well with the operator.

eg. "[@] my search term"
is it stealth? ;)

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#3 Post 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.

freakazoid
Posts: 1212
Joined: Wed Jul 18, 2007 5:45 pm

Re: New search options added for login users

#4 Post 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.
is it stealth? ;)

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#5 Post 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.

freakazoid
Posts: 1212
Joined: Wed Jul 18, 2007 5:45 pm

Re: New search options added for login users

#6 Post by freakazoid »

Thanks Andrew! :)
is it stealth? ;)

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: New search options added for login users

#7 Post 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:

User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: New search options added for login users

#8 Post 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!

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#9 Post by Andrew Lee »

@Midas: You read my mind! :D

the_watcher
Posts: 164
Joined: Mon Dec 07, 2009 2:30 am

Re: New search options added for login users

#10 Post 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]

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#11 Post 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!

the_watcher
Posts: 164
Joined: Mon Dec 07, 2009 2:30 am

Re: New search options added for login users

#12 Post by the_watcher »

It works now!Thanks for the quick fix! 8)

lautrepay
Posts: 715
Joined: Sat Mar 26, 2011 2:31 am

Re: New search options added for login users

#13 Post 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?

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#14 Post 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!

lautrepay
Posts: 715
Joined: Sat Mar 26, 2011 2:31 am

Re: New search options added for login users

#15 Post by lautrepay »

Andrew Lee wrote:This issue has been fixed. Thanks!
Thanks for the fix, Mr. Lee!

Post Reply