AnsweredAssumed Answered

Lucene and mimetypes

Question asked by tara_b on Sep 23, 2009
Latest reply on Oct 7, 2009 by rliu
Hi All,

I'm having trouble with the mimetypes coming back from a lucene search. I am using the following query:

String myQuery = "TEXT:\"expert\" AND @mx\\:keyword:\"expert systems\" AND TYPE:\"mx:LibraryContent\"";
Query query = new Query(Constants.QUERY_LANG_LUCENE, myQuery);

My result is 5 pdf and 2 doc. 
When I search from the Alfresco client, the result is 5 pdf, 2 doc, 3 docx, 1 html and 1 url.
When I re-saved one of the docx to a doc and ran the code again, the document was found.

Does anyone know whats going on? Is there a configuration somewhere regarding the format of lucene output?

Thanks much