Not sure how exactly you’re trying it, so let’s talk concretely with examples 
here:

----
  $ bin/solr create -c tmp
  $ bin/post -c tmp ~/Desktop/bin_post_featured_image.png -filetypes “*"

  $ curl "http://localhost:8983/solr/tmp/select?q=*:*&wt=csv&fl=id";
  id
  "/Users/erikhatcher/Desktop/bin_post_featured_image.png”
----

There’s probably an issue in there somewhere, but it does work with the above.

I wasn’t able to get *this* to work though:

  $ bin/post -c tmp http://lucene.apache.org/solr/assets/images/book_sia.png 
-filetypes “*”
     ...
  Entering auto mode. Indexing pages with content-types corresponding to file 
endings *
  Entering crawl at level 0 (1 links total, 1 new)
  SimplePostTool: WARNING: Skipping URL with unsupported type image/png

So something needs fixing in web crawl mode it looks like.

—
Erik Hatcher, Senior Solutions Architect
http://www.lucidworks.com




> On Aug 14, 2015, at 11:10 AM, coolmals <coolm...@gmail.com> wrote:
> 
> Ok. Quoting also doesnt seem to fix the png image issue. Any idea on indexing
> png images?
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Adding-additional-file-types-for-indexing-tp4222845p4222987.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to