Indexing

Is there a way to set up indexing on a database to only index documents that are newer than a certain date?
schmad01Asked:
Who is Participating?
 
HemanthaKumarCommented:
Well I don't see any options for that, take a look at the ini parameters

http://www.drcc.com/A55711/ref/notesini.nsf/all?openview&jump&startkey=ft_

If you are looking for a way to extract only those docs which are newer than a certain date then use search method of the database

Set notesDocumentCollection = notesDatabase.Search( formula$, notesDateTime, maxDocs% )


0
 
HemanthaKumarCommented:
Indexing is done on whole database. But I believe that there are few notes.ini parameters on server.

Let me check back with your later.

~Hemanth
0
 
schmad01Author Commented:
I think I can use that!  Thanks, Heman.
0
 
Bozzie4IT ArchitectCommented:
You can also use the ftindex to look for documents modified or created since a certain date.

A full text search like this will return all new or modified documents since 1st december

([_CreationDate] > 12/1/2003) OR ([_RevisionDate] > 12/1/2003)

So instead of using the db.search as Hemantha proposes, use the ftsearch method : it's faster.

set notesdocumentcollection = db.ftsearch( Query$, options.... )

cheers,

Tom
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.