Azure Search Provider

  0 rating
2/17/2016 2:26:02 AM
8/15/2016 11:36:23 AM
Source: GitHub
Provider: GitHub - Wiki

About

A new search provider to use in place of the default Lucene search provider in Sitecore 8.1 for custom indexes. 

This provider uses Azure Search, which is a cloud based search provider, as opposed to the file based, Lucene search provider.

See the GitHub repo for more information and known issues.

Documentation

Documentation
Back
Release notes
0.9.3 Preview Release. Includes a missing required assembly.
0.9.2 Preview Release.  This includes various fixes and many enhancements to align with the default search provider.  Please see the GitHub Repo for more details.
0.9.1 Beta Release.  Fixed issue with deletes and with indexing items with multiple versions. Also updated open source license to MIT license.
0.9 Beta Release.  See GitHub Repo for current status.
Read more Back
Code examples
  • Code examples > Searching against new index:
    Searching against new index:
    using (var context = ContentSearchManager.GetIndex("azure-sitecore-master-index").CreateSearchContext())
    {

    var predicate = PredicateBuilder.True<AzureSearchResultItem>();

    predicate = predicate.And(s => s.Language == "en");

    predicate = predicate.Or(s => s.Language == "da");

    var queryable = context.GetQueryable<AzureSearchResultItem>();

            queryable = queryable.Where(predicate);

    var results = queryable.OrderBy(s => s.Name).Take(10).GetResults();

    }
    1

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File