Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Indexing

Posted on 2003-12-01
4
Medium Priority
?
262 Views
Last Modified: 2013-12-18
Is there a way to set up indexing on a database to only index documents that are newer than a certain date?
0
Comment
Question by:schmad01
  • 2
4 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 9851347
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
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 2000 total points
ID: 9851426
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
 

Author Comment

by:schmad01
ID: 9852066
I think I can use that!  Thanks, Heman.
0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 9866200
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Loops Section Overview
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question