AnsweredAssumed Answered

Searching by API

Question asked by srowsell on May 23, 2014
Latest reply on May 29, 2014 by srowsell
I'm trying to find the best way to do a search of the repository, returning the result set in some form (preferably JSON), ideally using something like SQL to form the query.  Most of what I've been doing so far have just been Lucene searches in javascript, and while those were fine for some applications I need to be a little more fine-tuned in my queries.  Some examples, especially showing how to handle custom properties, would be fantastic.

In a similar vein I did some digging (using Firebug) and found a link like this:


and that does more or less return what I want it to return.  Some of the name=value pairs in the query string don't work as I would expect them to work; I don't know what the "site" or "sort" values should be to do anything, as the values I've put into them (such as known values for sites for the "site", or "asc" for "sort") don't have any effect on the result set.  Is there a resource to look at what these search properties are supposed to mean?

Thanks muchly,