John Bowyer
John Bowyer

Reputation: 1493

$Search not working in odata web api 2

I am unable to determine how to get $search parameter to work for full text search in odata.

The following url indicates that it should be included in 6.1 http://blogs.msdn.com/b/odatateam/archive/2014/03/21/odata-6-1-and-odata-client-6-1-are-now-shipped.aspx

I have created a sample application using the following template http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api/odata-v4/create-an-odata-v4-endpoint

When I execute the odata query http://localhost:53621/odata/PartnerMaster?%24format=json&%24top=100&%24orderby=PartnerName&%24search=Test

I receive the error message. message=The query parameter '$search' is not supported

Upvotes: 1

Views: 1987

Answers (1)

Related Questions