Some possibilities: 1) Put the file extension into your index (that is what we did when we were testing indexing documents with Solr) 2) Put a mime type for the document into your index. 3) Put the whole file name / URL into your index, and match on part of the name. This will give some false positives.
JRJ -----Original Message----- From: ahmad ajiloo [mailto:ahmad.aji...@gmail.com] Sent: Monday, September 12, 2011 5:58 AM To: solr-user@lucene.apache.org Subject: Fwd: How to serach on specific file types ? Hello I want to search on articles. So need to find only specific files like doc, docx, and pdf. I don't need any html pages. Thus the result of our search should only consists of doc, docx, and pdf files. can you help me?