Hello,
On the web i am doing a lookup to find a specific document. I use a dblookup function in a database which contains 177.000 documents.
The lookup on the web works very slow, it takes about 4 minutes to find the document.
Is there a way to reduce the lookup time? I have the index set to ‘Immediate’
Thanks!
Subject: Lookup on web
There are some basic ways to speed up a lookup1) use a cached dblookup if at all possible
-
Make sure your lookup view only has one sorted column, and preferably only one unsorted, contain the data you need
-
Lookup data from a view column, not from a field
-
Only do the lookup once
(e.g.
result = @dblookup(blah blah);
@if(!@iserror(result);result;errorstuff)
- Make sure you don’t have same-named views, folders & navigators
Subject: RE: Lookup on web
Thanks Christopher!
I used 5 lookups, tmp1=lookup1, tmp2=lookup2 etc. Your solution works much quicker!!!
Thanks!
Subject: Lookup on web
do you need to lookup against all 177,000 documents or is there a way you can have a subset in different lookup views?