HomeBlogComparison

Elasticsearch vs SharePoint Search: When Does a Second Search Index Pay Off?

A white robot with a black visor sorts cards on a central bulletin board ringed by miniature team rooms

If your documents live in SharePoint and your staff search from SharePoint or Outlook, use the search Microsoft already runs over them and do not add Elasticsearch. Add Elasticsearch only when you are building your own search application that has to query SharePoint together with other systems in one index you control, and accept that its SharePoint Online connector is self-managed, needs an Elastic subscription, and does not carry SharePoint permissions over unless you turn on document-level security.

That rule holds for most companies of 10 to 250 people because the two are not the same kind of product. SharePoint search is part of Microsoft 365: Microsoft builds and maintains the index, and users "only see results that they already have access to" (Microsoft Learn). Elasticsearch is a search engine you, or a developer, run and feed. The question is who should own a second copy of your content.

Who builds the index, who trims results, who pays: the two engines compared

QuestionSharePoint search (Microsoft Search)Elasticsearch with Elastic's SharePoint Online connector
Who builds the indexMicrosoft, automatically, inside Microsoft 365You: a connector syncs content into an Elasticsearch index on a schedule, with full and incremental syncs
PermissionsResults are trimmed to what each user can open; search "doesn't change permissions""Permissions are not synced by default"; enable document-level security (DLS) and run access control syncs to trim results
Sign-in to SharePointNot needed; it is the same tenantAn Entra ID app with application permissions and a certificate; Sites.Read.All if it enumerates every site, or Sites.Selected for named sites
Large filesIndexed as part of the serviceContent from files over 10 MB is not extracted by default; Elastic's local extraction service handles larger files
Other sources in the same resultsMicrosoft 365 Copilot connectors bring outside content into the Microsoft index; indexing synced connector data has no extra cost for tenants with Microsoft 365 licensesAny source you can feed into Elasticsearch, through Elastic's other connectors or your own code
Where users searchThe search box in Microsoft 365 apps such as SharePoint and Outlook, and on the Microsoft 365 home pageThe application you build on top of the index
Cost to runIncluded with the Microsoft 365 licenses you already pay forRequires an Elastic subscription; Elastic lists the tier on its subscriptions page, so no Elastic price is given here

Sources: Microsoft Search overview, Copilot connector prerequisites, Copilot connectors overview and Elastic's SharePoint Online connector reference, read December 2, 2026.

What Elastic's connector asks of your Microsoft 365 tenant

Elastic documents the setup step by step, and the steps are the cost an IT lead should weigh (Elastic):

  • An app registration with broad Graph rights. The connector uses application permissions only, not delegated ones. To build DLS it also needs Groups.Read.All and User.Read.All, which Elastic describes as "all or nothing" because Graph cannot narrow them.
  • A certificate, not a secret. Elastic's page notes the Azure ACS retirement: tenants created after November 1, 2024 must use certificates, and older ones had to move to certificates by April 2, 2026. That matches Microsoft's own notice that ACS stopped working for SharePoint Online on that date (Microsoft Learn).
  • A sync schedule someone watches. Elastic warns that incremental syncs do not remove documents that a changed sync rule now excludes; only a full sync does. A permission change that should hide a file is only as fresh as your last access control sync.

The connector itself prefers Microsoft Graph and falls back to the SharePoint REST API only when an entity is not available in Graph, which is the same order Microsoft recommends (Microsoft Learn). Our SharePoint REST API vs Graph API page explains why.

A worked decision: who owns the second index?

Illustrative. A 90-person distributor keeps contracts and spec sheets in SharePoint and its product catalog in an ERP database. Sales wants one search box that finds a part number in both.

  1. Ownership. Microsoft's route keeps one index that Microsoft runs: an AI administrator sets up a Copilot connector for the catalog in the Microsoft 365 admin center, and catalog items show up in Microsoft Search beside SharePoint files, each labeled with its source (Microsoft Learn, Microsoft Learn). The Elasticsearch route creates a second index that the firm or its developer patches, monitors and pays for.
  2. Navigation. With a Copilot connector, staff keep searching where they already work. With Elasticsearch, they go to a new search page someone has to build and maintain.
  3. Access. Microsoft trims SharePoint results by the user's own permissions and enforces the access control list each connector item carries. Elasticsearch trims only if DLS is on and access control syncs run.

For this firm the Copilot connector wins. What would change it: a customer-facing portal that must search public spec sheets for people with no Microsoft 365 account; a product team that already runs Elasticsearch for the company website and wants to add a handful of public SharePoint libraries; or search features Microsoft Search does not support, such as custom sort orders and metadata refiners, which Microsoft says the modern experience does not offer (Microsoft Learn).

SharePoint vs Elasticsearch: can one replace the other?

No. People who type "sharepoint vs elasticsearch" are sometimes asking whether Elasticsearch could replace SharePoint, and it cannot: Elasticsearch stores an index of content, not the documents, versions, permissions and libraries that staff edit. SharePoint without Elasticsearch is a complete system; Elasticsearch without a content system has nothing to search. If the real question is where files should live, start with SharePoint alternatives for small business. If the question is why staff cannot find things, the cause is usually site structure and permissions, not the engine; SharePoint intranet examples and Microsoft Search vs SharePoint Search show what to fix first.

Before you fund a second index, Plan my SharePoint intranet with us: we will check whether bookmarks, site structure or a connector already solves the search problem you have.

More on this topic: SharePoint and intranets guides.

Frequently asked questions

Elasticsearch vs SharePoint search: which respects SharePoint permissions?

SharePoint search does by design: users only see results they already have access to. Elastic's connector does only when document-level security is enabled and access control syncs run; Elastic's documentation says permissions are not synced by default.

Is Elastic's SharePoint Online connector free?

Elastic's documentation says the connector requires a subscription and points to its Elastic Stack subscriptions page for the tier. It is also self-managed, so you host and operate it.

Can Microsoft Search include content from outside Microsoft 365?

Yes, through Microsoft 365 Copilot connectors. Microsoft says indexing of synced connector data incurs no extra cost for tenants with Microsoft 365 licenses, and an AI administrator configures connectors in the Microsoft 365 admin center.

Does SharePoint search work on files larger than 10 MB?

The 10 MB figure is Elastic's: its connector does not extract content from files over 10 MB by default. It is not a SharePoint search limit, so test large PDFs in whichever engine you choose.

Sources

SharePoint Intranet Consulting

Discuss SharePoint Intranet Consulting for your business.

Tell us about your current systems, the result you need and your timeline. We will discuss the work, responsibilities and pricing before you decide on an engagement.

Explore SharePoint Intranet Consulting 845-203-3914