Page Index Toggle Pages: [1] 2  Print
Hot Topic (More than 10 Replies) Browsing and searching the database - suggestions (Read 14,230 times)
josephk
Platinum Member
*****
Offline



Posts: 3,981
Location: Canada
Joined: 01. Apr 2002
Browsing and searching the database - suggestions
17. Dec 2008 at 16:02
Print Post  
Hi Quantum. First, let me just say again how much I appreciate all your work and the many improvements to the database that you've implemented since you took over the site.

BROWSING

One of my favourite ways to browse through the database is by year of production/release. I find this is a more useful way to break things down than the more arbitrary alphabetical listings.

Unfortunately, the database only gives you the option of browsing by decade. With over 2000s movies in the database, I think it might be worth breaking it down further to the level of individual years.

For example, when I want to browse through films made in 2002, I have to click on "2000s" and then get this rather clumsy list:

45 pages: 2000 (ALI) > 2000 (CHI) - 2000 (CHI) > 2000 (GRO) - 2000 (HAN) > 2000 (MR.) - 2000 (MY ) > 2000 (TAM) - 2000 (TES) > 2001 (ATL) - 2001 (AU ) > 2001 (ESP) - 2001 (EVA) > 2001 (I'L) - 2001 (IMP) > 2001 (MAY) - 2001 (MEG) > 2001 (RAI) - 2001 (REN) > 2001 (YA ) - 2001 (YOU) > 2002 (CLU) - 2002 (COL) > 2002 (HEA) - 2002 (HEL) > 2002 (LAS) - 2002 (LAS) > 2002 (REY) - 2002 (REY) > 2002 (TOU) - 2002 (TWO) > 2003 (ARI) - 2003 (ATT) > 2003 (EMM) - 2003 (EN ) > 2003 (KOK) - 2003 (LAS) > 2003 (MON) - 2003 (MOR) > 2003 (POL) - 2003 (PUT) > 2003 (TES) - 2003 (THI) > 2004 (ARO) - 2004 (AUS) > 2004 (CHR) - 2004 (COC) > 2004 (GOD) - 2004 (GOL) > 2004 (LAK) - 2004 (LAS) > 2004 (NOC) - 2004 (O D) > 2004 (SUG) - 2004 (SUG) > 2004 (YOU) - 2004 (YST) > 2005 (CHE) - 2005 (CHR) > 2005 (GUE) - 2005 (HAV) > 2005 (LOV) - 2005 (Lü ) > 2005 (ONC) - 2005 (OPA) > 2005 (TRE) - 2005 (TWO) > 2006 (AFT) - 2006 (AFT) > 2006 (DEN) - 2006 (DER) > 2006 (HOR) - 2006 (HOS) > 2006 (NIM) - 2006 (NOC) > 2006 (TAL) - 2006 (TEM) > 2007 (ACN) - 2007 (AGI) > 2007 (DEC) - 2007 (DEN) > 2007 (KUN) - 2007 (LAS) > 2007 (RAD) - 2007 (RAD) > 2007 (YE.) - 2007 (YOU) > 2008 (LET) - 2008 (MEI) > 2008 (UN )

This makes for a rather awkward browsing experience, which I think could be improved by giving users the ability to pick a specific year.

Two more points:

1. Could you maybe increase the number of hits per page? Right now I think it's listing 25 at a time. Personally, I always prefer to have long lists on a single page, so I wouldn't mind having as many as 100 hits per page. But I guess that affects server response time, so if you think that's too much maybe 50 would be a good number?

2. This might be too complicated, but I thought I'd suggest it anyway. I really like that you've made the AKA titles searchable and that they now show up in the alphabetical listings. This makes it easier to find movies when you only know either the original or the translated title and don't know which is used as the main entry. However, it does clutter up the results unnecessarily when browsing by year, as every foreign film gets listed twice. Would it be possible to only list the main title in chronological listings? That would mean displaying results differently based on whether you're browsing alphabetically or by year, so I can see how that might be too much to ask. I don't know much about coding, but if there's an easy way to get this done, it would be great.

SEARCHING

I think the search function on the database is not loose enough. It seems to always search for the exact string that we enter, regardless of whether there are quotes or not.

This makes it impossible to search for an actor by typing in his full name. Whether I enter "Liam Aiken" or "Aiken, Liam" (without quotes) - no results show up. I have to search for "Aiken" alone, or "Liam" alone. (I think it's because first and last names are entered in separate fields?)

I'm used to it now, so I can work around it. But it seems very counter-intuitive.

It's the same problem for movies. If I search for "The Mist" I will not find the movie I'm looking for. I have to search for "Mist, The", or just "Mist."
  
Back to top
 
IP Logged
 
Quantum
BA Administrator
*****
Offline


BA Member

Posts: 788
Location: UK
Joined: 18. Jan 2005
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #1 - 17. Dec 2008 at 18:11
Print Post  
josephk wrote on 17. Dec 2008 at 16:02:
Hi Quantum. First, let me just say again how much I appreciate all your work and the many improvements to the database that you've implemented since you took over the site.

BROWSING

One of my favourite ways to browse through the database is by year of production/release. I find this is a more useful way to break things down than the more arbitrary alphabetical listings.

Unfortunately, the database only gives you the option of browsing by decade. With over 2000s movies in the database, I think it might be worth breaking it down further to the level of individual years.

For example, when I want to browse through films made in 2002, I have to click on "2000s" and then get this rather clumsy list:


I think the best option for this would be to add an additional drop-down list for the years, listing all the years in the database - that way you could pick an individual year...

Quote:
Two more points:

1. Could you maybe increase the number of hits per page? Right now I think it's listing 25 at a time. Personally, I always prefer to have long lists on a single page, so I wouldn't mind having as many as 100 hits per page. But I guess that affects server response time, so if you think that's too much maybe 50 would be a good number?


At the moment, the 25 hits is hard-coded into the page, but it shouldn't be too hard to change that to a variable. Then it just a question of how you choose how many hits you want. One option would be to have a set of personal preferences where you could define that sort of thing - although you would have to be logged into the site for that to work. I am also looking at a system that would allow you to set a persistent cookie so that you wouldn't have to log in each time you visit the site.
The other option would be to just define the number of hits you want with a cookie - either a persistent one that would last between visits or a temporary one that would need setting each time you visited the site.
Any thoughts?

Quote:
2. This might be too complicated, but I thought I'd suggest it anyway. I really like that you've made the AKA titles searchable and that they now show up in the alphabetical listings. This makes it easier to find movies when you only know either the original or the translated title and don't know which is used as the main entry. However, it does clutter up the results unnecessarily when browsing by year, as every foreign film gets listed twice. Would it be possible to only list the main title in chronological listings? That would mean displaying results differently based on whether you're browsing alphabetically or by year, so I can see how that might be too much to ask. I don't know much about coding, but if there's an easy way to get this done, it would be great.


I don't think this should be too difficult - it should be a fairly straightforward bit of logic to change to a slightly different search query which doesn't combine the aka titles as well...

The database is also being moved towards having the original language title as the primary title, with the English translation as the aka. The exception to this is for non-latin script titles (ie Chinese, Japanese, Russian, etc films) where the original title is a transliteration and so I don't think it really matters which title is used as the primary title.

Quote:
SEARCHING

I think the search function on the database is not loose enough. It seems to always search for the exact string that we enter, regardless of whether there are quotes or not.

This makes it impossible to search for an actor by typing in his full name. Whether I enter "Liam Aiken" or "Aiken, Liam" (without quotes) - no results show up. I have to search for "Aiken" alone, or "Liam" alone. (I think it's because first and last names are entered in separate fields?)

I'm used to it now, so I can work around it. But it seems very counter-intuitive.

It's the same problem for movies. If I search for "The Mist" I will not find the movie I'm looking for. I have to search for "Mist, The", or just "Mist."


I will take another look at the search code so that it's a bit more flexible. In the case of actors names, it would just be a case of splitting up the names you enter and searching for each part of the name against the firstname and surname fields in the database. It's just a case of building up the search query.
In the case of movie names, I think the easiest solution would be to add some code that strips off the indefinite articles (plus any commas) from the search term (ie so that "The Mist", "Mist", and "Mist, The" all get reduced to a search for "Mist"...). It's pretty much the reverse of the function used to display the titles so that the "The", "Le", "La", "A" etc get moved to the start of the title...

Feedback is always welcome, and hopefully it shouldn't take too long to make the changes to the code Smiley

  
Back to top
 
IP Logged
 
josephk
Platinum Member
*****
Offline



Posts: 3,981
Location: Canada
Joined: 01. Apr 2002
Re: Browsing and searching the database - suggestions
Reply #2 - 17. Dec 2008 at 18:29
Print Post  
You're amazing. Your suggested solutions all sound good.

For the number of hits, I'd be satisfied if it was a preference associated with user accounts, so that you'd need to log in for it to take effect.

But is there anyway to automatically stay logged in between sessions? I have to log in every time I visit the database. (Whereas I never need to log in when I visit the forum.) I guess that's a cookie issue.
  
Back to top
 
IP Logged
 
Quantum
BA Administrator
*****
Offline


BA Member

Posts: 788
Location: UK
Joined: 18. Jan 2005
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #3 - 17. Dec 2008 at 20:22
Print Post  
OK, the persistent login is written and looks to be working. There's now a check box on the login page that sets a couple of cookies that should keep you logged in. The cookies should last for 3 months after your visit to the site.
  
Back to top
 
IP Logged
 
Quantum
BA Administrator
*****
Offline


BA Member

Posts: 788
Location: UK
Joined: 18. Jan 2005
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #4 - 17. Dec 2008 at 21:26
Print Post  
The search function is now updated so that multiple actor names can be entered - "liam aiken", "aiken liam", and "aiken, liam" will all return the correct results Smiley
  
Back to top
 
IP Logged
 
Quantum
BA Administrator
*****
Offline


BA Member

Posts: 788
Location: UK
Joined: 18. Jan 2005
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #5 - 17. Dec 2008 at 22:19
Print Post  
The search function now ignores indefinite articles - so that "the mist", "mist the" and "mist, the" are the same as searching for "mist"...
  
Back to top
 
IP Logged
 
josephk
Platinum Member
*****
Offline



Posts: 3,981
Location: Canada
Joined: 01. Apr 2002
Re: Browsing and searching the database - suggestions
Reply #6 - 18. Dec 2008 at 04:12
Print Post  
Excellent. Thank you.
  
Back to top
 
IP Logged
 
Quantum
BA Administrator
*****
Offline


BA Member

Posts: 788
Location: UK
Joined: 18. Jan 2005
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #7 - 20. Dec 2008 at 16:08
Print Post  
aka titles are now no longer included in the non-alphabetical lists (although eventually this will become a user-specified option)

There is now a option to select movies and tv shows for a specific year. It looks to all be working - but let me know if something strange happens Smiley
  
Back to top
 
IP Logged
 
Quantum
BA Administrator
*****
Offline


BA Member

Posts: 788
Location: UK
Joined: 18. Jan 2005
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #8 - 21. Dec 2008 at 13:16
Print Post  
The preferences code is now written, so you can now set how many results you want per page and whether you want to include the aka titles in the non-alphabetical listings...

There's also now a logout function.
  
Back to top
 
IP Logged
 
josephk
Platinum Member
*****
Offline



Posts: 3,981
Location: Canada
Joined: 01. Apr 2002
Re: Browsing and searching the database - suggestions
Reply #9 - 22. Dec 2008 at 02:29
Print Post  
Thanks again for all your work. Haven't checked out all the new features yet, but I'm sure they're great.

Just want to point out there still seems to be some kinks with the search function.

For example:
Quote:
Movie Title results for "Proud Rebel"
No Movie Title results found


And yet...

Quote:
Movie Title results for "rebel"
Proud Rebel, The (1958)


Why do you think it doesn't find the movie when I type in the full title?
  
Back to top
 
IP Logged
 
Quantum
BA Administrator
*****
Offline


BA Member

Posts: 788
Location: UK
Joined: 18. Jan 2005
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #10 - 22. Dec 2008 at 19:06
Print Post  
Found the bug, and it's now sorted Smiley

Let me know if you find any more issues...
  
Back to top
 
IP Logged
 
josephk
Platinum Member
*****
Offline



Posts: 3,981
Location: Canada
Joined: 01. Apr 2002
Re: Browsing and searching the database - suggestions
Reply #11 - 22. Dec 2008 at 19:52
Print Post  
Thanks. I also checked out the preferences and they're great.
  
Back to top
 
IP Logged
 
TheSwede
Platinum Member
*****
Offline


Tack ska du ha.

Posts: 1,069
Location: USA
Joined: 18. Sep 2006
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #12 - 05. Jan 2009 at 21:46
Print Post  
I just found a hiccough, I think...

I was doing a search for "JET" (Jet boy) and the search returned a message like:

Movie Title results for ""

and listed EVERY movie in the database.  Apparently, it doesn't recognize short titles?  Because if I include the [space] after Jet it works just fine.  Is there a minimum of 4 characters in the search string?
  
Back to top
 
IP Logged
 
Quantum
BA Administrator
*****
Offline


BA Member

Posts: 788
Location: UK
Joined: 18. Jan 2005
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #13 - 05. Jan 2009 at 22:07
Print Post  
The minimum search term length is 3 characters - however it was undefined in the code when the term was exactly 3 characters long... I've fixed that now so searching for "jet" now works.
  
Back to top
 
IP Logged
 
TheSwede
Platinum Member
*****
Offline


Tack ska du ha.

Posts: 1,069
Location: USA
Joined: 18. Sep 2006
Gender: Male
Re: Browsing and searching the database - suggestions
Reply #14 - 08. Jan 2009 at 06:36
Print Post  
Thanks!  Good to know in either case!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Print