Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Solr and Liferay 6.1 Integration problem Florencia Gadea 16 de Maio de 2012 05:28
RE: Solr and Liferay 6.1 Integration problem Bart Simpson 16 de Maio de 2012 05:48
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 16 de Maio de 2012 06:17
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 16 de Maio de 2012 08:47
RE: Solr and Liferay 6.1 Integration problem Bart Simpson 17 de Maio de 2012 00:17
RE: Solr and Liferay 6.1 Integration problem mukund S 29 de Novembro de 2012 03:12
RE: Solr and Liferay 6.1 Integration problem Amit Doshi 17 de Maio de 2012 00:59
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 17 de Maio de 2012 03:23
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 18 de Maio de 2012 07:30
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 18 de Maio de 2012 09:06
RE: Solr and Liferay 6.1 Integration problem Amit Doshi 18 de Maio de 2012 12:54
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 21 de Maio de 2012 03:05
RE: Solr and Liferay 6.1 Integration problem Amit Doshi 21 de Maio de 2012 03:21
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 21 de Maio de 2012 03:26
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 21 de Maio de 2012 03:27
RE: Solr and Liferay 6.1 Integration problem Amit Doshi 21 de Maio de 2012 04:33
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 21 de Maio de 2012 04:40
RE: Solr and Liferay 6.1 Integration problem Amit Doshi 21 de Maio de 2012 04:52
RE: Solr and Liferay 6.1 Integration problem Vitor Silva 21 de Maio de 2012 05:03
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 21 de Maio de 2012 05:17
RE: Solr and Liferay 6.1 Integration problem Vitor Silva 21 de Maio de 2012 06:23
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 21 de Maio de 2012 06:23
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 21 de Maio de 2012 06:39
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 21 de Maio de 2012 08:24
RE: Solr and Liferay 6.1 Integration problem Amit Doshi 21 de Maio de 2012 23:49
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 22 de Maio de 2012 05:25
RE: Solr and Liferay 6.1 Integration problem Amit Doshi 22 de Maio de 2012 05:30
[SOLVED] Solr and Liferay 6.1 Integration problem Florencia Gadea 22 de Maio de 2012 06:25
RE: Solr and Liferay 6.1 Integration problem Amit Doshi 22 de Maio de 2012 06:29
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 22 de Maio de 2012 22:27
RE: Solr and Liferay 6.1 Integration problem Vitor Silva 23 de Maio de 2012 02:05
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 23 de Maio de 2012 04:01
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 23 de Maio de 2012 05:02
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 23 de Maio de 2012 05:47
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 23 de Maio de 2012 07:31
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 23 de Maio de 2012 20:56
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 30 de Maio de 2012 05:36
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 7 de Junho de 2012 03:15
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 7 de Junho de 2012 07:58
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 12 de Junho de 2012 00:00
RE: Solr and Liferay 6.1 Integration problem Kris Sokolovski 12 de Junho de 2012 00:19
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 12 de Junho de 2012 01:40
RE: Solr and Liferay 6.1 Integration problem Kris Sokolovski 12 de Junho de 2012 03:49
RE: Solr and Liferay 6.1 Integration problem Murat ÇOLAK 9 de Março de 2013 05:04
RE: Solr and Liferay 6.1 Integration problem Rehan Pathan 26 de Julho de 2013 09:31
RE: Solr and Liferay 6.1 Integration problem Hemant Kumar Singh 17 de Outubro de 2012 23:42
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 21 de Maio de 2012 20:57
RE: Solr and Liferay 6.1 Integration problem Ramalingam G 8 de Junho de 2012 05:27
RE: Solr and Liferay 6.1 Integration problem James Falkner 11 de Junho de 2012 07:59
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 11 de Junho de 2012 23:59
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 12 de Junho de 2012 05:37
RE: Solr and Liferay 6.1 Integration problem Rajarshi Chakrabarty 18 de Junho de 2012 22:49
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 25 de Junho de 2012 21:40
RE: Solr and Liferay 6.1 Integration problem Rajarshi Chakrabarty 25 de Junho de 2012 23:07
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 25 de Junho de 2012 23:23
RE: Solr and Liferay 6.1 Integration problem Kris Sokolovski 25 de Junho de 2012 23:30
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 29 de Junho de 2012 03:10
RE: Solr and Liferay 6.1 Integration problem Kris Sokolovski 29 de Junho de 2012 03:22
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 29 de Junho de 2012 03:28
RE: Solr and Liferay 6.1 Integration problem Rajarshi Chakrabarty 27 de Junho de 2012 03:52
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 27 de Junho de 2012 05:33
RE: Solr and Liferay 6.1 Integration problem Rajarshi Chakrabarty 28 de Junho de 2012 04:04
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 29 de Junho de 2012 03:08
RE: Solr and Liferay 6.1 Integration problem Rajarshi Chakrabarty 1 de Julho de 2012 23:26
RE: Solr and Liferay 6.1 Integration problem Namrata Hangal 2 de Julho de 2012 03:08
RE: Solr and Liferay 6.1 Integration problem Rajarshi Chakrabarty 4 de Julho de 2012 00:12
RE: Solr and Liferay 6.1 Integration problem Ramalingam G 21 de Junho de 2012 01:49
RE: Solr and Liferay 6.1 Integration problem Hemant Kumar Singh 17 de Outubro de 2012 23:16
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 18 de Outubro de 2012 10:00
RE: Solr and Liferay 6.1 Integration problem Hemant Kumar Singh 18 de Outubro de 2012 21:17
RE: Solr and Liferay 6.1 Integration problem Florencia Gadea 19 de Outubro de 2012 04:34
RE: Solr and Liferay 6.1 Integration problem Hemant Kumar Singh 21 de Outubro de 2012 22:17
RE: Solr and Liferay 6.1 Integration problem Hitoshi Ozawa 18 de Outubro de 2012 17:28
RE: Solr and Liferay 6.1 Integration problem Hemant Kumar Singh 18 de Outubro de 2012 21:51
RE: Solr and Liferay 6.1 Integration problem Hemant Kumar Singh 24 de Outubro de 2012 22:15
RE: Solr and Liferay 6.1 Integration problem Ranga Rao Bobbili 18 de Janeiro de 2013 07:26
RE: Solr and Liferay 6.1 Integration problem Manish Kumar 31 de Janeiro de 2013 01:05
RE: Solr and Liferay 6.1 Integration problem Ranga Rao Bobbili 31 de Janeiro de 2013 07:00
RE: Solr and Liferay 6.1 Integration problem mukund S 29 de Novembro de 2012 03:19
RE: Solr and Liferay 6.1 Integration problem Mahesh Narke 4 de Dezembro de 2013 02:35
RE: Solr and Liferay 6.1 Integration problem Hemant Kumar Singh 16 de Outubro de 2012 02:47
RE: Solr and Liferay 6.1 Integration problem Ediz Bozüyük 14 de Novembro de 2012 05:57
RE: Solr and Liferay 6.1 Integration problem Andy Hauger 2 de Dezembro de 2013 08:19
Florencia Gadea
Solr and Liferay 6.1 Integration problem
16 de Maio de 2012 05:28
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Everyone,

I'm trying to make Solr work with Liferay 6.1, in Ubuntu. As there is no solr-web plugin for Liferay 6.1, I decided to download the solr-web sources from the svn server and compile it myself. I created the war and installed it. Everything went ok. I also go to http://localhost:8080/solr/admin/ and Solr is up and running. But when I go to Control Panel -> Server -> server administration -> Reindex all search indexes and click on Execute, it indexes with Lucene, not Solr (from what I see in the log). Besides, I'm not sure how to check if it is using Solr or not.

What do I have to do now to make Solr work?

TIA,

Florencia.
Bart Simpson
RE: Solr and Liferay 6.1 Integration problem
16 de Maio de 2012 05:48
Resposta

Bart Simpson

Ranking: Liferay Master

Mensagens: 523

Data de entrada: 29 de Agosto de 2011

Mensagens recentes

Do you see some kind of error in liferay console that it's not able to connect to Solr?
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
16 de Maio de 2012 06:17
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Paul,

No, I don't see any errors in the console. It loads a lot of Solr's stuff.

This is what I see when I run execute:

 1
 213:13:05,255 INFO  [LuceneIndexer:74] Reindexing Lucene started
 313:13:05,365 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.assetpublisher.util.AssetIndexer started
 413:13:05,367 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.assetpublisher.util.AssetIndexer completed in 0 seconds
 513:13:05,370 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.usersadmin.util.OrganizationIndexer started
 613:13:05,754 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.usersadmin.util.OrganizationIndexer completed in 0 seconds
 713:13:05,758 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.usersadmin.util.UserIndexer started
 813:13:08,124 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.usersadmin.util.UserIndexer completed in 2 seconds
 913:13:08,125 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.journal.util.JournalIndexer started
1013:13:08,504 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.journal.util.JournalIndexer completed in 0 seconds
1113:13:08,505 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.messageboards.util.MBIndexer started
1213:13:09,140 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.messageboards.util.MBIndexer completed in 0 seconds
1313:13:09,141 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.bookmarks.util.BookmarksIndexer started
1413:13:09,734 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.bookmarks.util.BookmarksIndexer completed in 0 seconds
1513:13:09,735 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.blogs.util.BlogsIndexer started
1613:13:09,819 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.blogs.util.BlogsIndexer completed in 0 seconds
1713:13:09,822 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.wiki.util.WikiIndexer started
1813:13:11,352 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.wiki.util.WikiIndexer completed in 1 seconds
1913:13:11,353 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.calendar.util.CalIndexer started
2013:13:11,370 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.calendar.util.CalIndexer completed in 0 seconds
2113:13:11,370 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer started
2213:13:11,389 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer completed in 0 seconds
2313:13:11,390 INFO  [LuceneIndexer:148] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer started
2413:13:11,691 INFO  [LuceneIndexer:154] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer completed in 0 seconds
2513:13:11,691 INFO  [LuceneIndexer:122] Reindexing Lucene completed in 6 seconds


Regards,

Flor.
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
16 de Maio de 2012 08:47
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Besides, if I query some keywords in the Solr admin I don't get any results. Even if I query a *, I get no results, so I assume Solr is not working.
Bart Simpson
RE: Solr and Liferay 6.1 Integration problem
17 de Maio de 2012 00:17
Resposta

Bart Simpson

Ranking: Liferay Master

Mensagens: 523

Data de entrada: 29 de Agosto de 2011

Mensagens recentes

I have done the integration with 6.0 and there it indicates error when it's wasn't able to connect to Sorl. I'll try integration with 6.1 and update my findings.
Amit Doshi
RE: Solr and Liferay 6.1 Integration problem
17 de Maio de 2012 00:59
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 544

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes

Hi Florencia,

I think Still your Liferay is not integrated with Solr. So, it is still searching in the Lucene.

Can you please mention the steps how you had done configuration for solr with Liferay ?

Because I think you are missing some steps.

Thanks & Regards,
Amit Doshi
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
17 de Maio de 2012 03:23
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Amit is right here.

What you have done so far Florencia is install only Solr. Another .war plugin needs to be deployed onto Liferay_Home/deploy in order to integrate it. Even after the integration is done, you need to Execute Reindex from control panel/server administration.

I'm also trying the same. Let me know what steps you have followed...!

Regards,
Namrata
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
18 de Maio de 2012 07:30
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Everyone,

Here are the steps I followed:

A) Installed the Solr example as an instance under Tomcat:

A.1) Downloaded the 1.4.1 sources of Solr and uncompressed the zip file under /opt/solr. Installed it following the steps from http://lucene.apache.org/solr/
A.2) Executed ant dist in the source directory (so the apache-solr-1.4.1.war was created).
A.3) Executed ant example in the source directory.
A.4) Copied the war file into /opt/solr/example.
A.5) Created the solr.xml file in $TOMCAT_DIR/conf/Catalina/localhost, with the following text:
1
2        <?xml version="1.0" encoding="utf-8"?>
3                <Context docBase="/opt/solr/example/apache-solr-1.4.1.war" debug="0" crossContext="true">
4                         <Environment name="solr/home" type="java.lang.String" value="/opt/solr/example/solr" override="true"/>
5                </Context>

A.6) At the end of $TOMCAT_DIR/bin/setenv.sh added the following line: JAVA_OPTS="$JAVA_OPTS -Dsolr.solr.home=/opt/solr/example/solr/data
A.7) Appended -Dsolr.solr.home=/opt/solr/example/solr to the $JAVA_OPTS variable in catalina.sh.
A.8) I checked that the proper schema.xml file is under /opt/solr/example/solr/conf.
A.9) If I go to localhost:8080/solr/admin I see solr up and running.

B ) Installed the sorl-web plugin in my liferay instance:

B.1) Checked out liferay and solr-web from the svn repositories.
B.2) In solr-spring.xml I let the localhost:8080 address, because that is where it is running.
B.2) Compiled liferay, solr-web and created the solr-web-6.1.0.1.war file.
B.3) Started up tomcat.
B.4) In my liferay instance, I installed the solr-web-6.1.0.1.war file from the Plugin Installer. catalina.out did not show any errors, apparently the installation was ok.
B.5) I executed Control Panel -> Server -> server administration -> Reindex all search indexes.

Solr is still not integrated with Liferay. What am I missing?

Regards,

Florencia.
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
18 de Maio de 2012 09:06
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

By the way, when I deploy the solr-web plugin, this is what catalina.out shows:

 116:03:45,797 INFO  [AutoDeployDir:167] Processing solr-web-6.1.0.1.war
 216:03:45,837 INFO  [WebAutoDeployListener:43] Copying web plugin for /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/deploy/solr-web-6.1.0.1.war
 3  Expanding: /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/deploy/solr-web-6.1.0.1.war into /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/20120518160345839
 4  Copying 1 file to /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/20120518160345839/WEB-INF
 5  Copying 1 file to /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/20120518160345839/WEB-INF/classes
 6  Copying 1 file to /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/20120518160345839/WEB-INF/classes
 7  Copying 1 file to /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/20120518160345839/META-INF
 8  Copying 58 files to /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/solr-web
 9  Copying 1 file to /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/solr-web
10  Deleting directory /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/20120518160345839
1116:03:46,331 INFO  [WebAutoDeployListener:49] Web plugin for /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/deploy/solr-web-6.1.0.1.war copied successfully. Deployment will start in a few seconds.
12May 18, 2012 4:03:51 PM org.apache.catalina.startup.HostConfig deployDirectory
13INFO: Deploying web application directory /opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/solr-web
1416:03:51,992 INFO  [PluginPackageUtil:1099] Reading plugin package for solr-web
15Loading file:/opt/liferay/innovation/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/1-solr-web/WEB-INF/classes/portlet.properties


