Blogs

Blogs

How to reindex content search indices in Liferay Portal 6.2

Overview

Sometimes you need to manually reindex some, or all, of the content search indices.

Liferay Portal 6.2 provides search indexing functions for many content types.

e.g.

  • Blog
  • Document
  • Journal Article
  • Wiki

The content reindex functions apply to the registered search engine provider.

e.g.

  • Apache Lucene
  • Apche Solr

Usage

Rebuild search index for all content types

1/ Connect to Liferay Portal

2/ Sign in as portal admin user

3/ Navigate to Control Panel > Server Administration > Resources

4/ Click "Reindex Search" button.

NOTE: The index time can vary greatly depending upon search engine (e.g. Lucene or Solr), CPU, disk speed of document library, volume of content entries etc.

e.g.

Rebuild search index for single content type

1/ Connect to Liferay Portal

2/ Sign in as portal admin user

3/ Navigate to Control Panel > Apps > Liferay Core

4/ Click "Reindex Search" button for target content type.

NOTE: The index time can vary greatly depending upon search engine (e.g. Lucene or Solr), CPU, disk speed of document library, volume of content entries etc.

e.g.

 

1

can we do Reindexing for document programetically  ?