Click here to get back home

MSN Desktop Search query API based iTunes music browser

 HomeNewsGroups | Search | About
 microsoft.public.msn.search    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
MSN Desktop Search query API based iTunes music browser Sean McLeod 07-06-2005
Posted by Sean McLeod on July 6, 2005, 8:34 pm
Please log in for more thread options


Hi

If you're interested in an application making use of the new query API that
the latest version of MSN Desktop Search supports take a look at the app I
knocked up.

http://spaces.msn.com/members/seanmcleod/Blog/cns!1pC_K0hKOTPOd-hSoTxSOeeQ!114.entry

http://www.codeproject.com/useritems/MSNDesktopSearchQueryAPI.asp

Cheers




Posted by Steven Ickman [MSFT] on July 8, 2005, 10:25 pm
Please log in for more thread options


Awsome job Sean!

You may not have noticed but we just posted an updated SDK containing
pre-built interop assemblies along with a .NET sample. Not that you
apparently need them. :)

http://addins.msn.com/support/WDSSDK.zip
http://addins.msn.com/support/WDSSample.zip

I also posted some additional comments about using the new API's on my blog:


http://spaces.msn.com/members/wdstech/Blog/cns!1p0tYOH23YIjQaVyUIcoDDIA!146.entry

Be sure and post back here if you end up building a Media Center add-in.
I'd love to check it out. Again, great work!

-Steve



Posted by Sean McLeod on July 11, 2005, 3:31 pm
Please log in for more thread options


I've updated my CodeProject article to mention the updated SDK and added a
link to your blog posting for more details. If I get a Media Center version
running I'll definitely post back here.

A couple of questions:

1. Is there a better way to get a list of distinct/unique categories like
MusicGenre than the method I used?

2. Are new columns added to the index if an IFilter component is added that
returns new properties that currently aren't in the current list of columns?
For example if I install an image IFilter that indexes additional EXIF
and/or IPTC properties will these automatically show up as additional
columns that can be queried on and returned in the resultset?

Cheers


> Awsome job Sean!
>
> You may not have noticed but we just posted an updated SDK containing
> pre-built interop assemblies along with a .NET sample. Not that you
> apparently need them. :)
>
> http://addins.msn.com/support/WDSSDK.zip
> http://addins.msn.com/support/WDSSample.zip
>
> I also posted some additional comments about using the new API's on my
> blog:
>
>
http://spaces.msn.com/members/wdstech/Blog/cns!1p0tYOH23YIjQaVyUIcoDDIA!146.entry
>
> Be sure and post back here if you end up building a Media Center add-in.
> I'd love to check it out. Again, great work!
>
> -Steve
>




Posted by Steven Ickman [MSFT] on July 12, 2005, 4:47 am
Please log in for more thread options


Hey Sean,

I saw the update...

To answer your questions:

1. Not at this time. It's already came up as a feature request though.

2. Yes, I'm 95% certain new columns get added to the index as the crawler
encounters them. My 5% uncertainty comes from the fact that I know the
indexer supports this capability but we may have it disabled. No matter
what, I can tell you with 100% certainty that the UI will not detect these
new columns. The UI is currently driven by a schema that works independantly
of the indexer so it can only surface known columns. It's also worth noting
that since I don't think this is an advertised feature it may stop working at
anytime.

-Steve

"Sean McLeod" wrote:

> I've updated my CodeProject article to mention the updated SDK and added a
> link to your blog posting for more details. If I get a Media Center version
> running I'll definitely post back here.
>
> A couple of questions:
>
> 1. Is there a better way to get a list of distinct/unique categories like
> MusicGenre than the method I used?
>
> 2. Are new columns added to the index if an IFilter component is added that
> returns new properties that currently aren't in the current list of columns?
> For example if I install an image IFilter that indexes additional EXIF
> and/or IPTC properties will these automatically show up as additional
> columns that can be queried on and returned in the resultset?
>
> Cheers
>
>
> > Awsome job Sean!
> >
> > You may not have noticed but we just posted an updated SDK containing
> > pre-built interop assemblies along with a .NET sample. Not that you
> > apparently need them. :)
> >
> > http://addins.msn.com/support/WDSSDK.zip
> > http://addins.msn.com/support/WDSSample.zip
> >
> > I also posted some additional comments about using the new API's on my
> > blog:
> >
> >
http://spaces.msn.com/members/wdstech/Blog/cns!1p0tYOH23YIjQaVyUIcoDDIA!146.entry
> >
> > Be sure and post back here if you end up building a Media Center add-in.
> > I'd love to check it out. Again, great work!
> >
> > -Steve
> >
>
>
>


