Photo Gallery and the indexing of tags

Discussion in 'Windows Vista Music, Pictures and Video' started by Sean McLeod, Jun 7, 2006.

  1. Sean McLeod

    Sean McLeod Guest

    Hi

    I created a new tag in Photo Gallery and assigned it to a couple of images.
    I could immediately then query, sort and group images based on this tag
    inside the Photo Gallery application.

    However it took quite a few hours, probably 5-6 hours before I could query
    based on this new tag using the generic search interface launched via the
    'Start->Search the Index' UI.

    I've posted a separate question about how to make the Windows Search indexer
    more aggressive in terms of picking up file changes and indexing them in the
    'file_management' newsgroup.

    However I was assuming that Photo Gallery was itself querying the same index
    as the generic seach UI launched from the Start menu was. Is this not the
    case? Does Photo Gallery maintain it's own index over and above the Windows
    Search index? Or does it supplement it's searches with manual scans through
    the images in addition to using the Windows Search index?

    Cheers
     
    Sean McLeod, Jun 7, 2006
    #1
    1. Advertisements

  2. Indeed, the Photo Gallery does maintain its own index. We did this for
    scenarios exactly like this. Anything you tag should be searchable
    immediately in the gallery.

    5-6 hours for the shell seems rather lengthy for the Windows Search indexer
    to catch-up. Did you just add a bunch of files to the system? If the
    indexer is backed-up it could take a while to get through everything but
    typically a metadata change on 1 file should be caught rather instantly.

    I'll play with this a bit and see what type of numbers I get on recent
    builds. If you have any more details about what they system was doing it
    may be helpful in reproducing the issue.

    Thanks!
    John Thornton
    Program Manager - Vista Photos Imaging and eXperience

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    John Thornton [MSFT], Jun 8, 2006
    #2
    1. Advertisements

  3. Sean McLeod

    Sean McLeod Guest

    Thanks for the response.

    I think the indexer on my system is on a go slow strike. The last time I
    added a bunch of files was a couple of days before. I posted a query about
    this in the vista.file_management newsgroup but no replies yet. I decided to
    then rebuild the index and it's rebuilding really really really slowly. I
    had about 80,000 items in the index before, mostly emails and it's taken
    12hrs without the PC being under much user usage to index 5,000 items.

    In WDS for XP you could tell the indexer to index "now" without waiting for
    idle time but I can't find a similar option in Vista.

    You guys on the Vista Photos Imaging and eXperience team have been really
    responsive so far to my queries here in this newsgroup. Please prod the guys
    in the Windows Search/indexing team to take a look every now and then at the
    vista.file_management newsgroup.

    Cheers
     
    Sean McLeod, Jun 8, 2006
    #3
  4. Sean McLeod

    Sean McLeod Guest

    Instead of maintaining your own index could you not have some synchronous
    API call to the main Windows Search indexing service to get it to perform an
    immediate index of the file that the user adds a tag to in Photo Gallery?

    One less index and associated code to maintain etc. And this separate index
    may explain the difference in query abilities/syntax in the Photo Gallery
    versus regular Windows Search UI, see my other post - "Photo Gallery's
    search box not consistent with regular Windows Search".

    Cheers
     
    Sean McLeod, Jun 9, 2006
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.