So I assume that the plugin was properly installed.

Regards,

Flor.
Amit Doshi
RE: Solr and Liferay 6.1 Integration problem
18 de Maio de 2012 12:54
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 544

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes

Hi Florencia,

Please check below blog that was written by me.

http://liferaytrends.blogspot.in/2012/05/integrating-solr-with-liferay-6.html

The Blog was written Considering the Solr with Liferay 6.0.10 but I don't think there will be any changes if you use Liferay 6.1 the integration Steps will remain the same.

Hope it helps.

Thanks & Regards,
Amit Doshi
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 03:05
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Amit,

Could you please provide an excerpt from your article? Blogs are not accessible from within some secure LAN networks.
Appreciate your help

Regards
Amit Doshi
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 03:21
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 544

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes

Hi Namrata,

I just copy pasted from my blog, sorry for bad formatting.

Building Solr & Installing Solr instance on tomcat.




1. Download Solr-1.3.0 release from Solr.
2. Unzip .tar on some location. For eg. /opt/solr/
3. Make /opt/solr/example/solr as a $SOLR_HOME.
4. Copy apache-solr-1.3.0.war file from /opt/solr/dist and paste it into /opt/solr/example/solr.
5. Open up the /opt/solr/example/solr/conf/solrconfig.xml
Replace
<dataDir>${solr.data.dir: ./solr/data}</dataDir>
by following
<dataDir>${solr.data.dir:/opt/solr/example/solr/data}</dataDir>


Note: The dataDir can also be temporarily overridden with the JAVA_OPTS environment variable prior to starting Tomcat
export JAVA_OPTS="$JAVA_OPTS -Dsolr.data.dir=/opt/solr/example/solr/data"

6. It is recommended to run the Solr instance on separate tomcat instance other than liferay tomcat.
7. So for separate tomcat for solr, consider it here. $SOLR_TOMCAT
8. Into $SOLR_TOMCAT/conf/Catalina/localhost , create one solr.xml file and copy following content into the file and save it.

<context crosscontext="true" debug="0" docbase="/opt/solr/example/solr/apache-solr-1.3.0.war">

<environment name="solr/home" override="true" type="java.lang.String" value="/opt/solr/example/solr">

</environment>
</context>


9. Now start tomcat and check that it is running without any error or not.

Integrating Solr plugin with Liferay



1. Download Solr plugin which is compatible with the Liferay version.
2. Drop the plugin into $LIFERAY_HOME/deploy directory.
3. Start liferay tomcat server. After started liferay tomcat, just stop both the tomcat servers (SOLR_TOMCAT and LIFERAY_TOMCAT).
4. Openup the $LIFERAY_HOME/tomcat-6.0.18/webapps/solr-web/WEB-INF/classes/META-INF/solr-spring.xml

for bean id=”solrServer” give the solar tomcat settings and save it.
for eg. http://localhost:8181/solr

5. Copy the $LIFERAY_HOME/tomcat-6.0.18/webapps/solr-web/WEB-INF/conf/schema.xml file and paste it into /opt/solr/example/solr/conf/ directory.
And it is done now.

Thanks & Regards,
Amit Doshi
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 03:26
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Thanks Amit! emoticon

Just curious to know which plugin you downloaded
Download Solr plugin which is compatible with the Liferay version.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 03:27
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

I tried integrating solr 1.4.1 with liferay 6.1 but facing a lot of issues.
Here's a link to the discussion thread -
http://www.liferay.com/community/forums/-/message_boards/message/12593031

Any suggestions/inputs?
Thanks
Amit Doshi
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 04:33
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 544

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes

Hi Namrata,

The above configuration I done is with Liferay 6.0.10 with apache-solr-1.3.0

Thanks & Regards,
Amit Doshi
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 04:40
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Yes Amit, I understood which versions of solr and liferay you are using.
What I wanted to know is where did you download the solr-web plugin for liferay from?
Amit Doshi
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 04:52
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 544

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes

For Liferay 6.0.10, we are getting solr-web plugin from Plugin Installation--> Web Plugins.

There is a problem with 6.1. We are not getting solr-web from Plugins installion. As we are using EE for 6.1 so with the help Liferay Credentials of EE, we are directly downloading from Liferay Website.
Vitor Silva
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 05:03
Resposta

Vitor Silva

LIFERAY STAFF

Ranking: Junior Member

Mensagens: 36

Data de entrada: 3 de Maio de 2012

Mensagens recentes

Actually I managed to integrate SOLR 3.6 with Liferay Portal 6.1. I am doing tests as we speak.
The solr-web needed to change the dependency classpath to the jars inside the distribution folder of solr 3.6.
Even so, the official integration with 1.4.1 of SOLR must work.
To better understand the behaviour of Liferay + SOLR, what Liferay does is delegate the indexing mechanism on solr-web that operates against solr through http. The result queries made by solr-web are then translated to Liferay again. The communication between Liferay and Solr-web is done via the Liferay Message Bus.
Some common issues may occur:
- Users are not displayed (this means an error occurred while doing the HTTP SOLR querie against SOLR). Probably the solr endpoint is not properly configured in the solr-spring.xml inside solr-web or it is a solr-web classpath problem. Refresh the Users and Organizations page and check the log file.
- Lucene is being used instead of SOLR. Of you see the LuceneIndexer executing this means the SOLR-Web probably failed to start. Upon installation ( put it inside the deploy folder of course) SOLR-Web will register SOLR as the indexing engine. If SOLR-Web fails to start then the default Lucene indexer will execute.

To help the first thing that should be done is check the SOLR endpoint to see if it is running. Then solr can be configured for debug level to see the queries being made, for example refreshing the Users and Organizations page will result on a specific querie. Check for errors. If the request didn't reach the SOLR Server, go to Liferay control panel and activate "com.liferay.portal.kernel.search" package to debug level . This will show you the query that was issued for execution against solr.

Keep in mind that the most common is something solr-web related or your solr server instance is not running on localhost:8080, and the spring bean is not properly configured.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 05:17
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Vitor,

Thanks for the inputs.

Would really appreciate if you could tell, for the benefit of all those struggling with this task, the steps you have followed.

I have followed all steps, to the point, but haven't been able to integrate solr 1.4.1 with liferay 6.1.
I'm also curious to know why there isn't any official web plugin for 6.1? I downloaded the one at sourceforge!

Thanks & Regards
Vitor Silva
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 06:23
Resposta

Vitor Silva

LIFERAY STAFF

Ranking: Junior Member

Mensagens: 36

Data de entrada: 3 de Maio de 2012

Mensagens recentes

Namrata Hangal:
Hi Vitor,

Thanks for the inputs.

Would really appreciate if you could tell, for the benefit of all those struggling with this task, the steps you have followed.

I have followed all steps, to the point, but haven't been able to integrate solr 1.4.1 with liferay 6.1.
I'm also curious to know why there isn't any official web plugin for 6.1? I downloaded the one at sourceforge!

Thanks & Regards


Hi Namrata,
It is the official Community plugin, it is available for download at sourceforge.
The official Enterprise plugin is allocated on Liferay Servers of course.
Which steps have you followed?
I will re-install everything in a clean Liferay 6.1 and create a step by step report here.
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 06:23
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Everyone,

I've followed Amit's guide step by step, and still no luck. I keeps using Lucene.

Solr is up and running in a different Tomcat instance.

What else should I try?
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 06:39
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Here is the web plugin I used, I compiled from the sources.
Anexos: solr-web-6.1.0.1.war (1.323,6k)
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 08:24
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Everyone,

Following Amit's guide, I installed solr-web plugin with Liferay 6.0. It works perfectly. It was a piece of cake. But I can't install it with Liferay 6.1. Can anyone point me out where that plugin is? Where can I donwload it from? It should be here: http://www.liferay.com/downloads/liferay-portal/official-plugins/-/software_catalog/products/1188376
But I don't see any official solr-web plugin for Liferay 6.1.

Vitor, I'll be waiting for you step-by-step report.

Regards,

Flor.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 20:57
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Vitor,

The steps I followed, in short, are -
1) Install Solr -> I'm confident this is working fine since I am able to view the solr admin at http://hostname:port/solr/admin
It picks up the (example) schema after installation.
2) I downloaded the solr-web plugin from sourceforge. Modified solr-spring.xml to point to the correct solr url
3) Replaces solr installation's schema.xml with solr-web's schema.xml. When I restart the solr instance, it picks up the new (liferay) schema. I am able to see it on solr admin
4) I repackaged solr-web as war and dropped in into Liferay's deploy folder.
I don't see a successful deployment message! A few errors, in fact.
5) I reindex search in the control panel. In liferay logs, I see Lucene being used for reindexing again. So definitely liferay is unable to pick solr for indexing.
6) When I search for something in liferay, it generates a lot of errors. From the logs I see that it tries to use solr for search but since probably the reindexing with solr failed, it results in a blank search result window! Note: When I remove the solr-web I get search result perfectly!
7) I searched for the same article in solr-admin and I was able to see the search result. So definitely solr is at work but the reindexing at liferay has failed somehow.

Am not able to understand what have I done wrong?
Please help!
Amit Doshi
RE: Solr and Liferay 6.1 Integration problem
21 de Maio de 2012 23:49
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 544

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes


Following Amit's guide, I installed solr-web plugin with Liferay 6.0. It works perfectly. It was a piece of cake. But I can't install it with Liferay 6.1. Can anyone point me out where that plugin is? Where can I donwload it from? It should be here: http://www.liferay.com/downloads/liferay-portal/official-plugins/-/software_catalog/products/1188376
But I don't see any official solr-web plugin for Liferay 6.1.


Thanks Florencia for the compliment. Good to hear it works for you.

I downloaded the plugins for the EE from the liferay website only . It was successfully integrated solr 1.4.0 with liferay 6.1 following the same step that I posted.
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
22 de Maio de 2012 05:25
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Amit,

Could you please post the url where you downloaded the plugin from? Because I still can't make it work with Liferay 6.1.

Thanks,

Flor.
Amit Doshi
RE: Solr and Liferay 6.1 Integration problem
22 de Maio de 2012 05:30
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 544

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes

As we are using Enterprise Edition, We have Customer Login Credential for it from liferay. So we are able to download the solr war file from the liferay.
Florencia Gadea
[SOLVED] Solr and Liferay 6.1 Integration problem
22 de Maio de 2012 06:25
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Everyone,

I finally made Solr work with Liferay 6.1!!! The solr-web plugin from the svn repository does not work. I got another one from this url: http://releases.liferay.com/plugins/6.1.0-ga1/solr-web-6.1.0.1-ce-ga1-20120106155615760.war

That is the plugin that finally worked. Following Amit's instructions with that plugin, everything will work ok.

Thanks to everyone.

Regards,

Flor.
Amit Doshi
RE: Solr and Liferay 6.1 Integration problem
22 de Maio de 2012 06:29
Resposta

Amit Doshi

Ranking: Liferay Master

Mensagens: 544

Data de entrada: 29 de Dezembro de 2010

Mensagens recentes

Good to know that Florencia .. Looking for Namrata response now. Hope after downloading the war file from the mentioned link. She will also managed to configure it.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
22 de Maio de 2012 22:27
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

emoticon I don't understand what am I doing wrong.
I have already tried using that war file!

I have solr and liferay running on jboss 5.1
When I reindex, I still see
[LuceneIndexer:74] Reindexing Lucene started
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.assetpublisher.util.AssetIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.assetpublisher.util.AssetIndexer completed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.usersadmin.util.OrganizationIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.usersadmin.util.OrganizationIndexer completed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.usersadmin.util.UserIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.usersadmin.util.UserIndexer completed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.journal.util.JournalIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.journal.util.JournalIndexer completed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.messageboards.util.MBIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.messageboards.util.MBIndexer completed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.bookmarks.util.BookmarksIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.bookmarks.util.BookmarksIndexer completed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.blogs.util.BlogsIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.blogs.util.BlogsIndexer completed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.wiki.util.WikiIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.wiki.util.WikiIndexer completed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.calendar.util.CalIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.calendar.util.CalIndexer completed in seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer compleed in 0 seconds
INFO [LuceneIndexer:148] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer started
INFO [LuceneIndexer:154] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer completed in 0 seconds
INFO [LuceneIndexer:122] Reindexing Lucene completed in 0 seconds


Following are the errors I am get when I search for something in liferay -
1ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
2java.lang.NullPointerException
3    at com.liferay.portal.search.solr.facet.SolrFacetFieldCollector.getTermCollector(SolrFacetFieldCollector.java:52)


1ERROR [IncludeTag:426] Current URL /web/guest/home?p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=2&_3_struts_action=%2Fsearch%2Fsearch&_3_redirect=%2Fweb%2Fguest%2Fhome&_3_keywords=lucene&_3_groupId=0 generates exception: java.lang.NullPointerException
210:51:02,288 INFO  [STDOUT] 10:51:02,288 ERROR [IncludeTag:154] java.lang.NullPointerException
3    at com.liferay.portal.search.solr.facet.SolrFacetFieldCollector.getTermCollector(SolrFacetFieldCollector.java:52)


But I see the lot of processing on solr console.

Any guesses what's going wrong?
Vitor Silva
RE: Solr and Liferay 6.1 Integration problem
23 de Maio de 2012 02:05
Resposta

Vitor Silva

LIFERAY STAFF

Ranking: Junior Member

Mensagens: 36

Data de entrada: 3 de Maio de 2012

Mensagens recentes

Sorry I didn't had time to check this yesterday, I will try to do it today.
Running solr 3.6 with 6.1 CE will be impossible though. I had to change the source code, to change the classpath, to add dependencies, and then I got a problem while searching, it has to do with the solr query, I will look at this later.
I will try to reproduce your error with1.4.1 doing your exact steps
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
23 de Maio de 2012 04:01
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

That would be very helpful Vitor. Thanks!

Specifically I'd like to mention that I'm running both, Solr and Liferay on Jboss 5.1.
Both have been configured to work on the same jboss installation but different port-sets. They are working perfectly fine. I do not see any installation errors in either logs.

I'm only worried about this solr integration. Have been struggling since 2-3 days and I need to find a solution asap!
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
23 de Maio de 2012 05:02
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Namrata,

I get the same errors!

Even I see that Lucene is indexing, the solr server is also indexing! So it is working fine, except for those exceptions.

Regards,

Flor.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
23 de Maio de 2012 05:47
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Flor,

So,

Even I see that Lucene is indexing, the solr server is also indexing!

