11-16-2010 05:34 PM
Hi there,
I see the findVideosByText and findVideosByTags methods. How does findVideosByText work in terms of its search algorithm and which BrightCove data fields are searched?
I'd really like to be able to offer a single Search function that finds videos based on Description & Tags using keywords that form an AND type of query. I see findVideosByTags will (at least I can guess as much) handle the Tags part but not the Description.
Thanks for any info you can provide.
Sven
11-17-2010 08:49 AM
Taken from the JSON media api docs http://docs.brightcove.com/en/media/#Video_Read, "Searches through all the videos in this account, and returns a collection of videos whose name, short description, or long description contain a match for the specified text. Unlike some other Read methods, this method does not provide parameters for sorting the result set. The result set is sorted by relevance. Consider using the search_videos method, which offers more flexible search and sorting options. This method returns substring matches; thus if your search string is "war" the result set will include results such as "warrier", "warfare", and "warbler."". Hope this helps.
11-24-2010 04:01 PM
The search_videos method, as you have described, sounds like it would work.
I am using the iOS 2.0.0 library and it does not appear that a facade method to access this call has been provided for. Do you think this omission can be fixed and if so can you please provide an ETA?
Thx
11-29-2010 03:42 PM
Yikes! Yeah it is missing. I'm not sure what an eta would be, I'll communicate this to the team. If I get an eta I'll post it here. You could use the SBJSON libraries included to make the call directly if you need the method for something now.
11-29-2010 03:52 PM
OK great I'll look into going the JSON route for now then. Please do let me know if/when an enhancement is made to take care of this. Thx.
11-29-2010 03:52 PM
p.s. it's a missing method in the Android libraries as well.
11-29-2010 03:54 PM
Yeah I guessed as much, the android library is a port of the obj c one. Thanks for finding that issue!
01-19-2011 01:23 PM
Are there any news on this? I am using find video by text for now but the results are lets just say "interesting" sometimes.
manfred
01-28-2011 09:22 AM
Currently those changes are not hight on our backlog unfortunately. I'll let you know if this changes.
01-29-2011 01:02 AM
The findByText method works ok for us for now. But it would be great to get the search method wrapped as well. As I said before... if your library were open source I could look into implementing it..
Brightcove Inc., a leading global provider of cloud content services, provides a family of products used to publish and distribute the world's professional digital media. The company's products include Brightcove Video Cloud, the market-leading online video platform, and Brightcove App Cloud, the pioneering content app platform. Together, more than 4,200 customers in 50 countries rely on Brightcove's cloud content services to build and operate exceptional media experiences across PCs, smartphones, tablets and connected TVs.
Brightcove Inc.
© 2012 Brightcove Inc.
