New search options added for login users
- Andrew Lee
- Posts: 3083
- Joined: Sat Feb 04, 2006 9:19 am
- Contact:
New search options added for login users
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.
- 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.
-
- Posts: 1212
- Joined: Wed Jul 18, 2007 5:45 pm
Re: New search options added for login users
Cool. Would be nice if we could add a search term as well with the operator.
eg. "[@] my search term"
eg. "[@] my search term"
is it stealth?
- Andrew Lee
- Posts: 3083
- Joined: Sat Feb 04, 2006 9:19 am
- Contact:
Re: New search options added for login users
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.
You can too, from the search options screen now, if you are logged in.
-
- Posts: 1212
- Joined: Wed Jul 18, 2007 5:45 pm
Re: New search options added for login users
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.
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?
- Andrew Lee
- Posts: 3083
- Joined: Sat Feb 04, 2006 9:19 am
- Contact:
Re: New search options added for login users
@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.
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.
-
- Posts: 1212
- Joined: Wed Jul 18, 2007 5:45 pm
Re: New search options added for login users
Very good ... thanksAndrew Lee wrote:I have just added two new search options:
- Search for private entries aka "[#]"
- Search for public + private entries aka "[@]"
BTW: Now a direct search for "Q-Dir" works again
Re: New search options added for login users
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!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.
- Andrew Lee
- Posts: 3083
- Joined: Sat Feb 04, 2006 9:19 am
- Contact:
Re: New search options added for login users
@Midas: You read my mind!
-
- Posts: 164
- Joined: Mon Dec 07, 2009 2:30 am
Re: New search options added for login users
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]
- Andrew Lee
- Posts: 3083
- Joined: Sat Feb 04, 2006 9:19 am
- Contact:
Re: New search options added for login users
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!
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!
-
- Posts: 164
- Joined: Mon Dec 07, 2009 2:30 am
Re: New search options added for login users
It works now!Thanks for the quick fix!
Re: New search options added for login users
Even when I'm not logged in, searches with [@] return me both public and private entries as results.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.
It is supposed that I should be logged in to get these results, isn't it?
- Andrew Lee
- Posts: 3083
- Joined: Sat Feb 04, 2006 9:19 am
- Contact:
Re: New search options added for login users
This issue has been fixed. Thanks!lautrepay wrote:It is supposed that I should be logged in to get these results, isn't it?
Re: New search options added for login users
Thanks for the fix, Mr. Lee!Andrew Lee wrote:This issue has been fixed. Thanks!