Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Nyeem Akhtar
INDEXABLE property in ExpandoBridgeIndexer is missing in Liferay 6.0SP2
January 2, 2012 4:53 AM
Answer

Nyeem Akhtar

Rank: New Member

Posts: 3

Join Date: December 8, 2011

Recent Posts

Hi,

I am using following code to make column indexded

UnicodeProperties properties = new UnicodeProperties();

properties.setProperty(
ExpandoBridgeIndexer.INDEXABLE, Boolean.TRUE.toString());

column.setTypeSettingsProperties(properties);


This code works fine in Liferay 6.0SP1 but is not working in SP2 since in class "ExpandoBridgeIndexer" public static final String INDEXABLE = "indexable" property is missing. Can any one please help me how to accomplish this task in SP2.
Christopher Jimenez
RE: INDEXABLE property in ExpandoBridgeIndexer is missing in Liferay 6.0SP2
January 10, 2012 8:23 AM
Answer

Christopher Jimenez

Rank: New Member

Posts: 10

Join Date: December 23, 2011

Recent Posts

I have same issue..... emoticon
Christopher Jimenez
RE: INDEXABLE property in ExpandoBridgeIndexer is missing in Liferay 6.0SP2
January 10, 2012 8:33 AM
Answer

Christopher Jimenez

Rank: New Member

Posts: 10

Join Date: December 23, 2011

Recent Posts

Christopher Jimenez:
I have same issue..... emoticon



I found one solution...

Use this
properties.setProperty("indexable", Boolean.TRUE.toString());
Neil Griffin
RE: INDEXABLE property in ExpandoBridgeIndexer is missing in Liferay 6.0SP2
April 12, 2012 1:17 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2145

Join Date: July 26, 2005

Recent Posts

If you look at com.liferay.portlet.expando.action.EditExpandoAction.java you'll see this quote, which I believe is equivalent:
1properties.setProperty(ExpandoColumnConstants.INDEX_TYPE,
2    String.valueOf(ExpandoColumnConstants.INDEX_TYPE_TEXT));
Denis Signoretto
RE: INDEXABLE property in ExpandoBridgeIndexer is missing in Liferay 6.0SP2
February 6, 2013 3:36 AM
Answer

Denis Signoretto

Rank: Regular Member

Posts: 216

Join Date: April 21, 2009

Recent Posts

Thanks Neil, for this useful information. It was really helpful.
Do you know if there is a place that collect all API variations between Liferay versions?

Regards.
Denis.