Devashish Tyagi • almost 12 years ago
Sciverse Search not working from my app _ Urgent!!
I have trying to search sciverse content from my app and then display its contents in my applcaition window. But its not working. I even tried sample code meantioned in one of the blog posted by one of the developers. But that code ain't working either. I need help help on this topic urgently!!
Comments are closed.
5 comments
remko caprio • almost 12 years ago
Hi Devashish,
your name was not yet included in the registrations of the Apps For Science contest, I added the permissions that you need to access the content and which is associated with the contest. My assumptions is that this caused your problem.
Can you try again and let me know. If you still have a problem, please provide me with some details of your error, e.g. HTTP error code and message, which API/URL you are trying to access, and ideally if you can send me your application name as you created it on the SciVerse platform.
PS Are you trying to run your app offline in the Eclipse SDK or online via My Projects menu at applications.sciverse.com? If you run your app offline in the Eclipse SDK you will not receive the necessary authToken which you get from the SciVerse server, as you run it offline, so for testing please use the online option only.
Devashish Tyagi • almost 12 years ago
I tried again my appication once again but the problem still persists. The problem is on clicking search no results are being displayed. The name of my application is NutriMap. I am trying to access the content API of sciverse. I am trying to get results from sciverse and display them in my gadget window.
remko caprio • almost 12 years ago
Are you using a debugger? You can then see what the response object is. Do you get any HTTP errors? An overview of debugger you can find here: http://bit.ly/oApez6
I will check your app myself also to see what the problem is in the meantime.
Devashish Tyagi • almost 12 years ago
Can you help me with one more thing? Can you tell me how can I refine the results of the hub from my application itself?
remko caprio • almost 12 years ago
Hi Devashish,
You can refine your search query by adding search terms, e.g.by using the Standard Boolean Model
http://developer.sciverse.com/sciversecontentapisearchrequest#searchURLParameters
and rerun the search query.
Also you can add parameters as is described in the link here.
/content/search/index:{cluster}?query={searchTerms}&[{param}=[paramValue]&
etc.