lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From osymad <>
Subject There is integration of spring-data-solr with tika?
Date Fri, 14 Feb 2014 20:25:42 GMT
There is some configuration to use spring-data-solr with tika? Otherwise some
alternative to solrj ContentStreamUpdateRequest+addfile for

Currently I have another one using sorj + tika as:

SolrServer server = new HttpSolrServer(URL);
Tika tika = new Tika();
String fileType = tika.detect(path.toFile());
up = new ContentStreamUpdateRequest("/update/extract"); 
up.addFile(path.toFile(), fileType);
up.setParam("", idField);
up.setAction(AbstractUpdateRequest.ACTION.COMMIT, true, true);
NamedList request = server.request(up);*

Following the ExtractingRequestHandler guide with success.

Using solr 4.3.0

Is is possible get same result using only spring-data-solr instead solrj

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message