nirav patel created SOLR-9347:
---------------------------------
Summary: Solr post tool - ignore file name extension when -type is
provided
Key: SOLR-9347
URL: https://issues.apache.org/jira/browse/SOLR-9347
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 6.1
Reporter: nirav patel
I found that post tool is not loading files from directory if files have no
extension even if you specify "-params "separator=%09" -type text/tsv
-filetypes tsv" in arguments. I think if any of above parameter is used then
there is no need to Enter auto mode.
Also there is no -verbose or -debug option that indicate potential problem.
./bin/post -c mycol1 -params "separator=%09" -type text/tsv -filetypes tsv
/dev/datascience/pod1/population/baseline/
/usr/java/jdk1.8.0_102//bin/java -classpath
/home/xactly/solr-6.1.0/dist/solr-core-6.1.0.jar -Dauto=yes -Dc=bonusOrder
-Ddata=files -Drecursive=yes org.apache.solr.util.SimplePostTool
/mapr/insights/datascience/rulec/prdx/bonusOrderType/baseline/
SimplePostTool version 5.0.0
Posting files to [base] url http://localhost:8983/solr/mycol1/update...
Entering auto mode. File endings considered are
xml,json,jsonl,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log
Entering recursive mode, max depth=999, delay=0s
Indexing directory /dev/datascience/pod1/population/baseline/ (0 files, depth=0)
0 files indexed.
COMMITting Solr index changes to http://localhost:8983/solr/mycol1/update...
Time spent: 0:00:00.056
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]