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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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% )


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
schmad01Author Commented:
I think I can use that!  Thanks, Heman.
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.