The seeker.config file defines all the application settings for the Web Service
Key |
Required |
Default |
seekerWebService.luceneMaximumClauseCount |
No |
1024 |
seekerWebService.fileStoreDirectoryPath |
No |
null |
seekerWebService.fileDocumentProxyBaseUrl |
No |
http://<hostname>/seekerproxy |
seekerWebService.fileProxyTokenTimeoutPeriodInSeconds |
Yes |
300 |
seekerWebService.spellingDictionaryFilePath |
Yes |
[Installation Path]\webservice\dictionaries |
seekerWebService.spellingNativeDllFilePath |
No |
The spellingDictionaryFilePath setting path. |
Configuring Lucene's Maximum Number Or Search Terms
Lucene limits the number of search terms in a search query. The default maximum search term limit is 1024 search terms. The reason this limit exists is to keep complex search queries from slowing down search requests. The most common form of this problem is queries using wildcards on terms with few characters. For example a search query of a* against an index of respectable size will almost always result in a Too Many Clauses error.
Administrators wishing to allow users to search broadly can change this limit to be a larger number. How large this needs to be depends on your index.
You can change the maximum search term limit by enabling and changing the seekerWebService.luceneMaximumClauseCount entry.
Note: Be aware that the maximum search term limit is there for a reason and raising it may impact your search performance.
File Store Directory Path
The Seeker Web Service supports file uploads. Files uploaded will be saved into a directory structure under this local or UNC file path. You can change the value of seekerWebService.fileStoreDirectoryPath entry to represent the location of where you wish files to be saved. You may wish to set this to a directory under your existing Clarify attachments directory.
File Document Proxy URL
The Seeker Web Service Search API returns a paths to a file proxy for file documents. The default URL is entered during the installation. You can change the value of seekerWebService.fileDocumentProxyBaseUrl entry to represent the location of the file proxy.
File Token Timeout
Search results that contains files are associated with a token that times out for security reasons. The default timeout for the tokens is 300 seconds (5 minutes). You can change the value of seekerWebService.fileProxyTokenTimeoutPeriodInSeconds entry to a numeric value representing the number of seconds for a token to timeout.
Spelling Dictionary Path
The Dovetail Seeker Web APIs includes a spell check service that requires a path to the dictionary files. The default path is the installation location of the web service (c:\Program Files\Dovetail Software\Seeker\webservice\dictionaries\). You can change the value of seekerWebService.spellingDictionaryFilePath entry to path of the dictionary files.
web.config
The web.config file defines .NET specific settings for the Web Service. Most settings in this file will be left unchanged.
You may wish to alter the following settings for your specific environment.
Setting |
Default Value |
Description |
system.web |
10241 |
maxRequestLength for asp.net, in KB. Controls file upload size limits. For more information: Controlling upload file size in ASP.NET applications |
system.webServer |
10485760 |
maxAllowedContentLength, for IIS, in bytes. Controls file upload size limits. For more information: Controlling upload file size in ASP.NET applications |
See Also |
Next |