You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Bertil Chapuis (JIRA)" <ji...@apache.org> on 2009/10/05 23:01:31 UTC

[jira] Created: (COCOON3-43) Provide a Consumer that interacts with solr

Provide a Consumer that interacts with solr
-------------------------------------------

                 Key: COCOON3-43
                 URL: https://issues.apache.org/jira/browse/COCOON3-43
             Project: Cocoon 3
          Issue Type: New Feature
          Components: cocoon-sax
            Reporter: Bertil Chapuis
            Assignee: Cocoon Developers Team


In solr, the org.apache.solr.handler.XMLLoader class allows to save xml documents in a solr index. In the same way, cocoon could provides a SAXConsumer that lets save documents in a solr index. 

The input document should respect a structure as this one:

<docs>
<doc>
<field name="..." boost="...">...</field>
</doc>
...
</docs>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (COCOON3-43) Provide a Consumer that interacts with solr

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler reassigned COCOON3-43:
----------------------------------------

    Assignee: Thorsten Scherler  (was: Cocoon Developers Team)

> Provide a Consumer that interacts with solr
> -------------------------------------------
>
>                 Key: COCOON3-43
>                 URL: https://issues.apache.org/jira/browse/COCOON3-43
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Bertil Chapuis
>            Assignee: Thorsten Scherler
>         Attachments: SolrConsumer.patch
>
>
> In solr, the org.apache.solr.handler.XMLLoader class allows to save xml documents in a solr index. In the same way, cocoon could provides a SAXConsumer that lets save documents in a solr index. 
> The input document should respect a structure as this one:
> <docs>
> <doc>
> <field name="..." boost="...">...</field>
> </doc>
> ...
> </docs>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COCOON3-43) Provide a Consumer that interacts with solr

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler closed COCOON3-43.
------------------------------------

    Resolution: Fixed
      Assignee:     (was: Thorsten Scherler)

Committed revision 824705.

Thanks Bertil.

> Provide a Consumer that interacts with solr
> -------------------------------------------
>
>                 Key: COCOON3-43
>                 URL: https://issues.apache.org/jira/browse/COCOON3-43
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Bertil Chapuis
>         Attachments: SolrConsumer.patch
>
>
> In solr, the org.apache.solr.handler.XMLLoader class allows to save xml documents in a solr index. In the same way, cocoon could provides a SAXConsumer that lets save documents in a solr index. 
> The input document should respect a structure as this one:
> <docs>
> <doc>
> <field name="..." boost="...">...</field>
> </doc>
> ...
> </docs>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON3-43) Provide a Consumer that interacts with solr

Posted by "Reinhard Poetz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON3-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765956#action_12765956 ] 

Reinhard Poetz commented on COCOON3-43:
---------------------------------------

The SolrConsumer inherits from AbstractSAXTransformer now and was able to remove a lot of delegation code which is covered by the abstract transformer. 

Could you please cross-check if this works for you too? Thanks!



> Provide a Consumer that interacts with solr
> -------------------------------------------
>
>                 Key: COCOON3-43
>                 URL: https://issues.apache.org/jira/browse/COCOON3-43
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Bertil Chapuis
>         Attachments: SolrConsumer.patch
>
>
> In solr, the org.apache.solr.handler.XMLLoader class allows to save xml documents in a solr index. In the same way, cocoon could provides a SAXConsumer that lets save documents in a solr index. 
> The input document should respect a structure as this one:
> <docs>
> <doc>
> <field name="..." boost="...">...</field>
> </doc>
> ...
> </docs>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON3-43) Provide a Consumer that interacts with solr

Posted by "Reinhard Poetz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON3-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765970#action_12765970 ] 

Reinhard Poetz commented on COCOON3-43:
---------------------------------------

Thanks, I removed the interface.

> Provide a Consumer that interacts with solr
> -------------------------------------------
>
>                 Key: COCOON3-43
>                 URL: https://issues.apache.org/jira/browse/COCOON3-43
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Bertil Chapuis
>         Attachments: SolrConsumer.patch
>
>
> In solr, the org.apache.solr.handler.XMLLoader class allows to save xml documents in a solr index. In the same way, cocoon could provides a SAXConsumer that lets save documents in a solr index. 
> The input document should respect a structure as this one:
> <docs>
> <doc>
> <field name="..." boost="...">...</field>
> </doc>
> ...
> </docs>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON3-43) Provide a Consumer that interacts with solr

Posted by "Bertil Chapuis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertil Chapuis updated COCOON3-43:
----------------------------------

    Attachment: SolrConsumer.patch

The patch contains the SolrConsumer and its unit tests. Thank you to Thorsten Scherler for his comments, feedbacks and changes.

> Provide a Consumer that interacts with solr
> -------------------------------------------
>
>                 Key: COCOON3-43
>                 URL: https://issues.apache.org/jira/browse/COCOON3-43
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Bertil Chapuis
>            Assignee: Cocoon Developers Team
>         Attachments: SolrConsumer.patch
>
>
> In solr, the org.apache.solr.handler.XMLLoader class allows to save xml documents in a solr index. In the same way, cocoon could provides a SAXConsumer that lets save documents in a solr index. 
> The input document should respect a structure as this one:
> <docs>
> <doc>
> <field name="..." boost="...">...</field>
> </doc>
> ...
> </docs>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON3-43) Provide a Consumer that interacts with solr

Posted by "Bertil Chapuis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON3-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765958#action_12765958 ] 

Bertil Chapuis commented on COCOON3-43:
---------------------------------------

Every thing works well for me. It's much more clean now. You can even remove the SAXConsumer implementation since the AbstractSAXTransformer already implements it. Best regards.

> Provide a Consumer that interacts with solr
> -------------------------------------------
>
>                 Key: COCOON3-43
>                 URL: https://issues.apache.org/jira/browse/COCOON3-43
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Bertil Chapuis
>         Attachments: SolrConsumer.patch
>
>
> In solr, the org.apache.solr.handler.XMLLoader class allows to save xml documents in a solr index. In the same way, cocoon could provides a SAXConsumer that lets save documents in a solr index. 
> The input document should respect a structure as this one:
> <docs>
> <doc>
> <field name="..." boost="...">...</field>
> </doc>
> ...
> </docs>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.