You are viewing limited content. For full access, please sign in.

Question

Question

Scheduling Search Catalog Optimization

asked on June 15, 2015

Hello. Is it possible to schedule the time and/or day for the Search Engine not to optimize the search catalog? I know it possible to schedule indexing, but that is not what I am looking for. I am trying to prevent the Search Engine to kick off a optimization of the search catalog during business hours. Thanks for your time. smiley

Joe

1 0

Answer

SELECTED ANSWER
replied on September 1, 2015

Hello,

In your case, Smart optimization doesn't help, because LFFTS only tracks the index and search activities in LFFTS, it doesn't track generating pages activities.

You may have two solutions:

1. Disable smart optimization and schedule optimization off business hours.

a) Disable smart optimization by setting HKLM\SOFTWARE\LASERFICHE\LFFTS\Config\EnableSmartOpt to false, and restart LFFTS
b) Schedule optimization with "Search Engine Configuration Utility". e.g. lfftscfg.exe optimize 5053 {catalogUUID}. Note, this command must be ran from LFFTS machine.

2. Move LFFTS to a dedicated machine.

1 0

Replies

replied on September 1, 2015

Hello Joe and Daniel,

Sorry for the late answer.

What version of lffts.exe are you using?

If it is older than 9.1, I suggest you to upgrade to 9.1 or later. Since, in 9.1, LFFTS supports smart optimization. With this feature, optimization will be scheduled in idle time, so optimization won't affect index and search performance.

If you already have newer version, could you please describe the detailed problem/situation:

  1. What are your business hours? Are they the same during every weekdays?
  2. Does optimization occur during business hours? When optimizing, do you have index / search requests? How many of index / search requests per hour? Is the request number larger than 100?
  3. From application log in event viewer, are there any messages like: "Initiating automatically scheduled index file optimization", " Optimization for the search catalog {0} has been aborted"?
  4. How often is the optimization? How long does it last? How large are your .IDX files? How much memory does the machine have?
1 0
replied on September 1, 2015

Latest version - 9.2.1.635

1. Yes. For this customer it is 8-5

2. The last few times it has been optimizing during business hours. Yes, but it seems like it's in conjunction with generating pages and it's slowing down the server significantly.

3. Yes to 

"Initiating automatically scheduled index file optimization"

No to 

Optimization for the search catalog {0} has been aborted

4. From the event logs it seems to happen once a day. Lasts approximately 20 minutes. 

How large are your .IDX files

Can't connect to that specific server right now, so I'll have to update that later

Also, the machine has 4GB of RAM. We are working on upgrading that, but they just changed IT people and he's got a lot on his plate.

0 0
SELECTED ANSWER
replied on September 1, 2015

Hello,

In your case, Smart optimization doesn't help, because LFFTS only tracks the index and search activities in LFFTS, it doesn't track generating pages activities.

You may have two solutions:

1. Disable smart optimization and schedule optimization off business hours.

a) Disable smart optimization by setting HKLM\SOFTWARE\LASERFICHE\LFFTS\Config\EnableSmartOpt to false, and restart LFFTS
b) Schedule optimization with "Search Engine Configuration Utility". e.g. lfftscfg.exe optimize 5053 {catalogUUID}. Note, this command must be ran from LFFTS machine.

2. Move LFFTS to a dedicated machine.

1 0
replied on August 31, 2015

Any answers?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.