Author Topic: Sorting in search results not working  (Read 4124 times)

Offline srphoto1

  • Newcomer
  • *
  • Posts: 10
    • View Profile
Sorting in search results not working
« on: June 04, 2020, 08:21:40 AM »
Hi,

I've got 3 catalogs, one per archive drive, totalling around 1 million images. When I do a search that returns images from all 3 catalogs I cannot sort them. It doesn't matter what I choose from the sort drop-down, they are always mixed up in a seemingly random order. Sorting in the browse tab works fine.

I re-indexed all 3 catalogs after the last beta update.

Simon

Offline srphoto1

  • Newcomer
  • *
  • Posts: 10
    • View Profile
Re: Sorting in search results not working
« Reply #1 on: June 04, 2020, 08:27:51 AM »
OK, I've noticed a pattern - I have drives setup as follows - #1 contains images from 2001-2014, #2 contains 2015-2019 and #3 contains 2020.

If I search across all 3 drives I get images in this kind of order : 2008, 2020, 2015, 2008, 2020, 2015, 2008, 2020, 2016 etc.

So it seems to showing images from Catalog#1, Catalog#3, Catalog#2..., 1, 3, 2, etc

Simon

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Sorting in search results not working
« Reply #2 on: June 04, 2020, 08:45:26 AM »
OK, I've noticed a pattern - I have drives setup as follows - #1 contains images from 2001-2014, #2 contains 2015-2019 and #3 contains 2020.

If I search across all 3 drives I get images in this kind of order : 2008, 2020, 2015, 2008, 2020, 2015, 2008, 2020, 2016 etc.

So it seems to showing images from Catalog#1, Catalog#3, Catalog#2..., 1, 3, 2, etc

Yes, they're interleaved.  We will likely add the ability to do a final sort when all of the results arrive.  But the sort will take time to complete since all of the metadata does not yet exist in PM.  Sorting is currently only 'correct' when you're working with one catalog.

-Kirk

Offline srphoto1

  • Newcomer
  • *
  • Posts: 10
    • View Profile
Re: Sorting in search results not working
« Reply #3 on: June 08, 2020, 06:53:47 AM »
Hmm, OK that's good to know. Obviously the current situation is not ideal. If the interface is giving you the option to sort then they should actually be sorted! The current functionality is pretty much useless with a large set of search results. I'm happy to wait for the sort to happen - hopefully you can add this soon :-)

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Sorting in search results not working
« Reply #4 on: June 08, 2020, 08:06:13 AM »
Hmm, OK that's good to know. Obviously the current situation is not ideal. If the interface is giving you the option to sort then they should actually be sorted! The current functionality is pretty much useless with a large set of search results. I'm happy to wait for the sort to happen - hopefully you can add this soon :-)

It's on our list.  Do understand that if you have search results that number in the thousands, tens of thousands, or even a million, the local sort could take a significant amount of time.  It could take an hour or more to get all of the metadata in order to perform a perfect sort across multiple catalogs.

-Kirk

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Sorting in search results not working
« Reply #5 on: June 19, 2020, 01:01:25 PM »
This issue should be solved with the beta 19 version of Photo Mechanic Plus.

-Kirk

Offline srphoto1

  • Newcomer
  • *
  • Posts: 10
    • View Profile
Re: Sorting in search results not working
« Reply #6 on: June 22, 2020, 08:42:14 AM »
Working great! Thanks!