AnsweredAssumed Answered

Lucene queries (date, mimetype)

Question asked by guidow on Jul 9, 2007
Latest reply on Jul 9, 2007 by dhalupa
I have some problems using Lucene for searching using particular metadata.

How can I query the repository for all documents created in a particular date range? Typing "@cm\:created:[2007-07-01 TO 2007-07-05]"
into the Node Browser Lucene search gives me a NullPointerException.

How can I query the repository for all documents of a particular mimetype?
(e.g., all PDF documents). The mimetype seems to appear in cm:content,   but @cm\:content:"mimetype=application/pdf" finds nothing.

Thanks+Cheers,
  Guido

Outcomes