Sitecore OrderCloud Documentation

docs

Portal login

Introducing Premium Search

Published by Todd Menier on April 29, 2019

Premium Search is the next evolution in search technology offered by the OrderCloud platform, powered by Elasticsearch.

What are the advantages?

  1. Performance. For large data sets in particular, the observable speed and responsiveness of end-user apps is significant.

  2. Better search results. Out of the box you'll get word stemming (plural inference, etc.), synonyms, and intelligent ranking. Overall, it's much more natural-language, Google-like search experience than previously.

  3. New metadata useful in building faceted navigation.

  4. xp (extended property) fields are searchable, including with wildcard specifiers, such as searchon=xp.foo.*.

  5. Sort on any field, including xp fields.

  6. Filter on multiple fields with logical "OR", i.e. Name|ID|xp.SKU=value

  7. No need to create xp "indexes" explicitly. All xp fields are searchable/sortable/filterable automatically.

What areas of the API does this affect?

Premium Search is currently available in buyer-side product lists, i.e. me/products, seller-side products (endpoints under /products), as well as /orders endpoints.

Is there an add-on cost?

No. We're treating this as an enhancement to the core platform like any other. The only difference is we're rolling it out gradually, client by client.

Is this a breaking change?

No. Yes. Sorta?

It is non-breaking in the sense that all documented endpoints and parameters still work and generally function as they did before. The one behavioral change that you'll need to be aware of is that search results will be different in many cases. Since Premium Search favors natural-language semantics over exact character sequence matches, this could impact how some apps behave. For example, without Premium Search, searching on "eats" will return results containing "beats", but not "eat". With Premium Search, it's just the opposite. If you require exact character sequence matching, you may need to change your app from using a "search" parameter to instead use wildcard filters. Just keep in mind that you might be sacrificing performance gains, particularly if your filter starts with a wildcard. We recommend favoring search, or at least filters that don't start with a wildcard, whenever possible.

Is this an experimental beta feature?

No. We began rolling it out to individual beta clients in mid-2018 and we are at a point where nearly all of the largest customers and catalogs on OrderCloud are Premium Search-enabled in production. It is "battle-tested", and in the coming weeks we plan to enable it for everyone by default.

Got more questions about Premium Search?

Join the discussion on Slack in our OrderCloud Developer Community.


Still have questions?
Ask in our Community Channel

Content Powered By
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore