query with the weight of timestamp

(from github.com/fanjinfei)
Can we apply some customized decay function (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-decay) on the timestamp field in fess?

(from github.com/marevol)
Using QueryHelper#addBoostFunction, You can add boost functions in app.xml.

...
	<component name="queryHelper" class="org.codelibs.fess.helper.QueryHelper">
...
		<postConstruct name="addBoostFunction"><!-- add boost function -->
			<arg>
				<component class="org.elasticsearch.index.query.functionscore.GaussDecayFunctionBuilder">
					<arg>"timestamp"</arg><!-- field -->
					<arg>"now"</arg><!-- origin -->
					<arg>"1w"</arg><!-- scale -->
					<arg>"1d"</arg><!-- offset -->
					<arg>0.5</arg><!-- decay -->
				</component>
			</arg>
		</postConstruct>
	</component>
	<component name="viewHelper" class="org.codelibs.fess.helper.ViewHelper">
		<postConstruct name="addFacetQueryView">
...

(from github.com/fanjinfei)
Thank you very much. It works.