Incompatible query processor options in Content and Accessibility Auditor
Managed by | Updated .
Overview
Specific QPO (query processor options) are incompatible for Content and Accessibility Auditor.
Ensure your search, any profiles or extra searches within your collection does not include the following incompatible QPO (query processor options);
- truncation_allowed=3 (any value greater than 0)
- daat=0
- service_volume='lo'
Warning
Any QPO's that enable TAAT Document matching mode will cause Accessibility Auditor and Content Auditor to fail. For information on document matching modes within Funnelback see our documentation on Funnelback Ranking Algorithms (Document Matching Modes).
Workaround
If you require to use TAAT document matching mode in your collection and also utilise the Content and Accessibility Auditor please set these QPO options via hook scripts checking the search type is SEARCH
or EXTRA_SEARCH
.
hook_pre_process.groovy - Configure Search QPO
import com.funnelback.publicui.search.model.transaction.SearchQuestion.SearchQuestionType
//Include these QPO options only in SEARCH type as these break CA and AA
if( com.funnelback.publicui.search.model.transaction.SearchQuestion.SearchQuestionType.SEARCH.equals( transaction.getQuestion().getQuestionType() ) ) {
//Add to DynamicQueryProcessorOptions as 'truncation_allowed' cannot be set via cgi
transaction.getQuestion().getDynamicQueryProcessorOptions().add("-daat=0");
transaction.getQuestion().getDynamicQueryProcessorOptions().add("-truncation_allowed=3");
}
hook_extra_searches.groovy - Configure extra searches QPO
import com.funnelback.publicui.search.model.transaction.SearchQuestion.SearchQuestionType
//Include these QPO options only in SEARCH type as these break CA and AA
if( com.funnelback.publicui.search.model.transaction.SearchQuestion.SearchQuestionType.SEARCH.equals( transaction.getQuestion().getQuestionType() ) ) {
transaction.extraSearchesQuestions.each() {
//Add to DynamicQueryProcessorOptions as 'truncation_allowed' cannot be set via cgi
it.value.getDynamicQueryProcessorOptions().add("-daat=0");
it.value.getDynamicQueryProcessorOptions().add("-truncation_allowed=3");
}
}
Was this artcle helpful?