function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hamayoun65hamayoun65 

Using "keyword" atttribute in articleList

Hi all

 

I am trying to figure out exactly how to use the "keyword" attribute of the knowledge:articeList tag.  According to the guide:

 

The search keyword if the search is not null. When the keyword attribute is specified, the results are sorted by keyword relevance and the sortBy attribute is ignored.

 

So two questions about this:

 

1. What happens if you put in more than one keyword?  Does it act the same way as it does when searching native knowledge articles?

 

2. Will it search inside files which have been associated with knowledge articles using File fields?

 

Thx,

Hamayoun

Sonam_SFDCSonam_SFDC
Hi Hamayoun,

To answer your questions:
1. What happens if you put in more than one keyword?  Does it act the same way as it does when searching native knowledge articles?
<ans>
Knowledge search uses "OR" as its default operator.  This means that when there are multiple search terms, all of the terms don’t need to match to generate a result. An article that matches any of the search query terms appears in the result. The search engine boosts documents that contain more terms from the search query, so that they appear higher in the results list.
Many factors influence the order in which articles appear in the results list. Salesforce evaluates your search terms and your data to move more relevant matches higher in your list of results. 

read more: http://help.salesforce.com/apex/HTViewHelpDoc?id=knowledge_search_algorithm.htm

2. Will it search inside files which have been associated with knowledge articles using File fields?
<ans>
Text content in a File field attachment is searchable. You can search up to 25 MB of attached files on an article. For example, if an article has six 5 MB file attachments, the first 4.16 MB of each file is searchable.

read more about Fiel field type: https://help.salesforce.com/apex/HTViewHelpDoc?id=knowledge_custom_field_types.htm&language=en