I wanna use SOLR for and application. i get my data from SQl. I just need to know the pons and cons about using CSV and XML for importing.
thank you so much.
For Solr, there is no difference -- it's just an import format, whereby you create data and PUSH it into Solr. As Mark pointed out in his comment, you could also use a DataImportHandler and PULL data from your data source into Solr.
There could be advantages, such as file sizes for very large data sets, but that's just generic comparisons about CSV/XML/JSON/etc. In the end, it's just a way to format your data and let Solr interpret that for insert/update to your search index.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.