-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLCommitter not storing data #14
Comments
hello @essiembre Can you help me out regarding my issue. |
You can use For example, the snippet below will result in the crawler <fieldMappings>
<mapping
fromField="description"
toField="desc_mapped"/>
</fieldMappings> |
Additionally, if you only have one committer, you can rename the metadata fields via the Importer's RenameTagger |
@ohtwadi i have already renamed the meta tags with renameTagger I am getting issue in table creation and storage of data. Can the table be automatically created or do I have to use createTableSQL tag to manually create the table and how the renamed meta fields are mapped to the table. And what is the use of tags like restrictTo,fieldMatcher,valueMatcher,queue, |
As per the docs:
If you are having issues with table creation, you may create the table manually.
Table column names will be the same as the field name in the Committer.
See AbstractCommitter.
If you are just starting out, I suggest not tinkering with this just yet. It's very likely that the default options will work just fine for you. More details can be found here FSQueue |
I am trying to store data in mysql table using sqlcommitter but unable to do so cause I don't understand where to do the mapping for fields which will then get converted to mysql table columns. I am getting the required data in a json file when using a jsonfilecommitter. If you could please share an example of the config file and tags that I should be using it would be a great help.
The text was updated successfully, but these errors were encountered: