: 1- How can I put the file extension into my index? I'm using Nutch to
: crawling web pages and sending Nutch's data to Solr for indexing. and I have
: no idea to put the file extension to my index.
: 2- please give me some help links about mime type. I'm new to Solr and don't
: know anything about mime type. please note that I should index data of Nutch
: and I couldn't find useful commands in Nutch tutorial for advanced indexing!
: thank you very much

I think you need to ask on the nutch user's list about the type of schema 
nutch uses when indexing into Solr, wether it creates a specific field for 
file extension, and/or how you can modify the nutch indexer to create a 
field like that for you.

Assuming you get nutch to create a field named "extension" you can query 
solr for only docs that have a certain extension by adding it as an fq...

        q=what i want&fq=extension:doc


-Hoss

Reply via email to