I am using ingest attachment plugin to ingest my html documents . Plugin automatically takes content type and it is showing "text/html" for one document and "text/plain" for other. Is there any way where we can specify content type for the ingesting data? I want both documents to have same content type.
Yes I am looking for something like this only. Is there a java API to set content type? Could you please provide the documentation link for the set API you mentioned above?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.