I didn't get what you meant by solr server is also indexing? I mean, I can see whole lot of stuff happening at the solr console but I fail to see a solr indexing status message in liferay's console. I only see LuceneIndexer everywhere.

So it is working fine, except for those exceptions.

Did you try searching users, portlet content etc.? Are you getting the results on liferay's UI? Because I just get blank result page with those exceptions thrown at the backend console!

Can you please tell me how you tested solr to be working fine? Maybe I can follow the same to check at my end.
Thanks!
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
23 de Maio de 2012 07:31
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Namrata,

When you execute the "Reindex data blah blah" is when solr indexes too. You won't see anything in the Liferay console, but in the Solr console.

When I search through the search portlet, I get results (and the exceptions in the console).

Did you try going to the Solr web admin? The url should be something like: http://localhost:8080/solr/admin/ (the host and port depend on your configuration)

You can also search through the admin, to see if there is indexed data.

I run Solr in a different servlet container than Liferay (I use tomcat).

Regards,

Flor.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
23 de Maio de 2012 20:56
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hmm... Well then I guess the integration was done long back emoticon

Hoping that a Liferay Official staff would see this discussion and comment on the exceptions that we're getting!! Probably raise a ticket for this issue?
As a developer I may be able to understand why the exceptions are coming in or I might even bypass/ignore them. But a client wouldn't be ok with it!

Just that I'm still not comfortable seeing those exceptions in my console...emoticon

Thanks for the inputs though Flor. I would've still been beating around the bush wondering why solr isn't indexing in liferay's console!
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
30 de Maio de 2012 05:36
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Namrata!

Did you have any progress with this?

Regards,

Florencia.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
7 de Junho de 2012 03:15
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hey Flor,

Yes, I was able to integrate Solr 1.4.1 as well as Solr 3.5 with Liferay 6.1.

Currently, I'm trying to make it work with v3.6 of Solr. Getting a few schema based errors.
I really do hope Liferay updates their solr-web plugin to work with the recent versions of Solr...!

Regards,
Namrata
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
7 de Junho de 2012 07:58
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Namrata!

Congratulations!

Did you get rid of the exceptions you had?

Regards,

Flor.
Ramalingam G
RE: Solr and Liferay 6.1 Integration problem
8 de Junho de 2012 05:27
Resposta

Ramalingam G

Ranking: New Member

Mensagens: 2

Data de entrada: 10 de Agosto de 2011

Mensagens recentes

As per Liferay, Liferay 6.1 will work with Solr 1.4.1 only and It is working fine for me.How to make it work with latest solr version 3.6.
James Falkner
RE: Solr and Liferay 6.1 Integration problem
11 de Junho de 2012 07:59
Resposta

James Falkner

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1216

Data de entrada: 17 de Setembro de 2010

Mensagens recentes

Ramalingam G:
As per Liferay, Liferay 6.1 will work with Solr 1.4.1 only and It is working fine for me.How to make it work with latest solr version 3.6.



Check out and 'watch' this ticket. There is a link to a community member's github acct where they apparently have gotten Solr 3.1 to work, so it shouldn't be much harder to get 3.6 to work.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
11 de Junho de 2012 23:59
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Ramalingam,

I have managed to get Liferay 6.1 working with Solr 3.6.
I just am not sure if it's fool-proof!

Regards,
Namrata
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
12 de Junho de 2012 00:00
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Flor,

The exceptions still haunt me but the search seems to be working fine for now!
Kris Sokolovski
RE: Solr and Liferay 6.1 Integration problem
12 de Junho de 2012 00:19
Resposta

Kris Sokolovski

Ranking: New Member

Mensagens: 8

Data de entrada: 13 de Novembro de 2011

Mensagens recentes

Hi Namrata!

I am glad You managed to make it working on Solr 3.6.

Were these errors related solr schema? Are they familiar to these:
 106:56:29,413 INFO  [PluginPackageUtil:1026] Reading plugin package for solr-web
 206:56:29,664 ERROR [SolrIndexWriterImpl:53] org.apache.solr.common.SolrException: ERROR: [doc=PluginPackageIndexer_PORTLET_liferay-ee/solr-web/6.1.10.1-ee-ga1-20120217132404825_updated/war] cannot set an index-time boost, norms are omitted for field groupId: liferay-ee
 3
 4ERROR: [doc=PluginPackageIndexer_PORTLET_liferay-ee/solr-web/6.1.10.1-ee-ga1-20120217132404825_updated/war] cannot set an index-time boost, norms are omitted for field groupId: liferay-ee
 5
 6request: http://localhost:8080/search/update?wt=javabin&version=2
 7org.apache.solr.common.SolrException: ERROR: [doc=PluginPackageIndexer_PORTLET_liferay-ee/solr-web/6.1.10.1-ee-ga1-20120217132404825_updated/war] cannot set an index-time boost, norms are omitted for field groupId: liferay-ee
 8
 9ERROR: [doc=PluginPackageIndexer_PORTLET_liferay-ee/solr-web/6.1.10.1-ee-ga1-20120217132404825_updated/war] cannot set an index-time boost, norms are omitted for field groupId: liferay-ee
10
11request: http://localhost:8080/search/update?wt=javabin&version=2
12    at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:427)
13    at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:249)
14    at com.liferay.portal.search.solr.server.BasicAuthSolrServer.request(BasicAuthSolrServer.java:99)
15    at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
16    at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:121)
17    at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:106)
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
12 de Junho de 2012 01:40
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Kris,

Yes, this is a schema error. Unfortunately, the solr-web plugin from Liferay is not yet updated for the latest version of Solr.
Here's the link to the explanation
omitNorms=true|false
This is arguably an advanced option.
Set to true to omit the norms associated with this field (this disables length normalization and index-time boosting for the field, and saves some memory). Only full-text fields or fields that need an index-time boost need norms.


I'm not sure what would be the precise solution. But I have found a quick fix.

Here's what I did -

Whenever you get this error,
(a) check logs to find all such field names
(b) edit your schema. Add omitNorms=false for each of the fields found in the logs. Example -

<field name="entryClassPK" type="text" indexed="true" stored="true" omitNorms="false" />

c) save your schema and ensure it's copied to solr-web.war as well as your solr_home_installation directory so that there is no conflict

Anyone with a better solution is most welcome to comment. I don't want to be in a soup for having done those tweaks
Kris Sokolovski
RE: Solr and Liferay 6.1 Integration problem
12 de Junho de 2012 03:49
Resposta

Kris Sokolovski

Ranking: New Member

Mensagens: 8

Data de entrada: 13 de Novembro de 2011

Mensagens recentes

Thank You, Namrata!

Looks like it worked! emoticon. I need to do some other modifications in my environment to check if everything is fine.

Best regards,
Kris
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
12 de Junho de 2012 05:37
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Ramalingam!

Are you using Liferay 6.1 CE? If so, can you share with us the steps you followed?

Thanks,

Flor.
Rajarshi Chakrabarty
RE: Solr and Liferay 6.1 Integration problem
18 de Junho de 2012 22:49
Resposta

Rajarshi Chakrabarty

Ranking: New Member

Mensagens: 14

Data de entrada: 12 de Junho de 2012

Mensagens recentes

Does anyone tried to do faceted search in liferay 6.0.6 with solr 3.6.0 with solr-web-6.0.6.1 web plugin???
Ramalingam G
RE: Solr and Liferay 6.1 Integration problem
21 de Junho de 2012 01:49
Resposta

Ramalingam G

Ranking: New Member

Mensagens: 2

Data de entrada: 10 de Agosto de 2011

Mensagens recentes

Hi Flor,

I have integrated Liferay 6.1 EE with Solr 1.4.1. Find below steps.

1. Download apache-solr-1.4.1.zip from http://apache.techartifact.com/mirror/lucene/solr/1.4.1

2. Unzip apache-solr-1.4.1.zip in your local drive D:\

3. Copy solr folder from D:\apache-solr-1.4.1\example and paste in D:\solr (this folder contains bin and conf; Assume this as SolrHome).

4. Update solr data path in D:\solr\conf\solrconfig.xml as mentioned below
1<dataDir>${solr.data.dir:D:\solr\data}</dataDir>


5. Deploy solr.war (D:\apache-solr-1.4.1\example\webapp\solr.war) in Seperate Tomcat 6 server (Not Liferay). Assume Tomcat path D:\Tomcat6

6. Update SolrHome path in D:\Tomcat6\webapps\solr\WEB-INF\web.xml as mentioned below and restart Tomcat
1    <env-entry>
2       <env-entry-name>solr/home</env-entry-name>
3       <env-entry-value>D:\solr</env-entry-value>
4       <env-entry-type>java.lang.String</env-entry-type>
5    </env-entry>


7.Now navigate http://servername:port/slor/admin/ to ensure solr running

8. Download and deploy solr plugin from http://downloads.sourceforge.net/lportal/solr-web-6.0.6.1.war

9. Update solr server URL in $LiferayHome\tomcat-7.0.25\webapps\solr-web\WEB-INF\classes\META-INF\solr-spring.xml as mentioned below
1<bean id="com.liferay.portal.search.solr.server.BasicAuthSolrServer" class="com.liferay.portal.search.solr.server.BasicAuthSolrServer">
2        <constructor-arg type="java.lang.String" value="http://solrservername:port/solr" />
3</bean>


10. Copy schema.xml from $LiferayHome\tomcat-7.0.25\webapps\solr-web\WEB-INF\conf\ to D:\solr\conf\ (replace schema.xml)

11. Now restart your slor Tomcat and Liferay

12. Reindex all search indexs through Liferay control panel --> server administration

Thanks,
Ram
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
25 de Junho de 2012 21:40
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Rajarshi,

Faceted search has been implemented in Liferay 6.1 based on tags & categories.
If I were you, I would download the source code of 6.1 and take a look at how search portlet has been implemented!

HTH!
Rajarshi Chakrabarty
RE: Solr and Liferay 6.1 Integration problem
25 de Junho de 2012 23:07
Resposta

Rajarshi Chakrabarty

Ranking: New Member

Mensagens: 14

Data de entrada: 12 de Junho de 2012

Mensagens recentes

Thanks for your reply Namrata. I required this faceted search thing implemented as soon as possible. As liferay 6.1 provide it OOB, so I tried to integrate Liferay 6.1.0 ga with solr 3.6.0 using solr-web-6.1.0 ga plugin. But the integration is not working well. LIferay is indexing with both Lucene and solr. And most important to it, When i tried to search in liferay, It throws error saying "error executing query".

  1
  2ERROR [SolrIndexSearcherImpl:113] org.apache.solr.client.solrj.SolrServerException: Error executing query
  3org.apache.solr.client.solrj.SolrServerException: Error executing query
  4    at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
  5    at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:311)
  6    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.doSearch(SolrIndexSearcherImpl.java:176)
  7    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.search(SolrIndexSearcherImpl.java:110)
  8    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  9    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 10    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11    at java.lang.reflect.Method.invoke(Method.java:597)
 12    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:83)
 13    at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:57)
 14    at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:50)
 15    at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
 16    at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:39)
 17    at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:60)
 18    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.doInvokeSynchronous(MultiDestinationMessagingProxyAdvice.java:113)
 19    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.invoke(MultiDestinationMessagingProxyAdvice.java:60)
 20    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 21    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 22    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 23    at java.lang.reflect.Method.invoke(Method.java:597)
 24    at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
 25    at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
 26    at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
 27    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 28    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
 29    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 30    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 31    at $Proxy261.search(Unknown Source)
 32    at com.liferay.portal.kernel.search.SearchEngineUtil.search(SearchEngineUtil.java:333)
 33    at com.liferay.portal.kernel.search.FacetedSearcher.search(FacetedSearcher.java:91)
 34    at org.apache.jsp.html.portlet.search.search_jsp._jspService(search_jsp.java:1073)
 35    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 36    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 37    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 38    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 39    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 40    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 41    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 42    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 43    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 44    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
 45    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 46    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 47    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 48    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
 49    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
 50    at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
 51    at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
 52    at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
 53    at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:4620)
 54    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 55    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 56    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 57    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 58    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 59    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 60    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 61    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 62    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 63    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
 64    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 65    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 66    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 67    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
 68    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
 69    at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:316)
 70    at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:120)
 71    at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:281)
 72    at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:251)
 73    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
 74    at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
 75    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
 76    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
 77    at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:230)
 78    at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:239)
 79    at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:152)
 80    at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:211)
 81    at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
 82    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
 83    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
 84    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:651)
 85    at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:722)
 86    at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:426)
 87    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1215)
 88    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 89    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 90    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 91    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 92    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 93    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 94    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 95    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 96    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 97    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
 98    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 99    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
100    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
101    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
102    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
103    at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:4735)
104    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1455)
105    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:213)
106    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:135)
107    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:122)
108    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:54)
109    at com.liferay.portlet.layoutconfiguration.util.velocity.PortletLogic.processContent(PortletLogic.java:75)
110    at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processMax(TemplateProcessor.java:83)
111    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
112    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
113    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
114    at java.lang.reflect.Method.invoke(Method.java:597)
115    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
116    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
117    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
118    at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
119    at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
120    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
121    at org.apache.velocity.Template.merge(Template.java:328)
122    at org.apache.velocity.Template.merge(Template.java:235)
123    at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)
124    at com.liferay.portal.velocity.VelocityEngineImpl.mergeTemplate(VelocityEngineImpl.java:184)
125    at com.liferay.portal.kernel.velocity.VelocityEngineUtil.mergeTemplate(VelocityEngineUtil.java:61)
126    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processTemplate(RuntimePortletImpl.java:277)
127    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:118)
128    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:455)
129    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
130    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
131    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
132    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
133    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
134    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
135    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
136    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
137    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
138    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
139    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
140    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
141    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
142    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
143    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
144    at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:412)
145    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:680)
146    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244)
147    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
148    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
149    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:174)
150    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
151    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
152    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
153    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:533)
154    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510)
155    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
156    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
157    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
158    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
159    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
160    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
161    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
162    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:201)
163    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
164    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
165    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
166    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
167    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
168    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
169    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
170    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
171    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
172    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
173    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
174    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
175    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
176    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
177    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
178    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:135)
179    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
180    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
181    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
182    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
183    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
184    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:304)
185    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
186    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
187    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
188    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
189    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
190    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
191    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
192    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
193    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
194    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:201)
195    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
196    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
197    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
198    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
199    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
200    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
201    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
202    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
203    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
204    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
205    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
206    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
207    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
208    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
209    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
210    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
211    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
212    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
213    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
214    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
215    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
216    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
217    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
218    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
219    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
220    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
221    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
222    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
223    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
224    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
225    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:208)
226    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
227    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
228    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
229    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
230    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
231    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
232    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
233    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
234    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
235    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
236    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
237    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
238    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
239    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
240    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
241    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
242    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
243    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
244    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
245    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
246    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
247    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
248    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
249    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
250    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
251    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
252    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
253    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
254    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
255    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
256    at java.lang.Thread.run(Thread.java:619)
257Caused by: org.apache.solr.common.SolrException: Bad Request
258
259Bad Request
260
261request: http://localhost:[i]portno[/i]/solr/select?hl=true&hl.fragsize=80&hl.snippets=3&fl=*,score&q=+(+(companyId:1) +((+(entryClassName:com.liferay.portal.model.User) +(status:0)) (+(entryClassName:com.liferay.portlet.journal.model.JournalArticle) +(status:0)) (+(entryClassName:com.liferay.portlet.calendar.model.CalEvent)) (+(entryClassName:com.liferay.portlet.wiki.model.WikiPage)) (+(entryClassName:com.liferay.portlet.messageboards.model.MBMessage) +(discussion:false)) (+(entryClassName:com.liferay.portlet.documentlibrary.model.DLFileEntry) +(status:0)) (+(entryClassName:com.liferay.portal.model.Organization)) (+(entryClassName:com.liferay.portlet.blogs.model.BlogsEntry)) (+(entryClassName:com.liferay.portlet.bookmarks.model.BookmarksEntry)) (+(entryClassName:com.liferay.portlet.softwarecatalog.model.SCProductEntry)))) +(assetCategoryNames:welcome assetTagNames:welcome comments:welcome content:welcome description:welcome properties:welcome title:welcome url:welcome userName:welcome city:welcome country:welcome emailAddress:welcome firstName:welcome fullName:welcome lastName:welcome middleName:welcome region:welcome screenName:welcome street:welcome zip:welcome classPK:welcome content_en_US:welcome description_en_US:welcome entryClassPK:welcome title_en_US:welcome type:welcome ddm/10285/ClimateForcast_PROGRAM_ID:welcome ddm/10285/ClimateForcast_COMMAND_LINE:welcome ddm/10285/ClimateForcast_HISTORY:welcome ddm/10285/ClimateForcast_TABLE_ID:welcome ddm/10285/ClimateForcast_INSTITUTION:welcome ddm/10285/ClimateForcast_SOURCE:welcome ddm/10285/ClimateForcast_CONTACT:welcome ddm/10285/ClimateForcast_PROJECT_ID:welcome ddm/10285/ClimateForcast_CONVENTIONS:welcome ddm/10285/ClimateForcast_REFERENCES:welcome ddm/10285/ClimateForcast_ACKNOWLEDGEMENT:welcome ddm/10285/ClimateForcast_REALIZATION:welcome ddm/10285/ClimateForcast_EXPERIMENT_ID:welcome ddm/10285/ClimateForcast_COMMENT:welcome ddm/10285/ClimateForcast_MODEL_NAME_ENGLISH:welcome ddm/10285/CreativeCommons_LICENSE_URL:welcome ddm/10285/CreativeCommons_LICENSE_LOCATION:welcome ddm/10285/CreativeCommons_WORK_TYPE:welcome ddm/10285/DublinCore_FORMAT:welcome ddm/10285/DublinCore_IDENTIFIER:welcome ddm/10285/DublinCore_MODIFIED:welcome ddm/10285/DublinCore_CONTRIBUTOR:welcome ddm/10285/DublinCore_COVERAGE:welcome ddm/10285/DublinCore_CREATOR:welcome ddm/10285/DublinCore_DATE:welcome ddm/10285/DublinCore_DESCRIPTION:welcome ddm/10285/DublinCore_LANGUAGE:welcome ddm/10285/DublinCore_PUBLISHER:welcome ddm/10285/DublinCore_RELATION:welcome ddm/10285/DublinCore_RIGHTS:welcome ddm/10285/DublinCore_SOURCE:welcome ddm/10285/DublinCore_SUBJECT:welcome ddm/10285/DublinCore_TITLE:welcome ddm/10285/DublinCore_TYPE:welcome ddm/10285/Geographic_LATITUDE:welcome ddm/10285/Geographic_LONGITUDE:welcome ddm/10285/Geographic_ALTITUDE:welcome ddm/10285/HttpHeaders_CONTENT_ENCODING:welcome ddm/10285/HttpHeaders_CONTENT_LANGUAGE:welcome ddm/10285/HttpHeaders_CONTENT_LENGTH:welcome ddm/10285/HttpHeaders_CONTENT_LOCATION:welcome ddm/10285/HttpHeaders_CONTENT_DISPOSITION:welcome ddm/10285/HttpHeaders_CONTENT_MD5:welcome ddm/10285/HttpHeaders_CONTENT_TYPE:welcome ddm/10285/HttpHeaders_LAST_MODIFIED:welcome ddm/10285/HttpHeaders_LOCATION:welcome ddm/10285/Message_MESSAGE_RECIPIENT_ADDRESS:welcome ddm/10285/Message_MESSAGE_FROM:welcome ddm/10285/Message_MESSAGE_TO:welcome ddm/10285/Message_MESSAGE_CC:welcome ddm/10285/Message_MESSAGE_BCC:welcome ddm/10285/MSOffice_KEYWORDS:welcome ddm/10285/MSOffice_COMMENTS:welcome ddm/10285/MSOffice_LAST_AUTHOR:welcome ddm/10285/MSOffice_APPLICATION_NAME:welcome ddm/10285/MSOffice_CHARACTER_COUNT:welcome ddm/10285/MSOffice_LAST_PRINTED:welcome ddm/10285/MSOffice_LAST_SAVED:welcome ddm/10285/MSOffice_PAGE_COUNT:welcome ddm/10285/MSOffice_REVISION_NUMBER:welcome ddm/10285/MSOffice_WORD_COUNT:welcome ddm/10285/MSOffice_TEMPLATE:welcome ddm/10285/MSOffice_AUTHOR:welcome ddm/10285/MSOffice_TOTAL_TIME:welcome ddm/10285/MSOffice_SLIDE_COUNT:welcome ddm/10285/MSOffice_PRESENTATION_FORMAT:welcome ddm/10285/MSOffice_PARAGRAPH_COUNT:welcome ddm/10285/MSOffice_NOTES:welcome ddm/10285/MSOffice_MANAGER:welcome ddm/10285/MSOffice_LINE_COUNT:welcome ddm/10285/MSOffice_CHARACTER_COUNT_WITH_SPACES:welcome ddm/10285/MSOffice_APPLICATION_VERSION:welcome ddm/10285/MSOffice_VERSION:welcome ddm/10285/MSOffice_CONTENT_STATUS:welcome ddm/10285/MSOffice_CATEGORY:welcome ddm/10285/MSOffice_COMPANY:welcome ddm/10285/MSOffice_SECURITY:welcome ddm/10285/MSOffice_EDIT_TIME:welcome ddm/10285/MSOffice_CREATION_DATE:welcome ddm/10285/TIFF_BITS_PER_SAMPLE:welcome ddm/10285/TIFF_IMAGE_LENGTH:welcome ddm/10285/TIFF_IMAGE_WIDTH:welcome ddm/10285/TIFF_SAMPLES_PER_PIXEL:welcome ddm/10285/TIFF_FLASH_FIRED:welcome ddm/10285/TIFF_EXPOSURE_TIME:welcome ddm/10285/TIFF_F_NUMBER:welcome ddm/10285/TIFF_FOCAL_LENGTH:welcome ddm/10285/TIFF_ISO_SPEED_RATINGS:welcome ddm/10285/TIFF_EQUIPMENT_MAKE:welcome ddm/10285/TIFF_EQUIPMENT_MODEL:welcome ddm/10285/TIFF_SOFTWARE:welcome ddm/10285/TIFF_ORIENTATION:welcome ddm/10285/TIFF_RESOLUTION_HORIZONTAL:welcome ddm/10285/TIFF_RESOLUTION_VERTICAL:welcome ddm/10285/TIFF_RESOLUTION_UNIT:welcome ddm/10285/TIFF_ORIGINAL_DATE:welcome ddm/10285/TikaMetadataKeys_RESOURCE_NAME_KEY:welcome ddm/10285/TikaMetadataKeys_PROTECTED:welcome ddm/10285/TikaMimeKeys_TIKA_MIME_FILE:welcome ddm/10285/TikaMimeKeys_MIME_TYPE_MAGIC:welcome ddm/10285/XMPDM_DURATION:welcome ddm/10285/XMPDM_ABS_PEAK_AUDIO_FILE_PATH:welcome ddm/10285/XMPDM_ALBUM:welcome ddm/10285/XMPDM_ALT_TAPE_NAME:welcome ddm/10285/XMPDM_ARTIST:welcome ddm/10285/XMPDM_AUDIO_MOD_DATE:welcome ddm/10285/XMPDM_AUDIO_SAMPLE_RATE:welcome ddm/10285/XMPDM_AUDIO_SAMPLE_TYPE:welcome ddm/10285/XMPDM_AUDIO_CHANNEL_TYPE:welcome ddm/10285/XMPDM_AUDIO_COMPRESSOR:welcome ddm/10285/XMPDM_COMPOSER:welcome ddm/10285/XMPDM_COPYRIGHT:welcome ddm/10285/XMPDM_ENGINEER:welcome ddm/10285/XMPDM_FILE_DATA_RATE:welcome ddm/10285/XMPDM_GENRE:welcome ddm/10285/XMPDM_INSTRUMENT:welcome ddm/10285/XMPDM_KEY:welcome ddm/10285/XMPDM_LOG_COMMENT:welcome ddm/10285/XMPDM_LOOP:welcome ddm/10285/XMPDM_NUMBER_OF_BEATS:welcome ddm/10285/XMPDM_METADATA_MOD_DATE:welcome ddm/10285/XMPDM_PULL_DOWN:welcome ddm/10285/XMPDM_RELATIVE_PEAK_AUDIO_FILE_PATH:welcome ddm/10285/XMPDM_RELEASE_DATE:welcome ddm/10285/XMPDM_SCALE_TYPE:welcome ddm/10285/XMPDM_SCENE:welcome ddm/10285/XMPDM_SHOT_DATE:welcome ddm/10285/XMPDM_SHOT_LOCATION:welcome ddm/10285/XMPDM_SHOT_NAME:welcome ddm/10285/XMPDM_SPEAKER_PLACEMENT:welcome ddm/10285/XMPDM_STRETCH_MODE:welcome ddm/10285/XMPDM_TAPE_NAME:welcome ddm/10285/XMPDM_TEMPO:welcome ddm/10285/XMPDM_TIME_SIGNATURE:welcome ddm/10285/XMPDM_TRACK_NUMBER:welcome ddm/10285/XMPDM_VIDEO_ALPHA_MODE:welcome ddm/10285/XMPDM_VIDEO_ALPHA_UNITY_IS_TRANSPARENT:welcome ddm/10285/XMPDM_VIDEO_COLOR_SPACE:welcome ddm/10285/XMPDM_VIDEO_COMPRESSOR:welcome ddm/10285/XMPDM_VIDEO_FIELD_ORDER:welcome ddm/10285/XMPDM_VIDEO_FRAME_RATE:welcome ddm/10285/XMPDM_VIDEO_MOD_DATE:welcome ddm/10285/XMPDM_VIDEO_PIXEL_DEPTH:welcome ddm/10285/XMPDM_VIDEO_PIXEL_ASPECT_RATIO:welcome extension:welcome fileEntryTypeId:welcome path:welcome name:welcome parentOrganizationId:welcome)&rows=5020&start=0&facet.field=assetTagNames&facet.field=modified&facet.field=assetCategoryNames&facet.field=entryClassName&facet=true&facet.query=modified:[19700101000000 TO *]&facet.limit=-1&wt=javabin&version=2
262    at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:427)
263    at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:249)
264    at com.liferay.portal.search.solr.server.BasicAuthSolrServer.request(BasicAuthSolrServer.java:99)
265    at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
266    ... 252 more
26709:27:50,982 ERROR [IncludeTag:426] Current URL /web/guest/search?p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=1&_3_struts_action=%2Fsearch%2Fsearch&_3_redirect=%2Fweb%2Fguest%2Fsearch%3Bjsessionid%3D4DA910A56BEE09A6C53119D918D03CE9&_3_keywords=welcome&_3_groupId=0 generates exception: javax.servlet.ServletException: com.liferay.portal.kernel.search.SearchException: Error executing query
26809:27:50,983 ERROR [IncludeTag:154] com.liferay.portal.kernel.search.SearchException: Error executing query
269    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.search(SolrIndexSearcherImpl.java:115)
270    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:83)
271    at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:57)
272    at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:50)
273    at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
274    at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:39)
275    at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:60)
276    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.doInvokeSynchronous(MultiDestinationMessagingProxyAdvice.java:113)
277    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.invoke(MultiDestinationMessagingProxyAdvice.java:60)
278    at com.liferay.portal.kernel.search.SearchEngineUtil.search(SearchEngineUtil.java:333)
279    at com.liferay.portal.kernel.search.FacetedSearcher.search(FacetedSearcher.java:91)
280    at org.apache.jsp.html.portlet.search.search_jsp._jspService(search_jsp.java:1073)
281    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
282    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
283    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
284    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
285    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
286    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
287    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
288    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)


Any input in this???
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
25 de Junho de 2012 23:23
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

I tried to integrate Liferay 6.1.0 ga with solr 3.6.0 using solr-web-6.1.0 ga plugin. But the integration is not working well

All the solr-web.war plugins that you get from the svn are only for Solr version 1.4. You have to modify the plugin to get it to work with version 3.6. There are some discussion threads that discuss how to change the plugin's schema and libraries.

LIferay is indexing with both Lucene and solr

On Liferay's console, you will be able to see only Lucene Indexing status. You would see the real action only on Solr console. When you reindex/search in Liferay, if you can see stuff happening in Solr, that means Liferay is able to hit Solr. So you're almost there.

Can you please ensure the above two are implemented and then let us know if you get errors?
Also, please go through the discussions in this thread as well.
Kris Sokolovski
RE: Solr and Liferay 6.1 Integration problem
25 de Junho de 2012 23:30
Resposta

Kris Sokolovski

Ranking: New Member

Mensagens: 8

Data de entrada: 13 de Novembro de 2011

Mensagens recentes

Namrata Hangal:
You have to modify the plugin to get it to work with version 3.6. There are some discussion threads that discuss how to change the plugin's schema and libraries.

Namrata, could you provide some link to these threads, can't find this. Maybe you know exactly where these are.

Thank You!

