Solr dataimport - pass variable to query -


i trying pass variable solr (4.10.0) server when calling dataimport full import command.

i have searched around net , found several examples none of them seem working me.

the url call looks likes this:

"http://xx.xx.xx.xx:xxxx/solr/mycore/dataimport?command=full-import&maxid=1234&clean=false"

my query looks this:

select * blah lastmod  >= '2014-04-30' ,  ('${dataimporter.request.clean}' != 'false' or myid > '${dataimporter.request.maxid}') 

when call url import starts imports everything.

do need use dih.request.maxid instead of dataimporter?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -