Sharepoint-Search does not search the whole documents.

Chris Degrand 20 Zuverlässigkeitspunkte
2025-04-28T08:44:19.3233333+00:00

Hello,

We have some Excel-Files that have around 5 sheets of 900 rows each with 10 columns.

When searching on Sharepoint for the files using their content (so using various entries), the files are only found when using data from roughly the first 1700 lines.

When converting the sheets to .csv first and then importing them as data, the search does work for all data.

Is there a limit to how deep Sharepoint searches into a document? Or is this some kind of indexing error?

Microsoft 365 und Office | SharePoint | Geschäftlich | Fenster
{count} Stimmen

Akzeptierte Antwort
  1. Anonym
    2025-05-01T04:14:52.2+00:00

    Hi @Chris Degrand ,

    Good day! Welcome to Q&A forum.

    This is a known limitation in SharePoint search where Excel files may not be fully indexed beyond a certain point. Here's how to address it:

    Root Causes:

    1. Default Row Limit: SharePoint has a default limit on how many rows it indexes from Excel files
    2. File Size Limitations: Very large Excel files may not be fully processed

    Solutions

    1. Adjust Excel Indexing Settings

    # PowerShell to increase the row limit (default is 512)

    $searchApp = Get-SPEnterpriseSearchServiceApplication

    $searchApp.SetProperty("ExcelNumberOfRowsToIndex", 5000) # Set your desired value

    $searchApp.Update()

    2. Modify File Size Limits

    # Increase the maximum file size for indexing (default is ~16MB)

    $searchApp = Get-SPEnterpriseSearchServiceApplication

    $searchApp.MaxDownloadSize = 52428800 # 50MB in bytes

    $searchApp.Update()

    3. Full Crawl Required

    After making these changes, you must perform a full crawl:

    1. Go to Central Administration > Search Service Application
    2. Navigate to "Content Sources"
    3. Start a full crawl

    Hope these information helps.

    Please do let us know if you have any further queries.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 zusätzliche Antworten

Sortieren nach: Am hilfreichsten

Ihre Antwort

Fragesteller*innen können Antworten als akzeptierte Antworten markiert werden, wodurch Benutzer*innen wissen, dass diese Antwort das Problem gelöst hat.