What is the meaning of the count that is enclosed in parentheses in the Knowledge Search results message: "Searched for test(3) in all categories using Any Word".

Document ID : KB000050793
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document explains how to interpret the count in the message and how to omit the count from the message.

Solution:

The count within parentheses is the total number of documents in the knowledge base that contain at least one occurrence of the string. For example, when searching for the string, "test", if 3 documents each contain "test" at least once, then "test(3)" is displayed in the message. See Figure 1 and Figure 2.

The count is not filtered according to the specified search criteria. So, it may not match the number of documents that are listed. Additionally, the count only includes documents that have been processed by pdm_k_reindex. So, documents which contain the specified string but which have been published after the most recent pmd_k_reindex are not included in the count.

To turn off the parenthesized count, add the following to the $NX_ROOT/NX.env file:

@EBR_SHOW_WORDS_DF=No

Unlike the parenthesized count, the documents that are listed have had all of the specified search criteria applied. The message that appears immediately above the Status column shows the total number of documents that are listed. The message is in the form, 1-x of y, where y is the total. When no documents are returned, the message above the status column is: "No Documents found".

Note that the parenthesized count in Figure 1 and Figure 2 are the same; however the number of documents listed is different.

Figure 1.
Figure 1

Figure 2.
Figure 2

Figure 3. No documents contain "testx".
Figure 3