API, an abbreviation of application program interface, is a set of routines, protocols, and tools for building software applications.When using the search API, we typically used the KeywordQuery or FullTextSqlQuery classes.

learn more… | top users | synonyms

1
vote
0answers
49 views

Sharepoint 2013 Search anonymous REST API query always returns zero results

TLDR version: Is there some trick to using refinementFilters or a result set in an anonymous query to the Sharepoint Search REST API? Whenever I try, I get zero results, even though it returns all ...
2
votes
0answers
44 views

sharepoint search api timezone issue

Sharepoint search api seems to use a different timezone I created 5 new articles with today's date, but they are not appearing in the api search query. I have a search query rule which picks up ...
0
votes
1answer
55 views

Get users filtering Sharepoint search API refinementfilter by month

I need to get all users by refining hire date managed property in this week using SharePoint search APi. I'm tried lots of ways but not succeeded. Please help me on this. What will come in ...
0
votes
0answers
8 views

How to crawl the content type of custom list and page

I want to get all the items using the search api functionality .i have tried with following search url using REST API ...
1
vote
0answers
56 views

How to programmatically use the built in search functionality

How to programmatically use the built in search functionality to get the results and displays in the app part? I have found some jQuery REST search api code and it seems working when I try to add my ...
0
votes
0answers
31 views

Anonymous Rest Search Api 404 - Internet Zone - 2013 On Premise

I'm trying to get the search API working on a new environment anonymously and I'm having issues, hopefully some one will have seen this before. The site is working brilliantly on the default zone, ...
0
votes
0answers
179 views

jquery datatabes deferloading response is of text/html; charset=utf-8 content type instead of JSON

I am using SharePoint Search API to search SharePoint lists and using jquery datatables to display the data. In my code I have set the row limit to 100. So getting the first 100 items/results is fine ...
0
votes
1answer
102 views

CSOM Search takes more time to load than Content Search web part

I am using the code below to retrieve data from different lists, but I see that it is slower than Content Search Web part. The returned rows are the same 28 in total, but it takes more time csom to ...
1
vote
0answers
247 views

how to show all search results using jquery Datatable?

I am searching lists using CSOM Search API and displaying the results using jquery DataTable. My problem at the moment is that my search returns 2134 rows in total, but search api has a limit of 500 ...
0
votes
2answers
101 views

CSOM Search Api error: Unable to get property 'ResultRows' of undefined or null reference

The code below is working fine in my dev machine but the moment I tried to test it on our customer's server, I started getting errors. I started having errors with SP.js. So I used the <script ...
0
votes
1answer
101 views

How to display Search API results like SharePoint OOTB list with filtering, sorting, paging

I would like to display Search API results like OOTB Sharepoint list with filtering at least. Is it possible to use SharePoint javascript libraries to achieve this? If not, is there any ...
1
vote
1answer
160 views

Display CSOM search results like OOTB list with filtering and sorting

I would like to display Search API results like OOTB Sharepoint list with filtering at least. Is it possible to use SharePoint javascript libraries to achieve this? If not, is there any ...
4
votes
1answer
528 views

CSOM Search API does not return all the results

I am having a problem with the code below. It is not returning all the rows/items which are found in different lists. The total number of items is 28, but the code below is returning 19. I have set ...
1
vote
1answer
160 views

Using csom search api, how can I search lists based on content types?

I have multiple subsites and each subsite has a list called "Articles". Each has two content types. "News Articles" and "Success Stories". I would like to search based on the content types above using ...
0
votes
0answers
32 views

SharePoint 2013 Rest API People Search: Return formatting from multi line fields

I am trying to return the formatting of various multi-line fields of the User Profile via the Search API. However, the formatting/line breaks seem to be missing. I assume that the formatting is not ...
0
votes
1answer
33 views

Office graph inconsistency in rquests

If I have a request like myDomain/_api/search/query?Querytext='*'&Properties='GraphQuery:ACTOR(ME\,action\:1001)' retrieve different results that this query ...
0
votes
1answer
57 views

FQL Reference for Querytext Qualifiers Such As Filename

Is there an MSDN / TechNet or other reference for FQL (FAST Query Language) that shows the querytext qualifiers such as filename? For any SharePoint version (2010/2013/2016). For example, this query ...
1
vote
1answer
143 views

Is it possible to exclude certain user views from ViewsLifeTime?

I'm getting the most popular pages in our site collection using the search REST API: _api/search/query?querytext='ContentTypeId:0x010100C568*'&sortlist='ViewsLifeTime:descending' The problem is ...
5
votes
2answers
885 views

CrossListQueryInfo or SPSiteDataQuery equivalent in REST API or CSOM

Is there any equivalent in SharePoint 2013 RESTful API or JavaScript Object Model to either one of the following? CrossListQueryInfo SPSiteDataQuery
0
votes
2answers
405 views

How to search for all subsites title and url using Rest

I have a autocomplete search box when typing in my box I want to display the title of the subsite and also url Here is my search box <div id="searchfield"> <input type="text" ...
0
votes
1answer
95 views

Search API development with refiner language column

I'm currently working on a search driven App in SharePoint 2013 based on JavaScript and some forms. The mission is to get results from the search refinery in real-time for a specific search term. To ...
2
votes
1answer
327 views

Field value is null in SharePoint search REST API result

I have simple search REST GET query as below : https://<site url>/_api/search/query?querytext='research'&selectproperties='Title,Author,Created,ContentTypeId' The search result XML ...
1
vote
1answer
252 views

How to use search REST api to get custom managed property data for anonymous user

i am trying build a public portal with anonymous access and i am trying to read some content from custom managed property using search REST api in sharepoint 2013. I have tried to enable all possible ...
2
votes
1answer
436 views

Search REST API call not working for anonymous

I'm trying to execute the following query for anonymous users. But, its not getting any results. When login, its working fine. Any idea about this ? /_api/search/query?QueryText='Category: "About ...
0
votes
2answers
824 views

Getting all sites for user with permissions

I'm trying to get all sites for a user on which he has permissions. For this I'm using the search api. In a for-loop from 0 to totalRows. This is my request url: ...
0
votes
1answer
85 views

How to get raw text with search api

I'm trying to do a search using the search api to get some of my pages: ...
0
votes
0answers
543 views

Trying to use the Search API in .NET but I doesnt seem to work

What I am trying to do is to Get all sites from the search API. This REST API url works perfect: ...
1
vote
1answer
413 views

RefinementResults not showing using Search 2013 API with anonymous connection

First of all, I do get results even with selectproperties but RefinementResults give me a null value. Does anyone have a solution for it? Url used is: ...
1
vote
5answers
3k views

Get all users filtering by custom property using sharepoint search api

I need get all users with a custom property using sharepoint search api, this custom property already mapped in sharepoint. I'm using this url, and this retrieves all users ...
1
vote
0answers
88 views

Managed Property name from site column name

Is there a function of SharePoint API that gets as input a name of a site column and returns the name of the corresponding ManagedProperty?
1
vote
1answer
526 views

Modifying the contents/template of the sharepoint Search alert mail?

I'm doing some RND on SharePoint search alert! I'm looking on how to modify the SharePoint search alerts mail. as in the Daily Alert Summary. Is there anyone who knows to do this? Please note I'm ...
2
votes
0answers
249 views

Has the search alert API in SharePoint 2013 changed from the 2010 and Preview 2013?

I previously developed a Visual web part to programmatic-ally create Search alerts based on the user input. I used a text box to capture the text and create a Query using the Keyword Query Class. Then ...
1
vote
1answer
823 views

Error 401 after idle time then AJAX request however still returns results

I have a ashx handler in "_layouts/ihandler/.." in which I make AJAX requests for an in page search. If my page stands still for to long the requests change from 200 to 401 return status, this is ...