Edit the entity file associated
with the deployment: D:\CQ.Search\TextSearch_SAMPL\Entity-TextSearch-SAMPL.txt.
For each record type, select a display field to appear in the full-text
search results by prepending an ampersand (&). For example, change
this: Customer=Attachment,CallTrackingID,Name,Phone,...
Defect=Attachments,Description,Headline,Keywords,...
Email_Rule=Action_types,Actions,Name,Operator_Value,...
Project=Description,Name,dbid,...
groups=dbid,is_active,lock_version,name,...
users=dbid,email,encrypted_password,fullname,...
to
this:
Customer=Attachment,CallTrackingID,&Name,Phone,...
Defect=Attachments,Description,&Headline,Keywords,...
Email_Rule=Action_types,Actions,&Name,Operator_Value,...
Project=Description,&Name,dbid,...
groups=dbid,is_active,lock_version,&name,...
users=dbid,email,encrypted_password,&fullname,...
You are not required to select a display field for each record
type. However, if you do not, the dbid field is used
as the default display field, which probably will not be useful in
the search results. Note that you can always change the display field
later without re-indexing the data. See Changing
the display field for indexed record types for details.Important: When you are setting up full-text search on your
production database, in addition to selecting display fields, you
must also select which record types and associated fields to index.
For example, if you do not want to index the Email_Rule record
type, delete it from the list. To index only the Name and Phone fields
for the Customer record type, delete the other fields.