Allowing search of more than 5000 docs

This tip describes how to search for more than 5000 documents

The 5,000 document limit is the default limit on documents returned from a full text search. "Add Search" is subject to this limit because it uses an FT search. This limit can be increased or removed by changing a server parameter.

You can set the Notes.ini parameter "FT_Max_Search_Results=n" to change the search limit. Set it to 0 to remove the limit altogether.

An alternative, as pointed out by someone else here, is to do a db.search or view selection to explicitly select documents in your code. If you still want to use agent searches, remember that this does an FT search, so if the database is not already FT Indexed, this will be no faster than doing a database search in LotusScript, and a straight search will let you use any valid selection formula, wherease an ftsearch is pretty limited.


This was last published in October 2002

Dig Deeper on Lotus Notes Domino Agents

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close