You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Joris De Smedt <jo...@chapoo.com> on 2018/01/31 13:56:45 UTC

Solrj + spring data: Indexing file body + own fields

Hi

I'm using Solrj 6.6.1 found in spring-data-solr 3.0.3.RELEASE, solr is 7.2.1
.

I'm currently able to upload solrDocument via spring-data but would like to
add the equivalent to
      tika new AutoDetectParser().parse(stream, new BodyContentHandler(-1),
new MetaData())
as a content field. Without handeling the parsing at client side.
How can I do this?
-- 
Joris De Smedt