You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2008/11/03 05:26:44 UTC
[jira] Created: (SOLR-833) A DataSource to read data from a field
as a reader
A DataSource to read data from a field as a reader
---------------------------------------------------
Key: SOLR-833
URL: https://issues.apache.org/jira/browse/SOLR-833
Project: Solr
Issue Type: New Feature
Components: contrib - DataImportHandler
Reporter: Noble Paul
Priority: Minor
This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
The datasouce may be configured as follows
{code}
<dataSource name="f1" type="FieldReaderDataSource" field="xml-field" />
{code}
This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-833) A DataSource to read data from a field
as a reader
Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-833:
----------------------------
Attachment: SOLR-833.patch
supports String ,BLOB, CLOB data types
there is an extra field (in the entity) 'encoding' for BLOB types
> A DataSource to read data from a field as a reader
> ---------------------------------------------------
>
> Key: SOLR-833
> URL: https://issues.apache.org/jira/browse/SOLR-833
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Reporter: Noble Paul
> Priority: Minor
> Attachments: SOLR-833.patch
>
>
> This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
> The datasouce may be configured as follows
> {code}
> <datasource name="f1" type="FieldReaderDataSource" />
> {code}
> The enity which uses this datasource must have extra attribute {{dataField="field-name"}}
> The fieldname must be resolvable from VariableResolver
> This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-833) A DataSource to read data from a field
as a reader
Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-833:
---------------------------------------
Fix Version/s: 1.4
Assignee: Shalin Shekhar Mangar
Affects Version/s: 1.4
> A DataSource to read data from a field as a reader
> ---------------------------------------------------
>
> Key: SOLR-833
> URL: https://issues.apache.org/jira/browse/SOLR-833
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 1.4
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-833.patch
>
>
> This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
> The datasouce may be configured as follows
> {code}
> <datasource name="f1" type="FieldReaderDataSource" />
> {code}
> The enity which uses this datasource must have extra attribute {{dataField="field-name"}}
> The fieldname must be resolvable from VariableResolver
> This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-833) A DataSource to read data from a field
as a reader
Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-833:
---------------------------------------
Attachment: SOLR-833.patch
Bringing patch in sync with trunk (it broke due to to SOLR-824 commit).
This patch also has a few changes which make writing tests for DIH easier. Now we do not need schema or solrconfig to test DIH features. I'll commit this shortly.
> A DataSource to read data from a field as a reader
> ---------------------------------------------------
>
> Key: SOLR-833
> URL: https://issues.apache.org/jira/browse/SOLR-833
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 1.4
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-833.patch, SOLR-833.patch, SOLR-833.patch
>
>
> This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
> The datasouce may be configured as follows
> {code}
> <datasource name="f1" type="FieldReaderDataSource" />
> {code}
> The enity which uses this datasource must keep the url value as the varaible name {{url="field-name"}}
> The fieldname must be resolvable from {{VariableResolver}}
> This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-833) A DataSource to read data from a field
as a reader
Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-833:
----------------------------
Description:
This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
The datasouce may be configured as follows
{code}
<datasource name="f1" type="FieldReaderDataSource" />
{code}
The enity which uses this datasource must keep the url value as the varaible name {{url="field-name"}}
The fieldname must be resolvable from {{VariableResolver}}
This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
was:
This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
The datasouce may be configured as follows
{code}
<datasource name="f1" type="FieldReaderDataSource" />
{code}
The enity which uses this datasource must have extra attribute {{dataField="field-name"}}
The fieldname must be resolvable from VariableResolver
This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
> A DataSource to read data from a field as a reader
> ---------------------------------------------------
>
> Key: SOLR-833
> URL: https://issues.apache.org/jira/browse/SOLR-833
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 1.4
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-833.patch
>
>
> This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
> The datasouce may be configured as follows
> {code}
> <datasource name="f1" type="FieldReaderDataSource" />
> {code}
> The enity which uses this datasource must keep the url value as the varaible name {{url="field-name"}}
> The fieldname must be resolvable from {{VariableResolver}}
> This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SOLR-833) A DataSource to read data from a field
as a reader
Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-833.
----------------------------------------
Resolution: Fixed
Committed revision 713343.
Thanks Noble!
> A DataSource to read data from a field as a reader
> ---------------------------------------------------
>
> Key: SOLR-833
> URL: https://issues.apache.org/jira/browse/SOLR-833
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 1.4
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-833.patch, SOLR-833.patch, SOLR-833.patch
>
>
> This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
> The datasouce may be configured as follows
> {code}
> <datasource name="f1" type="FieldReaderDataSource" />
> {code}
> The enity which uses this datasource must keep the url value as the varaible name {{url="field-name"}}
> The fieldname must be resolvable from {{VariableResolver}}
> This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-833) A DataSource to read data from a field
as a reader
Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-833:
----------------------------
Attachment: SOLR-833.patch
added testcase
> A DataSource to read data from a field as a reader
> ---------------------------------------------------
>
> Key: SOLR-833
> URL: https://issues.apache.org/jira/browse/SOLR-833
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 1.4
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-833.patch, SOLR-833.patch
>
>
> This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
> The datasouce may be configured as follows
> {code}
> <datasource name="f1" type="FieldReaderDataSource" />
> {code}
> The enity which uses this datasource must keep the url value as the varaible name {{url="field-name"}}
> The fieldname must be resolvable from {{VariableResolver}}
> This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-833) A DataSource to read data from a field
as a reader
Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-833:
----------------------------
Description:
This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
The datasouce may be configured as follows
{code}
<datasource name="f1" type="FieldReaderDataSource" />
{code}
The enity which uses this datasource must have extra attribute {{dataField="field-name"}}
The fieldname must be resolvable from VariableResolver
This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
was:
This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
The datasouce may be configured as follows
{code}
<dataSource name="f1" type="FieldReaderDataSource" field="xml-field" />
{code}
This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
> A DataSource to read data from a field as a reader
> ---------------------------------------------------
>
> Key: SOLR-833
> URL: https://issues.apache.org/jira/browse/SOLR-833
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Reporter: Noble Paul
> Priority: Minor
>
> This can be useful for users who has a DB field containing xml and wish to use a nested {{XPathEntityProcessor}}
> The datasouce may be configured as follows
> {code}
> <datasource name="f1" type="FieldReaderDataSource" />
> {code}
> The enity which uses this datasource must have extra attribute {{dataField="field-name"}}
> The fieldname must be resolvable from VariableResolver
> This may be used with any {{EntityProcessor}} which uses a {{DataSource<Reader>}} eg:{{XPathEntityProcessor}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.