Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
mukund S
apache solr with liferay
November 28, 2012 4:23 AM
Answer

mukund S

Rank: Junior Member

Posts: 26

Join Date: October 25, 2012

Recent Posts

Hi,
After liferay is integrated with apache solr, how can we know that the liferay is using apche solr search ?
Hitoshi Ozawa
RE: apache solr with liferay
November 28, 2012 4:27 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Check if the data is being added to the solr from the solr admin console.
mukund S
RE: apache solr with liferay
November 28, 2012 6:07 AM
Answer

mukund S

Rank: Junior Member

Posts: 26

Join Date: October 25, 2012

Recent Posts

Could you please tell me in detail.......
After integrating, I went to server administration in liferay and clicked the EXECUTE button which is next to "Reindex all search indexes."
Then, when I got the following in the eclipse console.....


13:59:43,654 INFO [http-bio-8080-exec-6][LuceneIndexer:81] Reindexing Lucene started
13:59:43,736 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.assetpublisher.util.AssetIndexer started
13:59:43,738 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.assetpublisher.util.AssetIndexer completed in 0 seconds
13:59:43,739 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.usersadmin.util.OrganizationIndexer started
13:59:43,798 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.usersadmin.util.OrganizationIndexer completed in 0 seconds
13:59:43,799 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.usersadmin.util.UserIndexer started
13:59:44,502 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.usersadmin.util.UserIndexer completed in 0 seconds
13:59:44,508 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.journal.util.JournalIndexer started
13:59:44,564 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.journal.util.JournalIndexer completed in 0 seconds
13:59:44,565 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.messageboards.util.MBIndexer started
13:59:44,722 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.messageboards.util.MBIndexer completed in 0 seconds
13:59:44,723 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.bookmarks.util.BookmarksIndexer started
13:59:44,872 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.bookmarks.util.BookmarksIndexer completed in 0 seconds
13:59:44,873 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.blogs.util.BlogsIndexer started
13:59:44,877 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.blogs.util.BlogsIndexer completed in 0 seconds
13:59:44,878 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.wiki.util.WikiIndexer started
13:59:44,976 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.wiki.util.WikiIndexer completed in 0 seconds
13:59:44,977 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.calendar.util.CalIndexer started
13:59:45,059 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.calendar.util.CalIndexer completed in 0 seconds
13:59:45,060 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer started
13:59:45,085 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer completed in 0 seconds
13:59:45,085 INFO [http-bio-8080-exec-6][LuceneIndexer:155] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer started
13:59:45,266 INFO [http-bio-8080-exec-6][LuceneIndexer:163] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer completed in 0 seconds
13:59:45,267 INFO [http-bio-8080-exec-6][LuceneIndexer:129] Reindexing Lucene completed in 1 seconds


Is this correct ?
Also tell me in detail, how to check the data is being added in admin console
Hitoshi Ozawa
RE: apache solr with liferay
November 28, 2012 3:29 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Not liferay but Solr.
See Solr Admin GUI console. You do have Solr running, don't you?

http://wiki.apache.org/solr/SolrAdminGUI
mukund S
RE: apache solr with liferay
November 28, 2012 10:12 PM
Answer

mukund S

Rank: Junior Member

Posts: 26

Join Date: October 25, 2012

Recent Posts

When I am searching anything in the liferay, I am getting some error.....I want to know how to change the library from downloaded version because I think now the solr is only indexing the data and not searching in liferay.......
Could you help me?
Ravi M
RE: apache solr with liferay
November 11, 2013 8:45 PM
Answer

Ravi M

Rank: New Member

Posts: 9

Join Date: October 29, 2011

Recent Posts

After integrating Solr with liferay Re-index all data. (Control Panel -> Server Administration ->Reindex).
Once reindexing is done look at the solr_home/data/index it must have some data accumulated.

Then try to search, It should work..!!