Sounds like 'literal.X' syntax from https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Solr+Cell+using+Apache+Tika
Can you explain your use case as different from what's already documented? May be easier to understand. Regards, Alex. ---- Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 28 January 2015 at 12:45, Mark <[email protected]> wrote: > I'm looking to > > 1) upload a binary document using curl > 2) add some additional facets > > Specifically my question is can this be achieved in 1 curl operation or > does it need 2? > > On 28 January 2015 at 17:43, Mark <[email protected]> wrote: > >> >> Second thoughts SID is purely i/p as its name suggests :) >> >> I think a better approach would be >> >> 1) curl to upload/extract passing docID >> 2) curl to update additional fields for that docID >> >> >> >> On 28 January 2015 at 17:30, Mark <[email protected]> wrote: >> >>> >>> "Create the SID from the existing doc" implies that a document already >>> exists that you wish to add fields to. >>> >>> However if the document is a binary are you suggesting >>> >>> 1) curl to upload/extract passing docID >>> 2) obtain a SID based off docID >>> 3) add addtinal fields to SID & commit >>> >>> I know I'm possibly wandering into the schemaless teritory here as well >>> >>> >>> On 28 January 2015 at 17:11, Andrew Pawloski <[email protected]> wrote: >>> >>>> I would switch the order of those. Add the new fields and *then* index to >>>> solr. >>>> >>>> We do something similar when we create SolrInputDocuments that are pushed >>>> to solr. Create the SID from the existing doc, add any additional fields, >>>> then add to solr. >>>> >>>> On Wed, Jan 28, 2015 at 11:56 AM, Mark <[email protected]> wrote: >>>> >>>> > Is it possible to use curl to upload a document (for extract & >>>> indexing) >>>> > and specify some fields on the fly? >>>> > >>>> > sort of: >>>> > 1) index this document >>>> > 2) by the way here are some important facets whilst your at it >>>> > >>>> > Regards >>>> > >>>> > Mark >>>> > >>>> >>> >>> >>
