Wednesday, November 17, 2010 12:12 PM
What are the ways to access SP index from APIs (so from users computer)? I used Search Service (http://.../_vti_bin/search.asmx ) it only gives first 10 results from keyword query.
Tnx in advance
Wednesday, November 17, 2010 12:42 PMYou can use: <Range><Count>300</Count></Range> to get more results, otherwise you can use the ClientObjectModel to find items you need (depending on where the items are; cause things like the CrossListDataQuery has some downsides.
- Marked As Answer by Wayne Fan Friday, November 26, 2010 7:38 AM
Monday, November 22, 2010 12:11 PM
Yes, thanks for range thing.
But how can I with ClientObjectModel go above the web?
Monday, November 22, 2010 12:17 PM
You mean an SPSite object? (you can do that with:
SPSite site =
);) Otherwise you can still use the Search Service from withing the Client Object Model.
Monday, November 22, 2010 1:08 PM
OK I am a little confused my self. So, I have to create some APP that will find info for given SharePoint (document, users...). If I use COM i can only go to Site Collection or SPSite. WBut I can not go up (to Web App, Server, SP Farm). These services are shared between all web app.
So my question is what is the best way to find this info (for example document info's)?
Friday, November 26, 2010 7:38 AM
Thanks for your post.
I think Appie has answered your first question. And now, your last reply is another question, i suggest you to create a new thread for you last reply, Thanks.