srcField is not required. On Dec 12, 2014 10:18 PM, "Anurag Sharma (JIRA)" <j...@apache.org> wrote:
> > [ > https://issues.apache.org/jira/browse/SOLR-6559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Anurag Sharma updated SOLR-6559: > -------------------------------- > Attachment: SOLR-6559.patch > > Attaching the patch file. > > Struggling to make srcField work. > > srcField functionality is not present in this patch. The unit test for > this functionality is 'testXMLDocFormatWithSplitWithSrcField'. Facing issue > to get the raw xml from XMLStreamReader as it doesn't buffer the data. It > would be great if someone can suggest a quick tip. > > The entry point for the xml doc functionality is /update/xml/docs. It is > implicitly registered and no need of request handler. Following parameters > are implemented and unit test are added for them > split=Solr based XPath splitter > f=<field from schema xml>:<xpath splitter> > > More or less functionality is similar to /update/json/docs. > > > Create an endpoint /update/xml/docs endpoint to do custom xml indexing > > ---------------------------------------------------------------------- > > > > Key: SOLR-6559 > > URL: https://issues.apache.org/jira/browse/SOLR-6559 > > Project: Solr > > Issue Type: Bug > > Reporter: Noble Paul > > Assignee: Noble Paul > > Attachments: SOLR-6559.patch, SOLR-6559.patch, SOLR-6559.patch > > > > > > Just the way we have an json end point create an xml end point too. use > the XPathRecordReader in DIH to do the same . The syntax would require > slight tweaking to match the params of /update/json/docs > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > >