volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Ordering Search Result

Hi All,

Does somebody know - how to order search results by string property ignoring case?

#74539
Aug 30, 2013 15:10
Vote:

I don't think there's currently any way to do that (ignoring case) using the .NET API, although it certainly would be possible using the REST API (meaning it's a very reasonable feature request).

For now the easiest way would be to mold your index a little bit to include an additional field with the value of the property already lower cased. In other words, add a property to your class(es) with the value as lowercase, or include an extension method, and then sort by that.

#74551
Sep 01, 2013 1:24
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.