[
https://issues.apache.org/jira/browse/SOLR-733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626658#action_12626658
]
Aaron Whittier commented on SOLR-733:
-------------------------------------
I don't think the UpdateRequestProcessor will let me do what I want. Let me
describe what we're trying to do - maybe I can do it easily without cloning
XmlUpdateRequestHandler.
We want to add additional data to the XML <doc> tag, a <RichContent> tag which
has a couple attributes, and whose contents are textual data. We want to
translate this data into text and then attach it to one of the lucene fields in
the SolrInputDocument, which can then be processed normally. What I want, I
think, is to be able to override the readDoc() method in
XmlUpdateRequestHandler.
Does that make sense? I could easily be missing a simple solution, as I'm new
to Solr.
> Refactor or expose methods processDelete(), processUpdate(), readDoc() in
> XmlUpdateRequestHandler
> --------------------------------------------------------------------------------------------------
>
> Key: SOLR-733
> URL: https://issues.apache.org/jira/browse/SOLR-733
> Project: Solr
> Issue Type: Wish
> Affects Versions: 1.3
> Reporter: Aaron Whittier
> Priority: Minor
>
> We are extending the functionality of XmlUpdateRequestHandler in our
> application with a couple simple changes, but because the processDelete(),
> processUpdate(), readDoc() are package-private, we've had to copy most of
> XmlUpdateRequestHandler, whether we changed any parts or not. Can those be
> made more pluggable?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.