Seems like apple to oranges comparison here. I would try giving an explicit end point (.../extract), a single message, and a literal id for the SimplePostTool and seeing whether that works. Not providing an ID could definitely be an issue.
I would also specifically look on the server side in the logs and see what the messages say to understand the discrepancies. Solr 5 is a bit more verbose about what's going under the covers, but that's not available yet. Regards, Alex. ---- Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 26 January 2015 at 16:34, Mark <javam...@gmail.com> wrote: > I'm looking to index some outlook extracted messages *.msg > > I notice by default msg isn't one of the defaults so I tried the following: > > java -classpath dist/solr-core-4.10.3.jar -Dtype=application/vnd.ms-outlook > org.apache.solr.util.SimplePostTool C:/temp/samplemsg/*.msg > > That didn't work > > However curl did: > > curl " > http://localhost:8983/solr/update/extract?commit=true&overwrite=true&literal.id=000000006252671B765A1748992DF1A6403BDF81A4A15E00" > -F "myfile=@000000006252671B765A1748992DF1A6403BDF81A4A15E00.msg" > > My question is why does the second work and not the first?