Re: Updating a single field using Solrj ContentStreamUpdateRequest

2018-02-01 Thread Joris De Smedt
Thanks I think we'll go for extractOnly cause using a recent version of Tika causes to many dependency issues. On Thu, Feb 1, 2018 at 12:25 PM, Emir Arnautović < emir.arnauto...@sematext.com> wrote: > Hi Joris, > I doubt that you can do that. That would require extracting request > handler to sup

Re: Updating a single field using Solrj ContentStreamUpdateRequest

2018-02-01 Thread Emir Arnautović
Hi Joris, I doubt that you can do that. That would require extracting request handler to support incremental updating and I don’t thing it does. In order to update existing doc, you would have to extract content and send it as incrementa update request. You can still use extracting handler to ex

Updating a single field using Solrj ContentStreamUpdateRequest

2018-02-01 Thread Joris De Smedt
Hi I'd like to update a single field of an existing document with the content of a file. My current setup looks like this: final File file = new File("path to file"); ContentStreamUpdateRequest req = new ContentStreamUpdateRequest("/update/extract"); req.addContentStream(new ContentStrea