lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaeger, Jay - DOT" <Jay.Jae...@dot.wi.gov>
Subject RE: How to serach on specific file types ?
Date Mon, 12 Sep 2011 14:37:10 GMT
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.ajiloo@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?

Mime
View raw message