组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Michael Wall
Lucene Re-index creates lots of empty data\document_library folders
2013年1月20日 上午12:34
答复

Michael Wall

等级: Junior Member

帖子: 56

加入日期: 2010年7月22日

最近的帖子

I'm using LR 6.0.12 EE and 6.0.6 CE.

I recently performed a Re-Index of search with the Server Administration > Reindex all search indexes functionality in Liferay. Afterwards I noticed that thousands of EMPTY folders have been created within data\document_library\10132, created during the Re-indexing. Same thing in other LR 6.0.12 EE enviroment.

Same thing happens with my instances of 6.0.6 CE but far fewer folders (due to the amount of data).

Is this expected behaviour?

I don't have any Search / Lucene or Document Library properties in portal-ex.properties.
David H Nebinger
RE: Lucene Re-index creates lots of empty data\document_library folders
2013年1月21日 上午5:23
答复

David H Nebinger

Community Moderator

等级: Liferay Legend

帖子: 11793

加入日期: 2006年9月1日

最近的帖子

Lucene manages a large search index, but over time the search tree can get out of balance (too many nodes on one side of the tree).

Reindexing will rebalance the tree and spread out the nodes to accommodate new growth.

Depending how much data your index may have, what you have noticed could be perfectly normal.

The only wrinkle that may be in the response, however, is your jdk. There are issues w/ lucene & jdk7, which is why jdk7 is not compatible w/ Liferay just yet. I don't know if jdk7 incompatibility results in all of the empty nodes, but if you are using jdk7 I'd switch back to oracle jdk 6.
Michael Wall
RE: Lucene Re-index creates lots of empty data\document_library folders
2013年1月28日 上午8:01
答复

Michael Wall

等级: Junior Member

帖子: 56

加入日期: 2010年7月22日

最近的帖子

Looks like it is a known bug: http://issues.liferay.com/browse/LPS-31848
Hitoshi Ozawa
RE: Lucene Re-index creates lots of empty data\document_library folders
2013年1月31日 下午2:37
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

Since you're using EE, you should be able to get a patch to fix this problem. If you don't know where, contact Liferay.com about it instead of here because you've paid Liferay.com to provide you with a patch when you purchased the EE subscription.