Reputation: 3968
I am having many Kettle Transformation saved files (saved in desktop). What i need to do is to create a search page, where in the user types in any text. The result displayed is all the possible transformation saved files where that particular typed string appears.
Note that the transformation files are in XML format. The search string can be anything that an XML file can contain. I have no clue of how to develop this search? Please help me out.
[ I have tried using XPATH to read the xml files (using the Pentaho Data Integration tool), but missing the connection of the search.]
Upvotes: 0
Views: 2154
Reputation: 524
If I uderstood what you want correctly, try that:
Everytime when you start the transformation, you are asked to set the value of parameter "String4Search". So you just set it to your string to be found in files.
Upvotes: 2
Reputation: 5164
Kettle is not a search tool. You're best bet is to just execute grep on these files and read the results back in.
If you were using a database repository then of course you could query the database directly, which is much nicer.
Upvotes: 1