Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
raja m
search arabic text in liferay is not working
January 24, 2013 4:01 AM
Answer

raja m

Rank: Junior Member

Posts: 26

Join Date: December 20, 2010

Recent Posts

Hi
i have a problem.i am able to insert arabic text into database but i am unable to search arabic text from database.Any help would be appreciated
Thanks
Raja.M
Amit Doshi
RE: search arabic text in liferay is not working
January 24, 2013 5:01 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 543

Join Date: December 29, 2010

Recent Posts

raja m:
Hi
i have a problem.i am able to insert arabic text into database but i am unable to search arabic text from database.Any help would be appreciated
Thanks
Raja.M


Are you creating custom portlet and inserting into it or any OOB ?
Whether you are using solr index or Lucene Index?

Please be specific

Thanks & Regards,
Amit Doshi
raja m
RE: search arabic text in liferay is not working
January 24, 2013 5:04 AM
Answer

raja m

Rank: Junior Member

Posts: 26

Join Date: December 20, 2010

Recent Posts

yes I am using custom portlet and insert arabic text into database

by finder method or dynamic query i am unable to search arabic value by column (column in table is utf 8)
raja m
RE: search arabic text in liferay is not working
January 24, 2013 5:18 AM
Answer

raja m

Rank: Junior Member

Posts: 26

Join Date: December 20, 2010

Recent Posts

i am not using any index
Amit Doshi
RE: search arabic text in liferay is not working
January 24, 2013 5:28 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 543

Join Date: December 29, 2010

Recent Posts

raja m:
i am not using any index

Raja,

As you are not using any indexer. So it is directly coming from DB.
Have you applied the Query directly into the DB and getting any result for the same as it is DB specific ?

Thanks & Regards,
Amit Doshi
raja m
RE: search arabic text in liferay is not working
January 24, 2013 5:32 AM
Answer

raja m

Rank: Junior Member

Posts: 26

Join Date: December 20, 2010

Recent Posts

i am able to get from db directly, the problem is ,it is not properly encoded as utf 8 and pass to hibernate as we know liferay internally uses hibernate