AnsweredAssumed Answered

Lucene Query Issues

Question asked by stockbuyer on Jul 17, 2012
Latest reply on Jul 18, 2012 by stockbuyer
Hi all,

I want to search the file which the filename is "PDF", when I use the following query to search the repository, it will return all files which the name contains "PDF", is it possible to search the file with exact match mode?

Query query = new Query(Constants.QUERY_LANG_LUCENE, "@cm\\:name:\"PDF\"");

Best Regards,
Peter

Outcomes