Posted by Steven Ickman [MSFT] on July 12, 2005, 5:19 am
Please log in for more thread options


Sean,

I looked a little closer at your implementation and one comment I'd make is
that you're probably running more queries then you need to in your OnLoad()
method. The query for LoadGenres() is going to return every music item you
have and the OleDbDataAdapter.Fill() method is going to touch everyone of
those items as it selectively copies values into your DataSet. That means
any additional queries are wasted cycles.

If you were ok with keeping some stuff in memory you could probably work out
a way to build all of your Genre, Artist, and Album info using a single query
and then re-query for album tracks as needed. Just a thought...

-Steve

"Steven Ickman [MSFT]" wrote:

> Hey Sean,
>
> I saw the update...
>
> To answer your questions:
>
> 1. Not at this time. It's already came up as a feature request though.
>
> 2. Yes, I'm 95% certain new columns get added to the index as the crawler
> encounters them. My 5% uncertainty comes from the fact that I know the
> indexer supports this capability but we may have it disabled. No matter
> what, I can tell you with 100% certainty that the UI will not detect these
> new columns. The UI is currently driven by a schema that works independantly
> of the indexer so it can only surface known columns. It's also worth noting
> that since I don't think this is an advertised feature it may stop working at
> anytime.
>
> -Steve
>
> "Sean McLeod" wrote:
>
> > I've updated my CodeProject article to mention the updated SDK and added a
> > link to your blog posting for more details. If I get a Media Center version
> > running I'll definitely post back here.
> >
> > A couple of questions:
> >
> > 1. Is there a better way to get a list of distinct/unique categories like
> > MusicGenre than the method I used?
> >
> > 2. Are new columns added to the index if an IFilter component is added that
> > returns new properties that currently aren't in the current list of columns?
> > For example if I install an image IFilter that indexes additional EXIF
> > and/or IPTC properties will these automatically show up as additional
> > columns that can be queried on and returned in the resultset?
> >
> > Cheers
> >
> >
> > > Awsome job Sean!
> > >
> > > You may not have noticed but we just posted an updated SDK containing
> > > pre-built interop assemblies along with a .NET sample. Not that you
> > > apparently need them. :)
> > >
> > > http://addins.msn.com/support/WDSSDK.zip
> > > http://addins.msn.com/support/WDSSample.zip
> > >
> > > I also posted some additional comments about using the new API's on my
> > > blog:
> > >
> > >
http://spaces.msn.com/members/wdstech/Blog/cns!1p0tYOH23YIjQaVyUIcoDDIA!146.entry
> > >
> > > Be sure and post back here if you end up building a Media Center add-in.
> > > I'd love to check it out. Again, great work!
> > >
> > > -Steve
> > >
> >
> >
> >


Similar ThreadsPosted
(Half OT) - MSN Music Store, C# integration October 8, 2005, 9:27 am
WDS Search Query question January 4, 2006, 3:39 pm
able to play video/music on preview pane May 31, 2005, 12:07 am
Browser history on new tab June 10, 2005, 8:44 am
Tabbed browser doesn't work July 23, 2005, 11:34 pm
Two questions re tabbed browser October 25, 2005, 1:51 am
Solution for indexing browser cache history July 15, 2005, 11:02 pm
API Query question August 18, 2005, 5:26 pm
Query Result Question August 19, 2005, 10:21 am
Nothing found in All locations for query ... February 8, 2006, 11:38 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap