on 2018 Nov 28 11:23 AM
Hi Experts, I have written following solr query for indexing. SELECT {Pk} FROM {WebContentPage as w} where {w.Country} = 'gb' AND {w:modifiedtime} >= ?customTime i need to index those elements in solr which are modified or created in hybris after "customTime" the value of customTime attribute is saved at SolrindexerCronJobModel.
Note- index job runs in every 10 mins accordingly value of customTime attribute gets updated
How can i pass the value of customeTime in as query parameter? thanks in advance
Request clarification before answering.
You can make use of implementation of interface de.hybris.platform.solrfacetsearch.search.context.FacetSearchListener#beforeSearch to add any dynamic values before it hits to solr server for results
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.