Modifying Hidden Google Drive for Work Source Parameters
The following list describes the advanced hidden parameters available with Google Drive for Work sources. The parameter type (integer, string, etc.) appears between parentheses following the parameter name.
-
IgnoreLinkRequiredPermissions (Boolean) CES 7.0.8225.5+ (Mars 2016)
-
Whether to ignore permissions with a required link on the documents. The default value is true.
Notes:
-
Permissions requiring links are either "Anyone with the link" or "Anyone at <domain> with the link" (see Share Google Drive files and folders).
-
By default, in a Coveo search page, end-users cannot find Google Drive documents in search results with either the "Anyone with the link" or "Anyone at <domain> with the link" permissions.
-
-
The number of refresh threads used by the crawler for this source. The default value is 8.
-
ResultsPerPage (Integer) CES 7.0.6684+ (May 2014)
-
Number of results to fetch per request made to Google Drive. The default value is 100. The minimum value is 1 and the maximum value is 1000. A small value (not recommended) forces the connector to make small but frequent queries to Google Drive. A larger value (recommended) leads to larger and less frequent queries.
Note: Queries to the Google Drive service are made per folder.
Example: With a value of 100, if a folder contains 180 items, two queries will be necessary to obtain the items.
-
CommentsPerPage (Integer) CES 7.0.6684+ (May 2014)
-
Number of comments to fetch per request made to Google Drive. The default and maximum value is 100. The minimum value is 1.
-
CrawlSharedWithMeItems (Boolean) CES 7.0.6684+ (May 2014)
-
Whether to process items that have been shared with each user (Shared with me). The default value is true.
-
CrawlComments (Boolean) CES 7.0.6684+ (May 2014)
-
Whether to index comments from each item. The default value is false. Consider setting this parameter to true when you must have searchable comments. However, make comments searchable costs API calls and can increase crawling time depending on the number of comments in your Google Drive content.
Note: CES 7.0.6942– (August 2014) The CrawlComments hidden parameter default value is true.
-
UseFolderLinksInMyDrive (Boolean) CES 7.0.6684+ (May 2014)
-
Whether to use folder links that open directly in My Drive rather than in a folder view. The default value is true.
Example: In the search results breadcrumb for a Shared with me document, when a user clicks the parent folder and this parameter is set to false, the opened URL is in the form https://drive.google.com/a/mydomain.com/folderview?id=[GUID]&usp=drivesdk#, showing a file and folder view with a Open in My Drive link.
When set to true, the opened URL is in the form https://drive.google.com/a/mydomain.com/?usp=folder#folders/[GUID], directly opening in My Drive, as if the user had clicked the Open in My Drive link, thus saving one click.
-
IndexGoogleAppsDocThumbnails (Boolean)
-
Whether to index thumbnails for Google Apps for Work documents. The default value is false. Setting this parameter to true to index document thumbnails would increase the crawling time by about 5%.
-
IndexNativeDocThumbnails (Boolean)
-
Whether to index thumbnails for native documents (PDF, DOC, XLS, etc.). The default value is false.
-
AddFromAndToFields (Boolean) CES 7.0.7022+ (September 2014)
-
Whether to add the sysfrom and systo fields to system fields. The default value is true. Adding these fields can have a significant impact on the crawling performance, so consider setting this parameter to false to improve crawling performance.
-
EnablePrefetcher (Boolean) CES 7.0.7104+ (October 2014)
-
Whether the prefetcher is used by the crawler. The default value is false in which case the connector processes the items of a folder retrieved with an API call before making the next API call for the next Google Drive folder.
It is recommended to enable the prefetcher that immediately makes the next API call and improves crawling performances, particularly when folders contain many documents.
-
NumberOfPrefetchedItems (Integer) CES 7.0.7104+ (October 2014)
-
The maximum number of items to prefetch will save in memory when the prefetcher is enabled (see EnablePrefetcher). The default value is 300. The minimum value is 1 and the maximum value is 1000.
Consider increasing the NumberOfPrefechedItems value if you increase the number of threads used by the crawler (see NumberOfRefreshThreads (Integer)).
-
ServiceAccountPkcs12FileData (Integer) CES 7.0.7599+ (April 2015)
-
The service account's PKCS12 private key file encoded data. The PKCS12 file encoded in Base64. The default value is null.
Notes:
-
You need to open the certificate in a text editor and use an encoding application such as Motobit to convert the certificate content to the Base64 format.
-
This parameter is only used when the Service account PKCS12 file path parameter is empty (see Configuring and Indexing a Google Drive for Work Source).
-
-
FileMimeTypesWithComments (String) CES 7.0.7914+ (October 2015)
-
Semicolon separated list of document MIME types which support comments in Google Drive (see Supported MIME Types). The default value is application/vnd.google-apps.document;application/vnd.google-apps.presentation;application/vnd.google-apps.spreadsheet;application/vnd.google-apps.drawing.
To modify hidden Google Drive for Work source parameters
-
Refer to Adding an Explicit Connector Parameter to add one or more Google Drive for Work source parameters.
-
For a new Google Drive for Work source, access the Add Source page of the Administration Tool to modify the value of the newly added advanced parameter:
-
Select Index > Sources and Collections.
-
Under Collections, select the collection in which you want to add the source.
-
Under Sources, click Add.
-
In the Add Source page, edit the newly added advanced parameter value.
-
-
For an existing Google Drive for Work source, access the Source: ... General page of the Administration Tool to modify the value of the newly added advanced parameter:
-
Select Index > Sources and Collections.
-
Under Collections, select the collection containing the source you want to modify.
-
Under Sources, click the existing Google Drive for Work source in which you want to modify the newly added advanced parameter.
-
In the Source: ... General page, edit the newly added advanced parameter value.
-
-
Rebuild your Google Drive for Work source to apply the changes to the parameters (see Applying an Action to a Collection or a Source).