Help:Configuration parameter "$smwgQFilterDuplicates"

From semantic-mediawiki.org
Jump to: navigation, search
edit with form (experimental)


Title $smwgQFilterDuplicates
Description Sets whether duplicate query conditions should be removed from computing query results
Default setting
false
(Other) available settings
true

Allows to remove duplicate query conditions from computing query results

Software Semantic MediaWiki
First version supported 2.5.0
Last version supported still available
Configuration Query settings · Inline queries
Keyword Inline queries · Queries · Query performance · Performance

$smwgQFilterDuplicates is a configuration parameter that sets whether duplicate query conditions (segments) should be removed from computing query results. Thus the computational effort for conditions (segments) that represent that same query signature is being eliminated. The impact of this optimization is currently unknown. The configuration parameter was introduced in Semantic MediaWiki 2.5.0.1

The default setting "false" disallows duplicate query segments being removed from computing query results. This can be changed by setting the configuration parameter to "true".

Important noteImportant Note: Using the feature connected to this configuration parameter is currently considered being experimental!

The idea behind this configuration parameter is to filter some query segments (the part that represents individual SQL statements of a query, i.e. query conditions) that can be duplicate and would create an additional temp table which in return would lengthen the time the SQL engine needs to answer the query. If enabled Semantic MediaWiki tries to match the fingerprint of a description and replaces the reference if matched before the "QueryEngine" becomes aware of the segments.

See also