Best Practices for Improving Search Performance

Search performance depends on many factors, including the size of the search index, your search settings, the search syntax you're using, the privileges you have as a user, and the hardware hosting the Laserfiche Full-Text Indexing and Search Service. If you're encountering slow searches, read on to learn how to change these factors to make your searches faster.

Search Index: What to Include?

The larger a search index is, the slower searches will be. Here are a few ways to reduce the size of your search index.

Data Types

Certain types of data are always indexed, while other types are not indexed by default. To improve search performance, check if there are data types being indexed that you can afford to make unindexed.

Example: One of your metadata fields is a text field that indicates the status of a document in a review process. It may contain short, easy-to-search-for phrases like "New", "Reviewed", or "Review in progress". To reduce the size of your search index, you may want to make this field unindexed. In contrast, you may have another field called "Comments", where users may leave several sentences of comments on the contents of the document. A field like this is a better candidate for indexing, as it may benefit more from features of indexed searches like fuzzy search and root word search.

New Documents

You can choose whether to always index new documents. If you plan to upload many documents that do not need to be indexed, you can turn off automatic indexing of new documents in the Laserfiche Administration Console. If a user later wants a specific document to be indexed, they can manually index it from the web client or Windows client.

Volumes

If you have old volumes that you're no longer adding documents to, and you do not need these volumes to be indexed, you can create a new search catalog that only indexes newer volumes. This reduces the size of your search index and can increase search speed. Your newer volumes can continue to accept new documents, and you can continue to auto-index these new documents.

To un-index older volumes

  1. Detach the current search catalog.
  2. Create a new search catalog.
  3. Re-index the volumes that you want indexed. Do not index the repository.

Note: Documents that are added to the unindexed volumes will not be automatically indexed. Any documents that you want to be indexed in those volumes will need to be manually indexed.

Search Settings

In the web and Windows clients, you can configure search settings that may slow down or speed up your searches.

You can increase search speed by disabling the following settings:

In addition, you can limit the number of results returned for indexed searches .

Optimizing Search Syntax

Due to the way the search engine parses advanced search syntax, some types of advanced searches are slower than others.

Columns Displayed

You can speed up searches by reducing the number of columns displayed in search results. In addition, certain columns contain information that is expensive to calculate. These columns are good candidates for hiding.

User Privileges

There are two privileges that can affect search performance:

Hardware

The hardware you use to host the Laserfiche Full-Text Indexing and Search Service influences search performance. For best performance, try the following tips: