On 12/30/2012 11:57 AM, uwe72 wrote:
> Hi there,
> 
> how can i add a date field to a pdf document?

Same way you add the ID field, using literal parameter.

> 
>    ContentStreamUpdateRequest up = new
> ContentStreamUpdateRequest("/update/extract");
>    up.addFile(pdfFile, "application/octet-stream");
>    up.setParam("literal." + SolrConstants.ID, solrPDFId);
> 
> Regards
> Uwe
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/SolrJ-Add-a-date-field-to-ContentStreamUpdateRequest-tp4029704.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 

Reply via email to