JSON File

For a JSON data source, Site Search indexes records in a JSON file when you create the data source. There is no periodic re-indexing of the file. At need, you can upload the records again. For more information, see CSV and JSON data sources.

To index a JSON file
  1. In the Site Search menu, click Add new data source, and then click JSON. If you are adding the first data source, just click JSON.

  2. Specify information on the Configuration tab (configuration information for the crawler that indexes the data source):

    Setting Description

    Upload a File

    Click in the Select a local file text box or click Upload, browse to a local JSON file, and then select the file. Alternatively, click Upload and select the file.

    The maximum file size is 50 MB. JSON data sources don’t index files that exceed 50 MB.

  3. Click Save and Index.

    While Site Search is crawling a data source, it displays its activity (the number of documents it has indexed) in the lower left corner of the page:

    Activity

    Tip
    You might need to refresh the page in the browser to see all of the documents that were found in the crawl.