INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: smartlist tagging help  (Read 1512 times)

pgrisham

  • Regular Member
  • World Citizen
  • ***
  • Posts: 140
  • Change this by choosing profile
smartlist tagging help
« on: May 25, 2012, 06:35:56 pm »

I have smartlists to list 2 people in a picture.  This is complicated, as Marko helped me with something I would have NEVER figured out, but it quit working.  I actually have 2 problems:

1. When I take out one of the 2 possible parameter lines and add it back, it does NOT add the appropriate images back.  (EXAMPLE: [=isequal([people],p;d,1)]=1 and [=isequal([people],d;p,1)]=1)  These list persons p and d, and then switch and list persons d and p.  This is used to account for every possibility of tagging order.  BY THE WAY...it would be lovely if MC would just read them alphabetically.  I actually have a smartlist for all 5 people in my family.  The smartlist editing window fills my whole screen!

2. Virtually none of the images show up in some of my smartlists.  I have checked and rechecked tags, and all appears correct in them.  They work in recognizing 1 person in my tree views, but my smartlists to recognize 2 (or more!) don't show nearly all the pictures.
Logged

pgrisham

  • Regular Member
  • World Citizen
  • ***
  • Posts: 140
  • Change this by choosing profile
Re: smartlist tagging help
« Reply #1 on: May 25, 2012, 06:40:38 pm »

One thought to add:  Is it possible the smartlists have changed the expressions to AND instead of OR?  If I delete all but one parameter, it will show one or two pictures, but some have dozens.  The old smartlists that I haven't touched yet still list ALL pictures, as they should.  Really weird.

EDIT:  I just discovered the () and [] that you can put around multiple parameters, but I still can't figure out how to combine OR and AND expressions!  I need the first 2 paramaters to be OR (either: person 1 & 2 OR person 2 & 1) and the the path location to be AND.  I only need this one path because I have multiple picture directories and I get repeats if I include all.

http://www.pix01.com/gallery/BC69D33C-E6CC-4055-93FD-852BA0C3D6D0/pjcg/
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: smartlist tagging help
« Reply #2 on: May 25, 2012, 07:28:09 pm »

Use the Smartlist wizard and select

   People is all d,p

This will create the rule (which you can see via Import/Export):

   +[People]=[d],[p]

Individual terms in search/smartlist are always AND by default.
Logged
The opinions I express represent my own folly.

pgrisham

  • Regular Member
  • World Citizen
  • ***
  • Posts: 140
  • Change this by choosing profile
Re: smartlist tagging help
« Reply #3 on: May 25, 2012, 09:04:43 pm »

I tested this and it did what happened when I first tried smartlists--it included pictures with more than the 2 people listed.  I wanted an exclusive list of only those 2 people in a picture, so I used the smartlist in my screenshot I linked to (How do I embed a pic?).  I still haven't figured out how to have the 2 people parameters as OR and then have a file location as AND.  I played with the ( and [ combinations for 20 minutes with no luck.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: smartlist tagging help
« Reply #4 on: May 25, 2012, 09:32:15 pm »

Replace the d and p below with the actual names, and paste the following into the smartlist edit's Import/Export:

   +[People]=[d],[p] [=Compare(listcount([People], ;),=,2)]=1

This finds the files with d and p listed in People AND the count of the People list must be exactly 2.
Logged
The opinions I express represent my own folly.

pgrisham

  • Regular Member
  • World Citizen
  • ***
  • Posts: 140
  • Change this by choosing profile
Re: smartlist tagging help
« Reply #5 on: May 25, 2012, 09:58:58 pm »

Wow...that was awesome...

It worked like a charm.  I really NEEDED the expression to be on one line because I needed to 'AND' a second parameter to only use a particular path.  Using your method allowed me to add the path as an AND statement.  I have been trying every combination of [ and ( between my four lines and it wouldn't work, but with only two lines, yours first and then my 'path rule' second, it was perfect the first time!

Does anyone else wonder why this has to be so hard??? I spent hours today, and hours a year or so ago, working on problems like this that shouldn't be this hard...just for one simple (I thought!) smartlist to show, for example, just pictures of me and my wife.  Don't others find this unbelievably complex?

Again, thanks!  I shudder to think what would be involved to master smartlist expressions.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: smartlist tagging help
« Reply #6 on: May 25, 2012, 10:13:47 pm »

You can create AND and OR statements, and use multiple lines in the wizard.  But the wizard has a tendency to botch the expression when you add a new rule, so either re-enter the AND and OR brackets, or use Import/Export and write the rule directly.

I have not completed the smartlist/search wiki re-write, but there's enough that it should make things clearer (and the cost to you is some feedback to me).  The work-in-progress is here.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up