You can modify limited portions of the default query. For example, you can expand the weighted property list to include custom properties that are meaningful to your data. You can also modify the weight for a given property according to how strong an indicator of content that property is for your data. You can also adjust the rank coercion functions in the default query. For example, you can eliminate the rank coercion on the portion of the query that performs FREETEXT matches on BestBetKeywords so that the default query does not promote documents as Best Bets in the query results.
The following table shows the weighted property aliases declared in Portal\resources\searchConstants.js, with a brief description of modifications that you can make.
Query Variables and Descriptions
Variable | Description |
---|---|
g_strWeightedPropsWhereClauseDeclaration | Modify the properties and weights used in the Best Bets and matching documents portion of the default query. |
g_strWeightedCatPropsWhereClauseDeclaration | Modify properties used in the Categories portion of the default query. |
You can find the JavaScript code that generates the query at the following path on the dashboard site: Portal\resources\searchFunctions.js.
Changes to the default query are not supported. Any changes made should adhere to the following guidelines: