AnsweredAssumed Answered

Lucene Search Problem

Question asked by velli on Apr 9, 2008
Latest reply on Apr 16, 2008 by fhomasp
Hi All,

I have this problem with a lucene search started from a Alfresco javascript that has got me stumbled.

var docs = search.luceneSearch ("(PATH:\"/app:company_home/cm:Company/cm:SomeContent/cm:Category//*\") AND (TYPE:\"cm:content\") AND (@cm\\:name:\"" + "my filename.html"+ "\")");

We use 2.9B build 683 on a test and production machine running both windows 2003 server with sqlserver. Which I thought had the same configuration.

In a subfolder of category is the actual file : "my filename.html"

On the test system the result of the search is 1, the file mentioned above. On production the same query result in 0.

Any pointers where to look would be greatly appriciated.

Kind regards,