Regards,
Kris
Rajarshi Chakrabarty
RE: Solr and Liferay 6.1 Integration problem
27 de Junho de 2012 03:52
Resposta

Rajarshi Chakrabarty

Ranking: New Member

Mensagens: 14

Data de entrada: 12 de Junho de 2012

Mensagens recentes

Hi Namrata, Thanks again for your reply. I tried to integrate liferay 6.1 ga and liferay 6.0 with solr 1.4.1 but it is throwing "Error query exception" . Integration with liferay 6.0 is working fine but integration of solr with liferay 6.1 ga is producing exceptions.
  1
  210:45:33,361 ERROR [IncludeTag:426] Current URL /web/guest/search?p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_3_struts_action=%2Fsearch%2Fsearch&_3_format=&_3_keywords=liferay&_3_groupId=0&_3_entryClassName=&_3_modified=&_3_modifiedselection=0&_3_modifiedfrom=&_3_modifiedto=&x=0&y=0 generates exception: com.liferay.portal.kernel.search.SearchException: Error executing query
  310:45:33,371 ERROR [IncludeTag:154] com.liferay.portal.kernel.search.SearchException: Error executing query
  4    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.search(SolrIndexSearcherImpl.java:115)
  5    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:83)
  6    at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:57)
  7    at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:50)
  8    at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
  9    at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:39)
 10    at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:60)
 11    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.doInvokeSynchronous(MultiDestinationMessagingProxyAdvice.java:113)
 12    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.invoke(MultiDestinationMessagingProxyAdvice.java:60)
 13    at com.liferay.portal.kernel.search.SearchEngineUtil.search(SearchEngineUtil.java:333)
 14    at com.liferay.portal.kernel.search.FacetedSearcher.search(FacetedSearcher.java:91)
 15    at org.apache.jsp.html.portlet.search.search_jsp._jspService(search_jsp.java:1073)
 16    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 17    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 18    at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
 19    at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
 20    at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
 21    at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
 22    at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:4620)
 23    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 24
 2510:48:46,235 ERROR [SolrIndexSearcherImpl:113] org.apache.solr.client.solrj.SolrServerException: Error executing query
 26org.apache.solr.client.solrj.SolrServerException: Error executing query
 27    at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
 28    at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
 29    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.doSearch(SolrIndexSearcherImpl.java:176)
 30    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.search(SolrIndexSearcherImpl.java:110)
 31    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 32    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 33    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 34    at java.lang.reflect.Method.invoke(Method.java:597)
 35    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:83)
 36    at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:57)
 37    at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:50)
 38    at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
 39    at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:39)
 40    at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:60)
 41    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.doInvokeSynchronous(MultiDestinationMessagingProxyAdvice.java:113)
 42    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.invoke(MultiDestinationMessagingProxyAdvice.java:60)
 43    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 44    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 45    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 46    at java.lang.reflect.Method.invoke(Method.java:597)
 47    at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
 48    at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
 49    at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
 50    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 51    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
 52    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 53    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 54    at $Proxy261.search(Unknown Source)
 55    at com.liferay.portal.kernel.search.SearchEngineUtil.search(SearchEngineUtil.java:333)
 56    at com.liferay.portal.kernel.search.FacetedSearcher.search(FacetedSearcher.java:91)
 57    at org.apache.jsp.html.portlet.search.search_jsp._jspService(search_jsp.java:1073)
 58    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 59    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 60    at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
 61    at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
 62    at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
 63    at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
 64    at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:4620)
 65    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 66    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 67    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 68    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 69    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 70    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 71    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 72    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 73    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 74    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
 75    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 76    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 77    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 78    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
 79    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
 80    at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:316)
 81    at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:120)
 82    at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:281)
 83    at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:251)
 84    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
 85    at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
 86    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
 87    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
 88    at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:230)
 89    at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:239)
 90    at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:152)
 91    at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:211)
 92    at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
 93    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
 94    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
 95    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:651)
 96    at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:722)
 97    at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:426)
 98    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1215)
 99    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
100    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
101    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
102    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
103    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
104    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
105    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
106    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
107    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
108    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
109    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
110    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
111    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
112    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
113    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
114    at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:4735)
115    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1455)
116    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:213)
117    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:135)
118    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:122)
119    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:54)
120    at com.liferay.portlet.layoutconfiguration.util.velocity.PortletLogic.processContent(PortletLogic.java:75)
121    at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processMax(TemplateProcessor.java:83)
122    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
123    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
124    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
125    at java.lang.reflect.Method.invoke(Method.java:597)
126    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
127    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
128    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
129    at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
130    at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
131    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
132    at org.apache.velocity.Template.merge(Template.java:328)
133    at org.apache.velocity.Template.merge(Template.java:235)
134    at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)
135    at com.liferay.portal.velocity.VelocityEngineImpl.mergeTemplate(VelocityEngineImpl.java:184)
136    at com.liferay.portal.kernel.velocity.VelocityEngineUtil.mergeTemplate(VelocityEngineUtil.java:61)
137    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processTemplate(RuntimePortletImpl.java:277)
138    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:118)
139    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:455)
140    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
141    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
142    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
143    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
144    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
145    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
146    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
147    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
148    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
149    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
150    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
151    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
152    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
153    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
154    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
155    at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:412)
156    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:680)
157    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244)
158    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
159    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
160    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:174)
161    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
162    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
163    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
164    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:533)
165    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510)
166    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
167    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
168    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
169    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
170    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
171    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
172    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
173    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:201)
174    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
175    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
176    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
177    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
178    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
179    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
180    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
181    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
182    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
183    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
184    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
185    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
186    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
187    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
188    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
189    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:135)
190    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
191    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
192    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
193    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
194    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
195    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:304)
196    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
197    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
198    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
199    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
200    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
201    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
202    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
203    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
204    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
205    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:201)
206    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
207    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
208    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
209    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
210    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
211    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
212    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
213    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
214    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
215    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
216    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
217    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
218    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
219    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
220    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
221    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
222    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
223    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
224    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
225    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
226    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
227    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
228    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
229    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
230    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
231    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
232    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
233    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
234    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
235    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
236    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:208)
237    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
238    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
239    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
240    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
241    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
242    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
243    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
244    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
245    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
246    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
247    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
248    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
249    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
250    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
251    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
252    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
253    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
254    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
255    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
256    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
257    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
258    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
259    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
260    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
261    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
262    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
263    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
264    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
265    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
266    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
267    at java.lang.Thread.run(Thread.java:619)
268Caused by: org.apache.solr.common.SolrException: Bad Request
269
270Bad Request
271
272request: http://localhost:9999/apache-solr/select?hl=true&hl.fragsize=80&hl.snippets=3&fl=score&q=+(+(companyId:1) +((+(entryClassName:com.liferay.portal.model.User) +(status:0)) (+(entryClassName:com.liferay.portlet.journal.model.JournalArticle) +(status:0)) (+(entryClassName:com.liferay.portlet.calendar.model.CalEvent)) (+(entryClassName:com.liferay.portlet.wiki.model.WikiPage)) (+(entryClassName:com.liferay.portlet.messageboards.model.MBMessage) +(discussion:false)) (+(entryClassName:com.liferay.portlet.documentlibrary.model.DLFileEntry) +(status:0)) (+(entryClassName:com.liferay.portal.model.Organization)) (+(entryClassName:com.liferay.portlet.blogs.model.BlogsEntry)) (+(entryClassName:com.liferay.portlet.bookmarks.model.BookmarksEntry)) (+(entryClassName:com.liferay.portlet.softwarecatalog.model.SCProductEntry)))) +(assetCategoryNames:liferay assetTagNames:liferay comments:liferay content:liferay description:liferay properties:liferay title:liferay url:liferay userName:liferay city:liferay country:liferay emailAddress:liferay firstName:liferay fullName:liferay lastName:liferay middleName:liferay region:liferay screenName:liferay street:liferay zip:liferay classPK:liferay content_en_US:liferay description_en_US:liferay entryClassPK:liferay title_en_US:liferay type:liferay ddm/10285/ClimateForcast_PROGRAM_ID:liferay ddm/10285/ClimateForcast_COMMAND_LINE:liferay ddm/10285/ClimateForcast_HISTORY:liferay ddm/10285/ClimateForcast_TABLE_ID:liferay ddm/10285/ClimateForcast_INSTITUTION:liferay ddm/10285/ClimateForcast_SOURCE:liferay ddm/10285/ClimateForcast_CONTACT:liferay ddm/10285/ClimateForcast_PROJECT_ID:liferay ddm/10285/ClimateForcast_CONVENTIONS:liferay ddm/10285/ClimateForcast_REFERENCES:liferay ddm/10285/ClimateForcast_ACKNOWLEDGEMENT:liferay ddm/10285/ClimateForcast_REALIZATION:liferay ddm/10285/ClimateForcast_EXPERIMENT_ID:liferay ddm/10285/ClimateForcast_COMMENT:liferay ddm/10285/ClimateForcast_MODEL_NAME_ENGLISH:liferay ddm/10285/CreativeCommons_LICENSE_URL:liferay ddm/10285/CreativeCommons_LICENSE_LOCATION:liferay ddm/10285/CreativeCommons_WORK_TYPE:liferay ddm/10285/DublinCore_FORMAT:liferay ddm/10285/DublinCore_IDENTIFIER:liferay ddm/10285/DublinCore_MODIFIED:liferay ddm/10285/DublinCore_CONTRIBUTOR:liferay ddm/10285/DublinCore_COVERAGE:liferay ddm/10285/DublinCore_CREATOR:liferay ddm/10285/DublinCore_DATE:liferay ddm/10285/DublinCore_DESCRIPTION:liferay ddm/10285/DublinCore_LANGUAGE:liferay ddm/10285/DublinCore_PUBLISHER:liferay ddm/10285/DublinCore_RELATION:liferay ddm/10285/DublinCore_RIGHTS:liferay ddm/10285/DublinCore_SOURCE:liferay ddm/10285/DublinCore_SUBJECT:liferay ddm/10285/DublinCore_TITLE:liferay ddm/10285/DublinCore_TYPE:liferay ddm/10285/Geographic_LATITUDE:liferay ddm/10285/Geographic_LONGITUDE:liferay ddm/10285/Geographic_ALTITUDE:liferay ddm/10285/HttpHeaders_CONTENT_ENCODING:liferay ddm/10285/HttpHeaders_CONTENT_LANGUAGE:liferay ddm/10285/HttpHeaders_CONTENT_LENGTH:liferay ddm/10285/HttpHeaders_CONTENT_LOCATION:liferay ddm/10285/HttpHeaders_CONTENT_DISPOSITION:liferay ddm/10285/HttpHeaders_CONTENT_MD5:liferay ddm/10285/HttpHeaders_CONTENT_TYPE:liferay ddm/10285/HttpHeaders_LAST_MODIFIED:liferay ddm/10285/HttpHeaders_LOCATION:liferay ddm/10285/Message_MESSAGE_RECIPIENT_ADDRESS:liferay ddm/10285/Message_MESSAGE_FROM:liferay ddm/10285/Message_MESSAGE_TO:liferay ddm/10285/Message_MESSAGE_CC:liferay ddm/10285/Message_MESSAGE_BCC:liferay ddm/10285/MSOffice_KEYWORDS:liferay ddm/10285/MSOffice_COMMENTS:liferay ddm/10285/MSOffice_LAST_AUTHOR:liferay ddm/10285/MSOffice_APPLICATION_NAME:liferay ddm/10285/MSOffice_CHARACTER_COUNT:liferay ddm/10285/MSOffice_LAST_PRINTED:liferay ddm/10285/MSOffice_LAST_SAVED:liferay ddm/10285/MSOffice_PAGE_COUNT:liferay ddm/10285/MSOffice_REVISION_NUMBER:liferay ddm/10285/MSOffice_WORD_COUNT:liferay ddm/10285/MSOffice_TEMPLATE:liferay ddm/10285/MSOffice_AUTHOR:liferay ddm/10285/MSOffice_TOTAL_TIME:liferay ddm/10285/MSOffice_SLIDE_COUNT:liferay ddm/10285/MSOffice_PRESENTATION_FORMAT:liferay ddm/10285/MSOffice_PARAGRAPH_COUNT:liferay ddm/10285/MSOffice_NOTES:liferay ddm/10285/MSOffice_MANAGER:liferay ddm/10285/MSOffice_LINE_COUNT:liferay ddm/10285/MSOffice_CHARACTER_COUNT_WITH_SPACES:liferay ddm/10285/MSOffice_APPLICATION_VERSION:liferay ddm/10285/MSOffice_VERSION:liferay ddm/10285/MSOffice_CONTENT_STATUS:liferay ddm/10285/MSOffice_CATEGORY:liferay ddm/10285/MSOffice_COMPANY:liferay ddm/10285/MSOffice_SECURITY:liferay ddm/10285/MSOffice_EDIT_TIME:liferay ddm/10285/MSOffice_CREATION_DATE:liferay ddm/10285/TIFF_BITS_PER_SAMPLE:liferay ddm/10285/TIFF_IMAGE_LENGTH:liferay ddm/10285/TIFF_IMAGE_WIDTH:liferay ddm/10285/TIFF_SAMPLES_PER_PIXEL:liferay ddm/10285/TIFF_FLASH_FIRED:liferay ddm/10285/TIFF_EXPOSURE_TIME:liferay ddm/10285/TIFF_F_NUMBER:liferay ddm/10285/TIFF_FOCAL_LENGTH:liferay ddm/10285/TIFF_ISO_SPEED_RATINGS:liferay ddm/10285/TIFF_EQUIPMENT_MAKE:liferay ddm/10285/TIFF_EQUIPMENT_MODEL:liferay ddm/10285/TIFF_SOFTWARE:liferay ddm/10285/TIFF_ORIENTATION:liferay ddm/10285/TIFF_RESOLUTION_HORIZONTAL:liferay ddm/10285/TIFF_RESOLUTION_VERTICAL:liferay ddm/10285/TIFF_RESOLUTION_UNIT:liferay ddm/10285/TIFF_ORIGINAL_DATE:liferay ddm/10285/TikaMetadataKeys_RESOURCE_NAME_KEY:liferay ddm/10285/TikaMetadataKeys_PROTECTED:liferay ddm/10285/TikaMimeKeys_TIKA_MIME_FILE:liferay ddm/10285/TikaMimeKeys_MIME_TYPE_MAGIC:liferay ddm/10285/XMPDM_DURATION:liferay ddm/10285/XMPDM_ABS_PEAK_AUDIO_FILE_PATH:liferay ddm/10285/XMPDM_ALBUM:liferay ddm/10285/XMPDM_ALT_TAPE_NAME:liferay ddm/10285/XMPDM_ARTIST:liferay ddm/10285/XMPDM_AUDIO_MOD_DATE:liferay ddm/10285/XMPDM_AUDIO_SAMPLE_RATE:liferay ddm/10285/XMPDM_AUDIO_SAMPLE_TYPE:liferay ddm/10285/XMPDM_AUDIO_CHANNEL_TYPE:liferay ddm/10285/XMPDM_AUDIO_COMPRESSOR:liferay ddm/10285/XMPDM_COMPOSER:liferay ddm/10285/XMPDM_COPYRIGHT:liferay ddm/10285/XMPDM_ENGINEER:liferay ddm/10285/XMPDM_FILE_DATA_RATE:liferay ddm/10285/XMPDM_GENRE:liferay ddm/10285/XMPDM_INSTRUMENT:liferay ddm/10285/XMPDM_KEY:liferay ddm/10285/XMPDM_LOG_COMMENT:liferay ddm/10285/XMPDM_LOOP:liferay ddm/10285/XMPDM_NUMBER_OF_BEATS:liferay ddm/10285/XMPDM_METADATA_MOD_DATE:liferay ddm/10285/XMPDM_PULL_DOWN:liferay ddm/10285/XMPDM_RELATIVE_PEAK_AUDIO_FILE_PATH:liferay ddm/10285/XMPDM_RELEASE_DATE:liferay ddm/10285/XMPDM_SCALE_TYPE:liferay ddm/10285/XMPDM_SCENE:liferay ddm/10285/XMPDM_SHOT_DATE:liferay ddm/10285/XMPDM_SHOT_LOCATION:liferay ddm/10285/XMPDM_SHOT_NAME:liferay ddm/10285/XMPDM_SPEAKER_PLACEMENT:liferay ddm/10285/XMPDM_STRETCH_MODE:liferay ddm/10285/XMPDM_TAPE_NAME:liferay ddm/10285/XMPDM_TEMPO:liferay ddm/10285/XMPDM_TIME_SIGNATURE:liferay ddm/10285/XMPDM_TRACK_NUMBER:liferay ddm/10285/XMPDM_VIDEO_ALPHA_MODE:liferay ddm/10285/XMPDM_VIDEO_ALPHA_UNITY_IS_TRANSPARENT:liferay ddm/10285/XMPDM_VIDEO_COLOR_SPACE:liferay ddm/10285/XMPDM_VIDEO_COMPRESSOR:liferay ddm/10285/XMPDM_VIDEO_FIELD_ORDER:liferay ddm/10285/XMPDM_VIDEO_FRAME_RATE:liferay ddm/10285/XMPDM_VIDEO_MOD_DATE:liferay ddm/10285/XMPDM_VIDEO_PIXEL_DEPTH:liferay ddm/10285/XMPDM_VIDEO_PIXEL_ASPECT_RATIO:liferay extension:liferay fileEntryTypeId:liferay path:liferay name:liferay parentOrganizationId:liferay)&rows=5020&start=0&facet.field=assetTagNames&facet.field=modified&facet.field=assetCategoryNames&facet.field=entryClassName&facet=true&facet.query=modified:[19700101000000 TO *]&facet.limit=-1&wt=javabin&version=1
273    at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
274    at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
275    at com.liferay.portal.search.solr.server.BasicAuthSolrServer.request(BasicAuthSolrServer.java:99)
276    at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
277    ... 240 more
27810:48:46,235 ERROR [IncludeTag:426] Current URL /web/guest/search?p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_3_struts_action=%2Fsearch%2Fsearch&_3_format=&_3_keywords=liferay&_3_groupId=0&_3_entryClassName=&_3_modified=&_3_modifiedselection=0&_3_modifiedfrom=&_3_modifiedto= generates exception: com.liferay.portal.kernel.search.SearchException: Error executing query
27910:48:46,235 ERROR [IncludeTag:154] com.liferay.portal.kernel.search.SearchException: Error executing query
280    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.search(SolrIndexSearcherImpl.java:115)
281    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:83)
282    at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:57)
283    at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:50)
284    at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
285    at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:39)
286    at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:60)
287    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.doInvokeSynchronous(MultiDestinationMessagingProxyAdvice.java:113)
288    at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyAdvice.invoke(MultiDestinationMessagingProxyAdvice.java:60)
289    at com.liferay.portal.kernel.search.SearchEngineUtil.search(SearchEngineUtil.java:333)
290    at com.liferay.portal.kernel.search.FacetedSearcher.search(FacetedSearcher.java:91)
291    at org.apache.jsp.html.portlet.search.search_jsp._jspService(search_jsp.java:1073)
292    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
293    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
294    at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
295    at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
296    at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
297    at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
298    at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:4620)
299    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)



