This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 29, 2011, 6:08 AM
26 Posts

Advance Search

  • Category: Other
  • Platform: All
  • Release: 8.5.1
  • Role: Developer
  • Tags: advance search
  • Replies: 1
 Hello,
 
I am trying to implement Advance Search on an xpage view panel. The advance search facilitates the user with options to enter the search keywords like "Request ID", "From Date", "To Date". The entered dates defines a date range to search for the documents. I had implemented this  sessionScope variables on the text fields and scripting the "Search in View Results" constructing the search query for the view. This requires the database to be indexed.
 
Is there any way to implement the above in a non indexed database?
 
One more thing, currently keeping the database indexed, when a new document is created in the database, the unindexed count shows 1 unindexed document. This document is not getting indexed until done manually using Update Index button in the database properties. Any ideas on this? 
 
Thanks in advance. 
 
Regards, 
Yusuf 
Aug 30, 2011, 3:33 PM
272 Posts
Re: Advance Search
Hi,
 
you could create a search by using a repeat control and db.FTSearch method. But using this in a non-indexed database is very slow. If you want to update a FTIndex just-in-time you could create an agent which runs the db.UpdateFTIndex(false) method everytime a document is created.
 
I don't know exactly, but far as I know the index task on the server can be adjusted to run faster, then the FTIndex will be refreshed earlier... but better ask the admins ;-)
 
Sven


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal