I created a partial search modulo with a little help: xpages partial - full search
What I noticed is that when I created a new document and saving it, I can not search it immediately using this code considering the fact that I'm using session variables....
Also, my xpages application runs on web using Session Based Authentification.
Just to be clear: There are 5 docs. already saved in my App, the search is working OK. I created a new doc & save it. I try to search this last document and it won't work. Sometimes it works, after I logout the app. and login again, but sometimes it doesn't...
Is there any-other solution for this?