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: 2213
Joined: Sat Feb 04, 2006 9:19 am
Contact:

New search options added for login users

#1 Post by Andrew Lee » Wed Jul 04, 2012 7:21 pm

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: 928
Joined: Wed Jul 18, 2007 5:45 pm

Re: New search options added for login users

#2 Post by freakazoid » Wed Jul 04, 2012 8:26 pm

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: 2213
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#3 Post by Andrew Lee » Wed Jul 04, 2012 8:54 pm

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: 928
Joined: Wed Jul 18, 2007 5:45 pm

Re: New search options added for login users

#4 Post by freakazoid » Wed Jul 04, 2012 9:00 pm

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: 2213
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#5 Post by Andrew Lee » Wed Jul 04, 2012 10:15 pm

@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: 928
Joined: Wed Jul 18, 2007 5:45 pm

Re: New search options added for login users

#6 Post by freakazoid » Wed Jul 04, 2012 11:14 pm

Thanks Andrew! :)
is it stealth? ;)

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

Re: New search options added for login users

#7 Post by Checker » Thu Jul 05, 2012 8:46 am

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: 4272
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: New search options added for login users

#8 Post by Midas » Thu Jul 05, 2012 1:31 pm

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: 2213
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#9 Post by Andrew Lee » Thu Jul 05, 2012 6:21 pm

@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 » Thu Jul 19, 2012 7:46 am

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: 2213
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#11 Post by Andrew Lee » Thu Jul 19, 2012 6:50 pm

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 » Thu Jul 19, 2012 7:49 pm

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

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

Re: New search options added for login users

#13 Post by lautrepay » Sat Jul 21, 2012 9:03 am

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: 2213
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: New search options added for login users

#14 Post by Andrew Lee » Thu Nov 01, 2012 8:14 pm

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: 700
Joined: Sat Mar 26, 2011 2:31 am

Re: New search options added for login users

#15 Post by lautrepay » Fri Nov 02, 2012 2:38 pm

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

Post Reply