Logo
FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
Search Bar

 
Post new topic   Reply to topic    www.fanart-central.net Forum Index -> FAC Site Discussion
View previous topic :: View next topic  
Author Message
luckylace222
Site Helper


Joined: 05 May 2007
Posts: 1545
Location: Baby Fishy

PostPosted: Sun Sep 04, 2011 9:32 am    Post subject: Search Bar Reply with quote

Is there any way to make it so that you do not have to type the exact words to find a reasonable search on FAC?

For example, the user FAC MadamePenguin. If I type in "MadamPenguin" on accident without the "e," there is not even a "Did you mean this...?" It just says there are no results.

Can there not just be a general "keywords" for each section instead of having to specifically click "users", "categories," or "pictures?"
_________________
[size=10]“Far better is it to dare mighty things, to win glorious triumphs, even though checked by failure...than to rank with those poor spirits who neither enjoy much nor suffer much, because they live in a gray twilight that knows not victory nor defeat.” ~Theodore Roosevelt [/size]
Back to top
View user's profile Send private message
cstdenis
Evil Overlord


Joined: 31 Dec 1969
Posts: 6490
Location: In the tubes.

PostPosted: Sun Sep 04, 2011 6:31 pm    Post subject: Reply with quote

[quote]If I type in "MadamPenguin" on accident without the "e,"...[/quote]
That is extremely difficult. The only way Google can do it is that they have a massive amount of data on people typing wrong things in the search box to work off of.

Also, user search seems to be somewhat broken anyway now -- only works properly for site helpers based on some of my recent testing, presumably due to security changes.

[quote]Can there not just be a general "keywords" for each section instead of having to specifically click "users", "categories," or "pictures?"[/quote]
Please elaborate.
_________________
You will obey or molten silver will be poured into your ears.
Back to top
View user's profile Send private message Visit poster's website
luckylace222
Site Helper


Joined: 05 May 2007
Posts: 1545
Location: Baby Fishy

PostPosted: Mon Sep 05, 2011 7:55 am    Post subject: Reply with quote

[quote]That is extremely difficult. The only way Google can do it is that they have a massive amount of data on people typing wrong things in the search box to work off of.

Also, user search seems to be somewhat broken anyway now -- only works properly for site helpers based on some of my recent testing, presumably due to security changes.[/quote]
Interesting, I did not know that.

[quote]Please elaborate.[/quote]
For example, if I look up "MadamePenguin" in the search bar under "Pictures," it only comes up with 1 picture, only because her username was mentioned in the description. I wanted her pictures. As a regular user, the "user" interface does not work very well, so I have to rely on these indirect links to find her. Would it not be better to link the actual artist's pictures in the "Picture" search category when we look it up? It would be quicker and more convenient for the FAC community.
_________________
[size=10]“Far better is it to dare mighty things, to win glorious triumphs, even though checked by failure...than to rank with those poor spirits who neither enjoy much nor suffer much, because they live in a gray twilight that knows not victory nor defeat.” ~Theodore Roosevelt [/size]
Back to top
View user's profile Send private message
Stratadrake
Elder Than Dirt


Joined: 05 May 2004
Posts: 13710
Location: Moo

PostPosted: Mon Sep 05, 2011 8:23 pm    Post subject: Reply with quote

Search actually has a lot of undocumented features, but not all of them work correctly. Sad

For example, try adding "BY username" to your search query -- I believe that one works Wink
_________________
Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size]
Back to top
View user's profile Send private message
cstdenis
Evil Overlord


Joined: 31 Dec 1969
Posts: 6490
Location: In the tubes.

PostPosted: Mon Sep 05, 2011 8:41 pm    Post subject: Reply with quote

New version of search in the works has some interesting filter options.

[img]http://s1.postimage.org/i910mbwo8/new_search.png[/img]
_________________
You will obey or molten silver will be poured into your ears.


Last edited by cstdenis on Wed Sep 07, 2011 10:18 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Stratadrake
Elder Than Dirt


Joined: 05 May 2004
Posts: 13710
Location: Moo

PostPosted: Mon Sep 05, 2011 10:35 pm    Post subject: Reply with quote

That about covers everything, but boy do they take up the real estate. Should definitely be made collapsible....
_________________
Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size]
Back to top
View user's profile Send private message
luckylace222
Site Helper


Joined: 05 May 2007
Posts: 1545
Location: Baby Fishy

PostPosted: Tue Sep 06, 2011 4:51 pm    Post subject: Reply with quote

[quote="cstdenis"]New version of search in the works has some interesting filter options.

[img]http://s1.postimage.org/i910mbwo8/new_search.png[/img][/quote]
Great god. YES. I love the specification. I like it A LOT. I do not think I have ever seen any "new" screen shots of what the newer update looks like.

[quote]For example, try adding "BY username" to your search query -- I believe that one works [/quote]
That just comes up with all the recent pictures.
_________________
[size=10]“Far better is it to dare mighty things, to win glorious triumphs, even though checked by failure...than to rank with those poor spirits who neither enjoy much nor suffer much, because they live in a gray twilight that knows not victory nor defeat.” ~Theodore Roosevelt [/size]
Back to top
View user's profile Send private message
Stratadrake
Elder Than Dirt


Joined: 05 May 2004
Posts: 13710
Location: Moo

PostPosted: Tue Sep 06, 2011 6:43 pm    Post subject: Reply with quote

Yes that's a bug, but try combining it with a normal search term. E.g: "anime by MadamePenguin" should work.

As for misspellings, there [i]is[/i] a function to [u][url=http://www.php.net/manual/en/function.similar-text.php]calculate similarity between two strings[/url][/u], but you can't just call it against the full users database, it needs parameters to narrow down what it compares to. For example, if we assume that you typed a username and at least got the first 1~2 letters correct, then we could query a list of relevant usernames from the database and calculate name similarity based on that....
_________________
Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size]
Back to top
View user's profile Send private message
cstdenis
Evil Overlord


Joined: 31 Dec 1969
Posts: 6490
Location: In the tubes.

PostPosted: Wed Sep 07, 2011 10:21 am    Post subject: Reply with quote

[quote="Stratadrake"]That about covers everything, but boy do they take up the real estate. Should definitely be made collapsible....[/quote]
It is. The "limit" checkboxes expand the bordered areas next to them. The current interface is just a quick hacked together prototype, needs a lot of beautification work before launch.

[quote]As for misspellings, there is a function to calculate similarity between two strings, but you can't just call it against the full users database[/quote]
There are database-side version of that: http://www.postgresql.org/docs/8.3/static/fuzzystrmatch.html

However actually making it work usefully/reliably isn't quite as easy as it sounds.
_________________
You will obey or molten silver will be poured into your ears.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.fanart-central.net Forum Index -> FAC Site Discussion All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum