AnsweredAssumed Answered

Lucene Query by Mimetype

Question asked by faiyth on Oct 2, 2007
Latest reply on Oct 9, 2008 by en64026
I've been spending the last few days trying to figure out how to limit the results of my query to only jpgs and gifs in my folder and for some reason it just isn't working. Either I get absolutely nothing at all or I get every record.

Here's the queries I've tried and their results:

LucQuery = "text:\"*jpg*\""; RESULT: 0
LucQuery = "name:\"*jpg*\""; RESULT: 0
LucQuery = "+@cm\:abstract.mimetype:\"image/jpeg\"" RESULT: 0

I have two files: image1.jpg and HomepageText.html.. so shouldn't the image be showing up? Any help you can offer would be greatly appreciated.

Thanks!

Outcomes