Now what should I do for faceted search???
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
27 de Junho de 2012 05:33
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

You're getting exceptions but are you getting results as well?
Because I got them too but otherwise the search seemed to be working fine!
Rajarshi Chakrabarty
RE: Solr and Liferay 6.1 Integration problem
28 de Junho de 2012 04:04
Resposta

Rajarshi Chakrabarty

Ranking: New Member

Mensagens: 14

Data de entrada: 12 de Junho de 2012

Mensagens recentes

No, I am afraid I am getting only exceptions not any results.
Moreover, after I index SOLR with Liferay then only my first search query fetches proper result on liferay UI but subsequent search queries throws these exceptions on Liferay's console.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
29 de Junho de 2012 03:08
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

@Rajarshi

Where did you get your plugin from? And are you using EE or CE?
I hope the version of solr-web plugin and liferay match perfectly?

Version incompatibility is a basic issue which can put you through hell.. (Been there, done that!)... So just want to make sure...
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
29 de Junho de 2012 03:10
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Hi Kris,

Did you manage to find those links?
I haven't bookmarked them myself. But I do have a copy of the schema that was used for Solr 3.5

Let me know in case you haven't yet figured it out..
Kris Sokolovski
RE: Solr and Liferay 6.1 Integration problem
29 de Junho de 2012 03:22
Resposta

Kris Sokolovski

Ranking: New Member

Mensagens: 8

Data de entrada: 13 de Novembro de 2011

Mensagens recentes

Hi Namrata,

Thanks for the replay. I haven't yet figure it out, other more important stuff. So it would be helpful, if you could provide some info. Could I see that schema.

Best regards!
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
29 de Junho de 2012 03:28
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Attached is the schema file for Solr 3.5.
( Do remember to change the filename to schema.xml )
Anexos: schema_3.5_6.0LRComm.xml (6,6k)
Rajarshi Chakrabarty
RE: Solr and Liferay 6.1 Integration problem
1 de Julho de 2012 23:26
Resposta

Rajarshi Chakrabarty

Ranking: New Member

Mensagens: 14

Data de entrada: 12 de Junho de 2012

Mensagens recentes

i found that plugin from liferay community download. its solr-web-6.1.0.1-ce-ga1. I am using liferay-portal-tomcat-6.1.0-ce-ga1. I've tried integrating it to both solr 3.6.0 and solr 1.4.1 but niether are working.
Namrata Hangal
RE: Solr and Liferay 6.1 Integration problem
2 de Julho de 2012 03:08
Resposta

Namrata Hangal

Ranking: Regular Member

Mensagens: 161

Data de entrada: 26 de Julho de 2010

Mensagens recentes

Can you try with this as well?

http://sourceforge.net/projects/lportal/files/Liferay%20Plugins/6.1.0%20GA1/solr-web-6.1.0.1-ce-ga1-20120106155615760.war/download
Rajarshi Chakrabarty
RE: Solr and Liferay 6.1 Integration problem
4 de Julho de 2012 00:12
Resposta

Rajarshi Chakrabarty

Ranking: New Member

Mensagens: 14

Data de entrada: 12 de Junho de 2012

Mensagens recentes

hi namrata,

plugin which i downloaded previously was from the same link given by you. I've again downloaded and tried but the same problem still persist. Is this has to do anything with cache???
Hemant Kumar Singh
RE: Solr and Liferay 6.1 Integration problem
16 de Outubro de 2012 02:47
Resposta

Hemant Kumar Singh

Ranking: New Member

Mensagens: 8

Data de entrada: 16 de Agosto de 2012

Mensagens recentes

"Make /opt/solr/example/solr as a $SOLR_HOME."
could you plese tell me what does this line means..
do we need to follow same steps in windows....

could somebody help me ..........please
rlp asap

regards
hemant kumar singh
Hemant Kumar Singh
RE: Solr and Liferay 6.1 Integration problem
17 de Outubro de 2012 23:16
Resposta

Hemant Kumar Singh

Ranking: New Member

Mensagens: 8

Data de entrada: 16 de Agosto de 2012

Mensagens recentes

Ramalingam G:
Hi Flor,

I have integrated Liferay 6.1 EE with Solr 1.4.1. Find below steps.

1. Download apache-solr-1.4.1.zip from http://apache.techartifact.com/mirror/lucene/solr/1.4.1

2. Unzip apache-solr-1.4.1.zip in your local drive D:\

3. Copy solr folder from D:\apache-solr-1.4.1\example and paste in D:\solr (this folder contains bin and conf; Assume this as SolrHome).

4. Update solr data path in D:\solr\conf\solrconfig.xml as mentioned below
1<dataDir>${solr.data.dir:D:\solr\data}</dataDir>


5. Deploy solr.war (D:\apache-solr-1.4.1\example\webapp\solr.war) in Seperate Tomcat 6 server (Not Liferay). Assume Tomcat path D:\Tomcat6

6. Update SolrHome path in D:\Tomcat6\webapps\solr\WEB-INF\web.xml as mentioned below and restart Tomcat
1    <env-entry>
2       <env-entry-name>solr/home</env-entry-name>
3       <env-entry-value>D:\solr</env-entry-value>
4       <env-entry-type>java.lang.String</env-entry-type>
5    </env-entry>


7.Now navigate http://servername:port/slor/admin/ to ensure solr running

8. Download and deploy solr plugin from http://downloads.sourceforge.net/lportal/solr-web-6.0.6.1.war

9. Update solr server URL in $LiferayHome\tomcat-7.0.25\webapps\solr-web\WEB-INF\classes\META-INF\solr-spring.xml as mentioned below
1<bean id="com.liferay.portal.search.solr.server.BasicAuthSolrServer" class="com.liferay.portal.search.solr.server.BasicAuthSolrServer">
2        <constructor-arg type="java.lang.String" value="http://solrservername:port/solr" />
3</bean>


10. Copy schema.xml from $LiferayHome\tomcat-7.0.25\webapps\solr-web\WEB-INF\conf\ to D:\solr\conf\ (replace schema.xml)

11. Now restart your slor Tomcat and Liferay

12. Reindex all search indexs through Liferay control panel --> server administration

Thanks,
Ram



hi ram................

