Reputation: 1309
How can i pass additional parameters to SOLR, while importing from database, using dataimport. Example:
I have sql query, smth like this:
Select * from documents where documentId > [myParameterHere]
Can i somehow insert value to [myParameterHere]?
Upvotes: 3
Views: 3258
Reputation: 131
you can write this query:
Select * from documents where documentId > ${dataimporter.request.myParameterHere}
and post myParameterHere param in solr query url。
Upvotes: 6
Reputation: 99720
If you want to do a partial import, take a look at delta imports.
Upvotes: 5