Windows – Linux – Mac OSX Guides

Domino searching speed

I am a newbie in Domino programming, and from now on, I will try to blog everything I learned from others. Today’s post will be the order of methods you should use when you need to find a document in Lotus Domino. The following list is in the order of speed with upper ones will be the faster ones, so you should try to get advantage of them before going for the next one.

 

1. db.getDocumentByID()

2. db.getDocumentByUNID()

3. view.getEntryByKey().Document

(require the index has already been built)

 

4. view.getDocumentByKey()

(require the index has already been built)

 

5. db.FTSearch()

(require the index should be up to date)

 

6. view.FTSearch()

(require the index should be up to date)

 

7. db.search()

Tagged with:     , ,

Related Articles

Loading Facebook Comments ...

Post your comments

Your email address will not be published. Required fields are marked *