AnsweredAssumed Answered

File content search right after upload

Question asked by sylvain78 on Mar 23, 2007
Latest reply on Mar 23, 2007 by sylvain78
I am working on a unit test (using web services api) where I :

1. Upload a file (say a copy of Alfresco-Tutorial.pdf and set its mimetype to application/pdf)
2. Search for a certain content that I know exists in the file

And it doesn't work…:?

Doing the same thing in the web client doesn't work either, I have to browse a little (to Company Home for example) for it to work.

After a while, it works using the ws api too.
What might cause this delay? (before the indexing of the file??)
Is there a way I could do something in my test that would trigger the change, some kind of refresh?

Anyone in the same situation?