Ajcody-Lucene-Topics

Attention.png - This article is NOT official Zimbra documentation. It is a user contribution and may include unsupported customizations, references, suggestions, or information.

Lucene

Actual Lucene Topics Homepage

Please see Ajcody-Lucene-Topics

Other References to Lucene Index

Please see:

Some General Questions On The Lucene Indexing

Index Directory Numbering

We know directory under index volume is the following:

/opt/zimbra/index/ "X" / "Y" / index / "Z" /

We believe that "X" is the number which is got by bitshifting the mailbox_id to the right by 12 bits, then "Y" is maibox_id, however, how do you get "Z"?

Answer: It's always '0'.

When Is User Message Store Directory Created

When is the directory for message data for an account(/opt/zimbra/store/0/...) created? When a message is stored the first time? Which also means, that it will not be created if message data does not exist, correct?

Answer: Yes.

When Is User Index Directory Created

Concerning the index directory. We know the index directory already exists even when mail data does not exist [see question above]. When will index directory be created? When account's first login?

Answer: It's created the first indexing or search.

Delete Flag

Does lucene create delete flag when index is deleted?

Answer: Yes.
Delete Flag Operational Details

If so, we believe that it creates only delete flag, and files having an actual index (such as segment file) will be deleted (reuse of disk space) only when segment is merged, or any function for optimization is called, is this correct?

Answer: Yes.
Is It The Same For zmmailboxmove With purgeOld

The above behavior is the same when executing zmmailboxmove with purgeOld?

Answer: No, it physically deletes the entire files.

Manually Deleting Lucene Index Directories

Please see King0770-Notes#Manually_Delete_Index_Directories

Performance Tuning

Please see Performance_Tuning_Guidelines_for_Large_Deployments#Lucene_Index

Jump to: navigation, search