first of all thanku very much for step i goot my liferay intergated with solr i have been try ing for the last four day ..............
but i have to ask you one thing that when i reindex from the server adminstration..
it show this result
05:08:19,580 INFO [http-bio-8088-exec-2][LuceneIndexer:81] Reindexing Lucene started
05:08:19,582 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.assetpublisher.util.AssetIndexer started
05:08:19,583 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.assetpublisher.util.AssetIndexer completed in 0 seconds
05:08:19,583 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.usersadmin.util.OrganizationIndexer started
05:08:19,623 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.usersadmin.util.OrganizationIndexer completed in 0 seconds
05:08:19,623 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.usersadmin.util.UserIndexer started
05:08:19,942 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.usersadmin.util.UserIndexer completed in 0 seconds
05:08:19,943 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.journal.util.JournalIndexer started
05:08:20,329 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.journal.util.JournalIndexer completed in 0 seconds
05:08:20,330 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.messageboards.util.MBIndexer started
05:08:20,451 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.messageboards.util.MBIndexer completed in 0 seconds
05:08:20,451 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.bookmarks.util.BookmarksIndexer started
05:08:20,693 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.bookmarks.util.BookmarksIndexer completed in 0 seconds
05:08:20,694 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.blogs.util.BlogsIndexer started
05:08:20,737 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.blogs.util.BlogsIndexer completed in 0 seconds
05:08:20,738 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.wiki.util.WikiIndexer started
05:08:20,780 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.wiki.util.WikiIndexer completed in 0 seconds
05:08:20,781 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.calendar.util.CalIndexer started
05:08:20,819 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.calendar.util.CalIndexer completed in 0 seconds
05:08:20,820 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer started
05:08:20,857 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer completed in 0 seconds
05:08:20,858 INFO [http-bio-8088-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer started
05:08:21,864 INFO [http-bio-8088-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer completed in 1 seconds
05:08:21,865 INFO [http-bio-8088-exec-2][LuceneIndexer:129] Reindexing Lucene completed in 2 seconds

in solr admin while it shows that it uses it has been it integrated

but actually where to look that i am using solr for my search..........
please help asap

regards
hemant kumar singh.
Hemant Kumar Singh
RE: Solr and Liferay 6.1 Integration problem
17 de Outubro de 2012 23:42
Resposta

Hemant Kumar Singh

Ranking: New Member

Mensagens: 8

Data de entrada: 16 de Agosto de 2012

Mensagens recentes

Hi namrata

could you please tell me how to check for that solr is being used for searching................


regards
hemant
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
18 de Outubro de 2012 10:00
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Hemant,

Thanks for the answer, but it doesn't work with Liferay 6.1 CE.

Regards,

Flor.
Hitoshi Ozawa
RE: Solr and Liferay 6.1 Integration problem
18 de Outubro de 2012 17:28
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7990

Data de entrada: 23 de Março de 2010

Mensagens recentes

but actually where to look that i am using solr for my search..........


Login to Solr Admin and see if the indexes are there are not.
Hemant Kumar Singh
RE: Solr and Liferay 6.1 Integration problem
18 de Outubro de 2012 21:17
Resposta

Hemant Kumar Singh

Ranking: New Member

Mensagens: 8

Data de entrada: 16 de Agosto de 2012

Mensagens recentes

Hi Flor............

Actually it worked for me let paste the step i followed ..........................
Approach 2


I have integrated Liferay 6.1 EE with Solr 1.4.1. Find below steps.

1. Download apache-solr-1.4.1.zip from http://archive.apache.org/dist/lucene/solr/1.4.1/
2. Unzip apache-solr-1.4.1.zip in your local drive E:\

3. Copy solr folder from E:\User\Hemant\Liferay\apache-solr-1.4.1\example and paste in E:\User\Hemant\Liferay\solr (this folder contains bin and conf; Assume this as SolrHome).

4. Update solr data path in E:\User\Hemant\Liferay\solr\conf\solrconfig.xml as mentioned below 
<dataDir>${solr.data.dir:E:\User\Hemant\Liferay\solr\data}</dataDir>

5. Deploy solr.war (E:\User\Hemant\Liferay\apache-solr-1.4.1\example\webapps\solr.war) in Seperate Tomcat 6 server (Not Liferay). Assume Tomcat path E:\User\Hemant\Liferay\apache-tomcat-5.5.23

6. Update SolrHome path in E:\User\Hemant\Liferay\apache-tomcat-5.5.23\webapps\solr\WEB-INF\web.xml as mentioned below and restart Tomcat

<env-entry>
       <env-entry-name>solr/home</env-entry-name>
       <env-entry-value>E:\User\Hemant\Liferay\solr</env-entry-value>
       <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>


7.Now navigate http://localhost:8080/slor/admin/ to ensure solr running

8. Download and deploy solr plugin from http://ftp.liferay.com/solr-web-6.1.1.1-ce-ga2-20120731132656558.war in E:\User\Hemant\Liferay\liferay-portal-6.1.1-ce-ga2\deploy

9. Update solr server URL in $E:\User\Hemant\Liferay\liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27\webapps\solr-web\WEB-INF\classes\META-INF\solr-spring.xml as mentioned below 

<bean id="com.liferay.portal.search.solr.server.BasicAuthSolrServer" class="com.liferay.portal.search.solr.server.BasicAuthSolrServer">
        <constructor-arg type="java.lang.String" value="http://solrservername:port/solr" />
</bean>

10. Copy schema.xml from $E:\User\Hemant\Liferay\liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27\webapps\solr-web\WEB-INF\confto E:\User\Hemant\Liferay\solr (replace schema.xml)

11. Now restart your slor Tomcat and Liferay

12. Reindex all search indexs through Liferay control panel --> server administration 
13.done follow exact step for solr integration with liferay .it is very important that the version of liferay and solr-web should much even though in future if liferay version change make sure that your liferay and solr-web are same.

the only problem i am facing is the while re-indexing it shows lucene is reindexing............................

Regards
Hemant Kumar Singh
Hemant Kumar Singh
RE: Solr and Liferay 6.1 Integration problem
18 de Outubro de 2012 21:51
Resposta

Hemant Kumar Singh

Ranking: New Member

Mensagens: 8

Data de entrada: 16 de Agosto de 2012

Mensagens recentes

Hitoshi Ozawa:
but actually where to look that i am using solr for my search..........


Login to Solr Admin and see if the indexes are there are not.


Hi Hitoshi

actually i have this it s inside http://localhost:8080/solr/admin/
and this is the response of search
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">18</int>
<lst name="params">
<str name="indent">on</str>
<str name="start">0</str>
<str name="q">*:*</str>
<str name="rows">10</str>
<str name="version">2.2</str>
</lst>
</lst>
<result name="response" numFound="24" start="0">
<doc>
<arr name="artifactId">
<str>welcome-theme</str>
</arr>
<arr name="author">
<str>Liferay, Inc.</str>
</arr>
<arr name="companyId">
<str>0</str>
</arr>
<str name="content">Liferay, Inc. Welcome Theme</str>
<arr name="entryClassName">
<str>com.liferay.portal.kernel.plugin.PluginPackage</str>
</arr>
<arr name="groupId">
<str>liferay</str>
</arr>
<arr name="installedVersion">
<str>6.1.1.1-ce-ga2</str>
</arr>
<arr name="license">
<str>LGPL</str>
</arr>
<arr name="modified">
<str>20121018082635</str>
</arr>
<arr name="moduleId">
<str>liferay/welcome-theme/6.1.1.1-ce-ga2/war</str>
</arr>
<arr name="osi-approved-license">
<str>true</str>
</arr>
<arr name="pageURL">
<str>http://www.liferay.com</str>
</arr>
<arr name="portletId">
<str>PluginPackageIndexer</str>
</arr>
<arr name="repositoryURL">
<str>LOCAL_URL</str>
</arr>
<arr name="status">
<str>sameVersionInstalled</str>
</arr>
<str name="title">Welcome Theme</str>
<arr name="title_sortable">
<str>Welcome Theme</str>
</arr>
<arr name="type">
<str>theme</str>
</arr>
<str name="uid">
PluginPackageIndexer_PORTLET_liferay/welcome-theme/6.1.1.1-ce-ga2/war
</str>
<str name="version">6.1.1.1-ce-ga2</str>
</doc>
<doc>
<arr name="companyId">
<str>10154</str>
</arr>
<arr name="emailAddress">
<str>test@liferay.com</str>
</arr>
<arr name="entryClassName">
<str>com.liferay.portal.model.User</str>
</arr>
<str name="entryClassPK">10196</str>
<str name="firstName">Test</str>
<arr name="firstName_sortable">
<str>Test</str>
</arr>
<str name="firstName_string">Test</str>
<arr name="fullName">
<str>Test Test</str>
</arr>
<arr name="groupIds">
<str>10180</str>
</arr>
<str name="lastName">Test</str>
<arr name="lastName_sortable">
<str>Test</str>
</arr>
<str name="lastName_string">Test</str>
<arr name="modified">
<str>20121016090720</str>
</arr>
<arr name="organizationCount">
<str>0</str>
</arr>
<arr name="portletId">
<str>125</str>
</arr>
<arr name="roleId">
<str>10163</str>
</arr>
<arr name="roleIds">
<str>10161</str>
<str>10164</str>
<str>10165</str>
</arr>
<arr name="screenName">
<str>test</str>
</arr>
<arr name="screenName_sortable">
<str>test</str>
</arr>
<arr name="status">
<str>0</str>
</arr>
<str name="uid">125_PORTLET_10196</str>
<arr name="userId">
<str>10196</str>
</arr>
<str name="userName">Test Test</str>
</doc>
<doc>
<arr name="companyId">
<str>10154</str>
</arr>
<arr name="emailAddress">
<str>piyush@gmail.com</str>
</arr>
<arr name="entryClassName">
<str>com.liferay.portal.model.User</str>
</arr>
<str name="entryClassPK">10751</str>
<str name="firstName">piyush</str>
<arr name="firstName_sortable">
<str>piyush</str>
</arr>
<str name="firstName_string">piyush</str>
<arr name="fullName">
<str>piyush</str>
</arr>
<arr name="modified">
<str>20121016055405</str>
</arr>
<arr name="organizationCount">
<str>0</str>
</arr>
<arr name="portletId">
<str>125</str>
</arr>
<arr name="roleId">
<str>10163</str>
</arr>
<arr name="roleIds">
<str>10164</str>
<str>10165</str>
</arr>
<arr name="screenName">
<str>piyush</str>
</arr>
<arr name="screenName_sortable">
<str>piyush</str>
</arr>
<arr name="status">
<str>5</str>
</arr>
<str name="uid">125_PORTLET_10751</str>
<arr name="userId">
<str>10751</str>
</arr>
<str name="userName">piyush</str>
</doc>
<doc>
<arr name="companyId">
<str>10154</str>
</arr>
<arr name="emailAddress">
<str>hemant2712@gmail.com</str>
</arr>
<arr name="entryClassName">
<str>com.liferay.portal.model.User</str>
</arr>
<str name="entryClassPK">10760</str>
<str name="firstName">Hemant</str>
<arr name="firstName_sortable">
<str>Hemant</str>
</arr>
<str name="firstName_string">Hemant</str>
<arr name="fullName">
<str>Hemant Kumar Singh</str>
</arr>
<str name="lastName">Singh</str>
<arr name="lastName_sortable">
<str>Singh</str>
</arr>
<str name="lastName_string">Singh</str>
<arr name="middleName">
<str>Kumar</str>
</arr>
<arr name="modified">
<str>20121016055531</str>
</arr>
<arr name="organizationCount">
<str>0</str>
</arr>
<arr name="portletId">
<str>125</str>
</arr>
<arr name="roleId">
<str>10163</str>
</arr>
<arr name="roleIds">
<str>10164</str>
<str>10165</str>
</arr>
<arr name="screenName">
<str>hemant</str>
</arr>
<arr name="screenName_sortable">
<str>hemant</str>
</arr>
<arr name="status">
<str>5</str>
</arr>
<str name="uid">125_PORTLET_10760</str>
<arr name="userId">
<str>10760</str>
</arr>
<str name="userName">Hemant Kumar Singh</str>
</doc>
<doc>
<arr name="companyId">
<str>10154</str>
</arr>
<arr name="emailAddress">
<str>armersh@gmail.com</str>
</arr>
<arr name="entryClassName">
<str>com.liferay.portal.model.User</str>
</arr>
<str name="entryClassPK">11007</str>
<str name="firstName">Amresh</str>
<arr name="firstName_sortable">
<str>Amresh</str>
</arr>
<str name="firstName_string">Amresh</str>
<arr name="fullName">
<str>Amresh Kumar</str>
</arr>
<arr name="jobTitle">
<str>software engineer</str>
</arr>
<arr name="jobTitle_sortable">
<str>software engineer</str>
</arr>
<arr name="middleName">
<str>Kumar</str>
</arr>
<arr name="modified">
<str>20121018072856</str>
</arr>
<arr name="organizationCount">
<str>0</str>
</arr>
<arr name="portletId">
<str>125</str>
</arr>
<arr name="roleId">
<str>10163</str>
</arr>
<arr name="roleIds">
<str>10164</str>
<str>10165</str>
</arr>
<arr name="screenName">
<str>amresh</str>
</arr>
<arr name="screenName_sortable">
<str>amresh</str>
</arr>
<arr name="status">
<str>5</str>
</arr>
<str name="uid">125_PORTLET_11007</str>
<arr name="userId">
<str>11007</str>
</arr>
<str name="userName">Amresh Kumar</str>
</doc>
<doc>
<arr name="companyId">
<str>10154</str>
</arr>
<arr name="emailAddress">
<str>amresh@liferay.com</str>
</arr>
<arr name="entryClassName">
<str>com.liferay.portal.model.User</str>
</arr>
<str name="entryClassPK">11101</str>
<str name="firstName">Amresh</str>
<arr name="firstName_sortable">
<str>Amresh</str>
</arr>
<str name="firstName_string">Amresh</str>
<arr name="fullName">
<str>Amresh Kumar</str>
</arr>
<str name="lastName">Kumar</str>
<arr name="lastName_sortable">
<str>Kumar</str>
</arr>
<str name="lastName_string">Kumar</str>
<arr name="modified">
<str>20121018083627</str>
</arr>
<arr name="organizationCount">
<str>0</str>
</arr>
<arr name="portletId">
<str>125</str>
</arr>
<arr name="roleId">
<str>10163</str>
</arr>
<arr name="roleIds">
<str>10164</str>
<str>10165</str>
</arr>
<arr name="screenName">
<str>ammresh</str>
</arr>
<arr name="screenName_sortable">
<str>ammresh</str>
</arr>
<arr name="status">
<str>0</str>
</arr>
<str name="uid">125_PORTLET_11101</str>
<arr name="userId">
<str>11101</str>
</arr>
<str name="userName">Amresh Kumar</str>
</doc>
<doc>
<arr name="articleId">
<str>WHO-IS-USING-LIFERAY</str>
</arr>
<arr name="classNameId">
<str>0</str>
</arr>
<arr name="classPK">
<str>0</str>
</arr>
<arr name="companyId">
<str>10154</str>
</arr>
<str name="content">
Liferay helps you build feature-rich, easy-to-use web applications quickly. Here are some of our customers from around the globe: Rolex Bugaboo Deluxe Corporation Domino's Pizza BASF Honda GE Capital Sesame Street China Mobile York University
</str>
<arr name="content_en_US">
<str>
Liferay helps you build feature-rich, easy-to-use web applications quickly. Here are some of our customers from around the globe: Rolex Bugaboo Deluxe Corporation Domino's Pizza BASF Honda GE Capital Sesame Street China Mobile York University
</str>
</arr>
<arr name="createDate">
<str>20121016055037</str>
</arr>
<arr name="displayDate">
<str>20100201000000</str>
</arr>
<arr name="entryClassName">
<str>com.liferay.portlet.journal.model.JournalArticle</str>
</arr>
<str name="entryClassPK">10675</str>
<arr name="groupId">
<str>10180</str>
</arr>
<arr name="modified">
<str>20121016055038</str>
</arr>
<arr name="portletId">
<str>15</str>
</arr>
<arr name="roleId">
<str>10162</str>
<str>10163</str>
</arr>
<arr name="rootEntryClassPK">
<str>10675</str>
</arr>
<arr name="scopeGroupId">
<str>10180</str>
</arr>
<arr name="stagingGroup">
<str>false</str>
</arr>
<arr name="status">
<str>0</str>
</arr>
<str name="title">Who Is Using Liferay</str>
<arr name="title_en_US">
<str>Who Is Using Liferay</str>
</arr>
<arr name="type">
<str>general</str>
</arr>
<str name="uid">15_PORTLET_10180_FIELD_WHO-IS-USING-LIFERAY</str>
<arr name="userId">
<str>10158</str>
</arr>
<str name="version">1.0</str>
</doc>
<doc>
<arr name="articleId">
<str>LIFERAY-BENEFITS</str>
</arr>
<arr name="classNameId">
<str>0</str>
</arr>
<arr name="classPK">
<str>0</str>
</arr>
<arr name="companyId">
<str>10154</str>
</arr>
<str name="content">
See how Liferay can change the way you do business. Open Source: A Better Way //www.liferay.com/open?wh=9 Ready to Go //www.liferay.com/ready?wh=10 Ready to Grow //www.liferay.com/grow?wh=11 Approved by IT //www.liferay.com/approved?wh=12 Open for Business //www.liferay.com/subscription?wh=13
</str>
<arr name="content_en_US">
<str>
See how Liferay can change the way you do business. Open Source: A Better Way //www.liferay.com/open?wh=9 Ready to Go //www.liferay.com/ready?wh=10 Ready to Grow //www.liferay.com/grow?wh=11 Approved by IT //www.liferay.com/approved?wh=12 Open for Business //www.liferay.com/subscription?wh=13
</str>
</arr>
<arr name="createDate">
<str>20121016055038</str>
</arr>
<arr name="displayDate">
<str>20100201000000</str>
</arr>
<arr name="entryClassName">
<str>com.liferay.portlet.journal.model.JournalArticle</str>
</arr>
<str name="entryClassPK">10692</str>
<arr name="groupId">
<str>10180</str>
</arr>
<arr name="modified">
<str>20121016055038</str>
</arr>
<arr name="portletId">
<str>15</str>
</arr>
<arr name="roleId">
<str>10162</str>
<str>10163</str>
</arr>
<arr name="rootEntryClassPK">
<str>10692</str>
</arr>
<arr name="scopeGroupId">
<str>10180</str>
</arr>
<arr name="stagingGroup">
<str>false</str>
</arr>
<arr name="status">
<str>0</str>
</arr>
<arr name="structureId">
<str>10686</str>
</arr>
<arr name="templateId">
<str>10688</str>
</arr>
<str name="title">Liferay Benefits</str>
<arr name="title_en_US">
<str>Liferay Benefits</str>
</arr>
<arr name="type">
<str>general</str>
</arr>
<str name="uid">15_PORTLET_10180_FIELD_LIFERAY-BENEFITS</str>
<arr name="userId">
<str>10158</str>
</arr>
<str name="version">1.0</str>
</doc>
<doc>
<arr name="articleId">
<str>WHAT-WE-DO</str>
</arr>
<arr name="classNameId">
<str>0</str>
</arr>
<arr name="classPK">
<str>0</str>
</arr>
<arr name="companyId">
<str>10154</str>
</arr>
<str name="content">
Liferay helps you build feature-rich, easy-to-use web applications quickly. A Foundation for Apps //www.liferay.com/platform?wh=1 Dynamic Websites //www.liferay.com/wem?wh=2 Centralized Document Management //www.liferay.com/dm?wh=3 Intuitive Team Collaboration //www.liferay.com/team?wh=4 Tools for Business //www.liferay.com/productivity?wh=5 Desktop & Mobile Access //www.liferay.com/sync?wh=6 Liferay Marketplace //www.liferay.com/marketplace?wh=7
</str>
<arr name="content_en_US">
<str>
Liferay helps you build feature-rich, easy-to-use web applications quickly. A Foundation for Apps //www.liferay.com/platform?wh=1 Dynamic Websites //www.liferay.com/wem?wh=2 Centralized Document Management //www.liferay.com/dm?wh=3 Intuitive Team Collaboration //www.liferay.com/team?wh=4 Tools for Business //www.liferay.com/productivity?wh=5 Desktop & Mobile Access //www.liferay.com/sync?wh=6 Liferay Marketplace //www.liferay.com/marketplace?wh=7
</str>
</arr>
<arr name="createDate">
<str>20121016055039</str>
</arr>
<arr name="displayDate">
<str>20100201000000</str>
</arr>
<arr name="entryClassName">
<str>com.liferay.portlet.journal.model.JournalArticle</str>
</arr>
<str name="entryClassPK">10700</str>
<arr name="groupId">
<str>10180</str>
</arr>
<arr name="modified">
<str>20121016055039</str>
</arr>
<arr name="portletId">
<str>15</str>
</arr>
<arr name="roleId">
<str>10162</str>
<str>10163</str>
</arr>
<arr name="rootEntryClassPK">
<str>10700</str>
</arr>
<arr name="scopeGroupId">
<str>10180</str>
</arr>
<arr name="stagingGroup">
<str>false</str>
</arr>
<arr name="status">
<str>0</str>
</arr>
<arr name="structureId">
<str>10686</str>
</arr>
<arr name="templateId">
<str>10688</str>
</arr>
<str name="title">What We Do</str>
<arr name="title_en_US">
<str>What We Do</str>
</arr>
<arr name="type">
<str>general</str>
</arr>
<str name="uid">15_PORTLET_10180_FIELD_WHAT-WE-DO</str>
<arr name="userId">
<str>10158</str>
</arr>
<str name="version">1.0</str>
</doc>
<doc>
<arr name="companyId">
<str>10154</str>
</arr>
<arr name="dataRepositoryId">
<str>10180</str>
</arr>
<arr name="ddm/10308/HttpHeaders_CONTENT_TYPE">
<str>image/jpeg</str>
</arr>
<arr name="ddm/10308/TIFF_BITS_PER_SAMPLE">
<str>8</str>
</arr>
<arr name="ddm/10308/TIFF_IMAGE_LENGTH">
<str>303</str>
</arr>
<arr name="ddm/10308/TIFF_IMAGE_WIDTH">
<str>460</str>
</arr>
<arr name="entryClassName">
<str>
com.liferay.portlet.documentlibrary.model.DLFileEntry
</str>
</arr>
<str name="entryClassPK">10514</str>
<arr name="extension">
<str>jpg</str>
</arr>
<arr name="fileEntryTypeId">
<str>0</str>
</arr>
<arr name="folderId">
<str>0</str>
</arr>
<arr name="groupId">
<str>10180</str>
</arr>
<arr name="modified">
<str>20121016055032</str>
</arr>
<arr name="path">
<str>welcome_bg_3.jpg</str>
</arr>
<arr name="portletId">
<str>20</str>
</arr>
<str name="properties">welcome_bg_3</str>
<arr name="roleId">
<str>10162</str>
<str>10163</str>
</arr>
<arr name="scopeGroupId">
<str>10180</str>
</arr>
<arr name="stagingGroup">
<str>false</str>
</arr>
<arr name="status">
<str>0</str>
</arr>
<str name="title">welcome_bg_3.jpg</str>
<arr name="title_sortable">
<str>welcome_bg_3.jpg</str>
</arr>
<str name="uid">20_PORTLET_10514</str>
<arr name="userId">
<str>10158</str>
</arr>
</doc>
</result>
</response>
Florencia Gadea
RE: Solr and Liferay 6.1 Integration problem
19 de Outubro de 2012 04:34
Resposta

Florencia Gadea

Ranking: Regular Member

Mensagens: 145

Data de entrada: 27 de Março de 2012

Mensagens recentes

Hi Hemant,

I was trying with Liferay 6.1.0 CE. I know it works now for 6.1.1.

Thanks anyway.

Regards,

Flor.
Hemant Kumar Singh
RE: Solr and Liferay 6.1 Integration problem
21 de Outubro de 2012 22:17
Resposta

Hemant Kumar Singh

Ranking: New Member

Mensagens: 8

Data de entrada: 16 de Agosto de 2012

Mensagens recentes

Florencia Gadea:
Hi Hemant,

I was trying with Liferay 6.1.0 CE. I know it works now for 6.1.1.

Thanks anyway.

Regards,

Flor.


Hi Flor

i think it might work

regards
Hemant
Hemant Kumar Singh
RE: Solr and Liferay 6.1 Integration problem
24 de Outubro de 2012 22:15
Resposta

Hemant Kumar Singh

Ranking: New Member

Mensagens: 8

Data de entrada: 16 de Agosto de 2012

Mensagens recentes

hi Hitoshi

when i reindex in my server admin
it say lucene has started
how to make that as solr reindexing

Regards
Hemant Kumar Singh
Ediz Bozüyük
RE: Solr and Liferay 6.1 Integration problem
14 de Novembro de 2012 05:57
Resposta

Ediz Bozüyük

Ranking: New Member

Mensagens: 9

Data de entrada: 15 de Agosto de 2011

Mensagens recentes

For Windows you have to make an environment variable "SOLR_HOME". As value you write e.g. "D:\apache-solr-1.4.1\example\solr" without "" ;)

Is it possible now to use Solr 3.6.1 ? If its not, no problem, i'll use 1.4.1 ...BUT one more question: is it possible to use Liferay+Solr AND Nutch? because we also want to crawl external sites for our intranet and let Solr also index them. Could this be achived by mapping the proper fields from the nutch schema to solr schema?
mukund S
RE: Solr and Liferay 6.1 Integration problem
29 de Novembro de 2012 03:12
Resposta

mukund S

Ranking: Junior Member

Mensagens: 26

Data de entrada: 25 de Outubro de 2012

Mensagens recentes

Hi,
I am trying to integrate solr 3.6 with liferay 6.0.....
Could you please explain me the procedure in detail ?
mukund S
RE: Solr and Liferay 6.1 Integration problem
29 de Novembro de 2012 03:19
Resposta

mukund S

Ranking: Junior Member

Mensagens: 26

Data de entrada: 25 de Outubro de 2012

Mensagens recentes

Hi vitor,
I am trying to integrate solr3.6 wiht liferay 6.1........
could you please help me and tell me the procedure?
Ranga Rao Bobbili
RE: Solr and Liferay 6.1 Integration problem
18 de Janeiro de 2013 07:26
Resposta

Ranga Rao Bobbili

Ranking: Regular Member

Mensagens: 148

Data de entrada: 20 de Julho de 2007

Mensagens recentes

Thanks Ram, successfully resolved my solr integration using your steps.

Best Regards,
Ranga Rao B
Adaequare INC
Manish Kumar
RE: Solr and Liferay 6.1 Integration problem
31 de Janeiro de 2013 01:05
Resposta

Manish Kumar

Ranking: Junior Member

Mensagens: 94

Data de entrada: 1 de Março de 2012

Mensagens recentes

Hello Ranga Rao Bobbili,
which liferay version you were working with? Is that Liferay CE or EE?

Thanks,
Manish Kumar
Ranga Rao Bobbili
RE: Solr and Liferay 6.1 Integration problem
31 de Janeiro de 2013 07:00
Resposta

Ranga Rao Bobbili

Ranking: Regular Member

Mensagens: 148

Data de entrada: 20 de Julho de 2007

Mensagens recentes

Manish Kumar:
Hello Ranga Rao Bobbili,
which liferay version you were working with? Is that Liferay CE or EE?

Thanks,
Manish Kumar


Hi Manish Kumar,

I integrated SOLR1.4 with Liferay CE 6.1.1 GA2 because liferay solr-web.war is compatible with SOLR1.4.

Thanks,
Ranga Rao Bobbili
Adaequare INC
Murat ÇOLAK
RE: Solr and Liferay 6.1 Integration problem
9 de Março de 2013 05:04
Resposta

Murat ÇOLAK

Ranking: Junior Member

Mensagens: 45

Data de entrada: 27 de Julho de 2009

Mensagens recentes

solr 3.6.2

and liferay 6.1.1
omitNorms="false" run properly

Thanks
Rehan Pathan
RE: Solr and Liferay 6.1 Integration problem
26 de Julho de 2013 09:31
Resposta

Rehan Pathan

Ranking: New Member

Mensagens: 7

Data de entrada: 30 de Janeiro de 2013

Mensagens recentes

Hi all of you......finally i have done liferay 6.1.0 + solr integration after some hardwork.
if you are facing some problem then check this post http://blog.rehanpathan.com/liferay-solr-integration
Andy Hauger
RE: Solr and Liferay 6.1 Integration problem
2 de Dezembro de 2013 08:19
Resposta

Andy Hauger

Ranking: New Member

Mensagens: 2

Data de entrada: 12 de Setembro de 2013

Mensagens recentes

Hi Everyone,

I am trying to get SOLR integrated with LR 6.1.2 CE. I tried everything in this thread with no luck. I even found solr-web 6.1.1.3 in the Marketplace and tried that with no luck. I am trying to use it with solr 1.4.1 on a separate server, which I know is up and running, because I can bring up the admin interface.

I see nothing related to the solr-web plugin in my logs. I know it deployed, because the directories were created in the webapps directory. I changed the solr-spring.xml file to point to my solr server, I copied the schema.xml file to the solr server, and restarted the solr and liferay instances.

Any help would be appreciated.

Thanks,
Andy
Mahesh Narke
RE: Solr and Liferay 6.1 Integration problem
4 de Dezembro de 2013 02:35
Resposta

Mahesh Narke

Ranking: Junior Member

Mensagens: 77

Data de entrada: 11 de Outubro de 2013

Mensagens recentes

I changed the log setting to debug mode..
i am getting following values when i tried to refresh user and organization.
Does it means solr is not integrated with liferay?

16:02:52,147 DEBUG [http-bio-8080-exec-6][LuceneIndexSearcherImpl:301] Search found 2 results in 0.001ms
16:02:53,421 DEBUG [http-bio-8080-exec-7][LuceneIndexSearcherImpl:91] Query +(+((+(entryClassName:com.liferay.portal.model.Organization) -(organizationId:0) +(parentOrganizationId:0))))
16:02:53,422 DEBUG [http-bio-8080-exec-7][IndexAccessorImpl:137] Lucene store type file
16:02:53,428 DEBUG [http-bio-8080-exec-7][LuceneIndexSearcherImpl:301] Search found 0 results in 0.001ms
16:02:53,433 DEBUG [http-bio-8080-exec-7][LuceneIndexSearcherImpl:91] Query +(+((+(entryClassName:com.liferay.portal.model.User) +(status:0) +(organizationCount:0))))
16:02:53,437 DEBUG [http-bio-8080-exec-7][IndexAccessorImpl:137] Lucene store type file
16:02:53,443 DEBUG [http-bio-8080-exec-7][LuceneIndexSearcherImpl:636] 2.0 = (MATCH) sum of:
0.0 = (MATCH) fieldWeight(entryClassName:com.liferay.portal.model.User in 3), product of:
1.0 = tf(termFreq(entryClassName:com.liferay.portal.model.User)=1)
1.0 = idf(docFreq=2, maxDocs=20)
0.0 = fieldNorm(field=entryClassName, doc=3)
1.0 = (MATCH) fieldWeight(status:0 in 3), product of:
1.0 = tf(termFreq(status:0)=1)
1.0 = idf(docFreq=20, maxDocs=20)
1.0 = fieldNorm(field=status, doc=3)
1.0 = (MATCH) fieldWeight(organizationCount:0 in 3), product of:
1.0 = tf(termFreq(organizationCount:0)=1)
1.0 = idf(docFreq=2, maxDocs=20)
1.0 = fieldNorm(field=organizationCount, doc=3)

16:02:53,444 DEBUG [http-bio-8080-exec-7][LuceneIndexSearcherImpl:636] 2.0 = (MATCH) sum of:
0.0 = (MATCH) fieldWeight(entryClassName:com.liferay.portal.model.User in 0), product of:
1.0 = tf(termFreq(entryClassName:com.liferay.portal.model.User)=1)
1.0 = idf(docFreq=2, maxDocs=20)
0.0 = fieldNorm(field=entryClassName, doc=0)
1.0 = (MATCH) fieldWeight(status:0 in 0), product of:
1.0 = tf(termFreq(status:0)=1)
1.0 = idf(docFreq=20, maxDocs=20)
1.0 = fieldNorm(field=status, doc=0)
1.0 = (MATCH) fieldWeight(organizationCount:0 in 0), product of:
1.0 = tf(termFreq(organizationCount:0)=1)
1.0 = idf(docFreq=2, maxDocs=20)
1.0 = fieldNorm(field=organizationCount, doc=0)

16:02:53,445 DEBUG [http-bio-8080-exec-7][LuceneIndexSearcherImpl:301] Search found 2 results in 0.002ms