lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: question about using JAVA API to post system file to index
Date Wed, 25 May 2016 16:01:39 GMT
This will get you started.... it should be relatively easy to peel out
the database stuff, this example includes both....


On Wed, May 25, 2016 at 7:09 AM, jwl <> wrote:
> Hi,
>    I have learned that we can use post tool to post system file such as pdf, doc, etc
to index. But I want to know how can we use JAVA API to finish this process?
>    I can construct one SolrInputDocument and index the specific fields I want to index,
anyway or any API is used to post the complete file just as the same as 'bin/post -c mydata
>    Hope your response, thanks.

View raw message