cancel
Showing results for 
Search instead for 
Did you mean: 

search is missing documents

swilber
Champ in-the-making
Champ in-the-making
I'm having a problem with recently created documents not coming up in a search on Alfresco 3.3. If I restart Alfresco with index.recovery.mode=FULL, the problem goes away for a couple of minutes and then returns. I'm searching the whole repository for all files that my application is interested in, so the search is something like this: "+@cm\\:my_key:my_value +TYPE:cm:content". I've been using this code for months with no problems, so I'm pretty sure I managed to corrupt something in Alfresco itself. Any ideas?
3 REPLIES 3

hap234
Champ in-the-making
Champ in-the-making
Do you have cluster configured on this Application?
If yes then let me know configuration details.

If not , then how many contents are there of type that you are looking for?

As for optimization point of view lucene has limited search result size upto 1000 only(By Default), it is possible that you because of this limit lucene is not searching document which you are looking for.

You can increases the search limit into alfresco-gloable.properties file , by changing value of this properties index.tracking.maxRecordSetSize=1000 

Best Regards,
Hetal Patel,
CIGNEX Tech.

swilber
Champ in-the-making
Champ in-the-making
No cluster. The search should return about 300 documents.

After doing an index rebuild, I'm only seeing documents created before a week or so ago. Newer documents are not showing up in the search.

swilber
Champ in-the-making
Champ in-the-making
turned out i was hitting a limit on how long Alfresco would spend doing ACL evaluation.

The fix:

system.acl.maxPermissionCheckTimeMillis=60000
system.acl.maxPermissionChecks=100000