Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Solr and Discussion forums Carlos del Castillo October 1, 2008 1:31 PM
RE: Solr and Discussion forums Bruno Farache October 1, 2008 3:05 PM
RE: Solr and Discussion forums Carlos del Castillo October 1, 2008 3:29 PM
RE: Solr and Discussion forums Bruno Farache October 1, 2008 3:43 PM
RE: Solr and Discussion forums Carlos del Castillo October 1, 2008 3:47 PM
RE: Solr and Discussion forums Bruno Farache October 1, 2008 3:49 PM
RE: Solr and Discussion forums Carlos del Castillo October 1, 2008 4:13 PM
RE: Solr and Discussion forums Carlos del Castillo October 2, 2008 7:27 AM
RE: Solr and Discussion forumsI Bruno Farache October 2, 2008 7:49 AM
RE: Solr and Discussion forumsI Carlos del Castillo October 2, 2008 8:06 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locally and Bruno Farache October 2, 2008 8:13 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locally Bruno Farache October 2, 2008 8:37 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locally Carlos del Castillo October 2, 2008 9:05 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI woul Bruno Farache October 2, 2008 9:34 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI Carlos del Castillo October 2, 2008 10:34 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI Bruno Farache October 2, 2008 11:08 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI Bruno Farache October 2, 2008 12:40 PM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI Carlos del Castillo October 2, 2008 2:35 PM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI Bruno Farache October 3, 2008 9:27 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI saurabh jain May 7, 2010 12:45 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI François Le Quemener February 1, 2011 5:32 AM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI Ranga Rao Bobbili February 5, 2013 9:32 PM
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI Ranga Rao Bobbili April 10, 2013 12:52 PM
Carlos del Castillo
Solr and Discussion forums
October 1, 2008 1:31 PM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

I have setup a test liferay environment and a Solr search engine. I installed the plugin according to the wiki and Solr is indexing all the content from Wiki, Blogs and forums.

When I do the search on wiki and blogs the results are correct, but when doing a search on the forums I get no results.

Running a sniffer between the Solr server and liferay I see the search query and Solr is returning valid results but for some reason the search function in the forums is not showing any results.

Is anybody else seeing this behavior? Anybody with some pointers on how to solve this or what other information will be useful to solve it or to open a ticket in liferay bug tracking tool?

Thank you very much.
Bruno Farache
RE: Solr and Discussion forums
October 1, 2008 3:05 PM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Hi Carlos, which version of Solr are you using?

Can you test if Journal Content Search works? If it doesn't I might know what's going on...
Carlos del Castillo
RE: Solr and Discussion forums
October 1, 2008 3:29 PM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

Bruno, thanks for the quick reply. I tested the search on the journal content and didn't work. I reindexed the content manually, tested the search directly on solr admin page (content:query) and the content is indexed and returned by a simple query. But from the journal search portlet does not display any results.

Any ideas?

Thanks again!
Bruno Farache
RE: Solr and Discussion forums
October 1, 2008 3:43 PM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Both searches are filtered by ThreadHits (forum) and ContentHits (journal), if both aren't working the problem is probably in these classes. I will test it locally soon and come back with a fix, hopefully...
Carlos del Castillo
RE: Solr and Discussion forums
October 1, 2008 3:47 PM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

Thank you so much Bruno, the Solr version I'm using is 1.2.0
Bruno Farache
RE: Solr and Discussion forums
October 1, 2008 3:49 PM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Can you make a test very quick while I'm setting up Solr here?

Comment lines 104 and 106 at:

/html/portlet/message_boards/search.jsp

If it works we confirm that the problem is in ThreadHits
Carlos del Castillo
RE: Solr and Discussion forums
October 1, 2008 4:13 PM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

Bruno,
I commented out the following lines:
1//ThreadHits threadHits = new ThreadHits();
2
3//threadHits.recordHits(results, searchContainer.getStart(), searchContainer.getEnd());


But now it's seems that the JSP is broken on the logs I just see
123:10:47,446 ERROR [jsp:52]


And on the browser the portlet does not render any content, just displays the Search tab. So I guess we need those lines for something.

Thanks again!
Carlos del Castillo
RE: Solr and Discussion forums
October 2, 2008 7:27 AM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

Bruno, may this can help, here is the xml response that Solr is sending after doing a search on the forums:

 1<?xml version="1.0" encoding="UTF-8"?>
 2<response>
 3  <lst name="responseHeader">
 4    <int name="status">0</int>
 5    <int name="QTime">1</int>
 6    <lst name="params">
 7      <str name="fl">score</str>
 8      <str name="q">
 9    +(+portletId:19 +groupId:10208 +(categoryId:0 categoryId:10301
10    categoryId:13505 categoryId:13281)) +(userName:test title:test
11    content:test tagsEntries:test)
12      </str>
13    </lst>
14  </lst>
15  <result name="response" numFound="4" start="0" maxScore="3.1238697">
16    <doc>
17      <float name="score">3.1238697</float>
18      <str name="categoryId">13281</str>
19      <str name="companyId">10109</str>
20      <str name="content">new thread in test category</str>
21      <str name="entryClassName">com.liferay.portlet.messageboards.model.MBMessage</str>
22      <str name="entryClassPK">13295</str>
23      <str name="groupId">10208</str>
24      <str name="modified">20081001222519</str>
25      <str name="portletId">19</str>
26      <str name="threadId">13296</str>
27      <str name="title">forum test</str>
28      <str name="uid">19_PORTLET_13295</str>
29      <str name="userName">Some User</str>
30    </doc>
31    <doc>
32      <float name="score">3.0721412</float>
33      <str name="categoryId">10301</str>
34      <str name="companyId">10109</str>
35      <str name="content">ANS testing...</str>
36      <str name="entryClassName">com.liferay.portlet.messageboards.model.MBMessage</str>
37      <str name="entryClassPK">12258</str>
38      <str name="groupId">10208</str>
39      <str name="modified">20081001222519</str>
40      <str name="portletId">19</str>
41      <str name="threadId">12259</str>
42      <str name="title">Test ANS</str>
43      <str name="uid">19_PORTLET_12258</str>
44      <str name="userName">Some User</str>
45    </doc>
46    <doc>
47      <float name="score">2.8801155</float>
48      <str name="categoryId">10301</str>
49      <str name="companyId">10109</str>
50      <str name="content">testing</str>
51      <str name="entryClassName">com.liferay.portlet.messageboards.model.MBMessage</str>
52      <str name="entryClassPK">13013</str>
53      <str name="groupId">10208</str>
54      <str name="modified">20081001222519</str>
55      <str name="portletId">19</str>
56      <str name="threadId">13014</str>
57      <str name="title">Leia test</str>
58      <str name="uid">19_PORTLET_13013</str>
59      <str name="userName">Some User</str>
60    </doc>
61    <doc>
62      <float name="score">2.560073</float>
63      <str name="categoryId">10301</str>
64      <str name="companyId">10109</str>
65      <str name="content">Cool</str>
66      <str name="entryClassName">com.liferay.portlet.messageboards.model.MBMessage</str>
67      <str name="entryClassPK">12941</str>
68      <str name="groupId">10208</str>
69      <str name="modified">20081001222519</str>
70      <str name="portletId">19</str>
71      <str name="threadId">13014</str>
72      <str name="title">RE: Leia test</str>
73      <str name="uid">19_PORTLET_12941</str>
74      <str name="userName">Some User</str>
75    </doc>
76  </result>
77</response>
Bruno Farache
RE: Solr and Discussion forumsI
October 2, 2008 7:49 AM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Hi Carlos,

I tried to install Solr yesterday but something was going wrong, I guess I had a wrong build, I'm trying to do it now...

I remembered that a similar problem was already fixed, but I would like to double check if it's the same you are having now. The bug was affecting not only Solr but also Lucene.

Take a look and these jsps/java:

http://support.liferay.com/browse/LEP-6623?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel

If your Liferay is older than 09/July you don't have this fix.
Carlos del Castillo
RE: Solr and Discussion forumsI
October 2, 2008 8:06 AM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

Bruno, I did the test with Lucene and at least the Dicussion Forum search works. The lifreay version I'm using is:

Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, 2008)

Thanks!
Bruno Farache
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locally and
October 2, 2008 8:13 AM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

That's right Carlos, it's a different issue, I've finally tested it locally, debugging it right now...
Bruno Farache
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locally
October 2, 2008 8:37 AM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Hey Carlos, fixed in:

http://support.liferay.com/browse/LEP-7724

Revision 21167 of plugins svn. You need to modify one file in solr-web and redeploy it, here are the changes:

http://lportal.svn.sourceforge.net/viewvc/lportal/plugins/trunk/webs/solr-web/docroot/WEB-INF/src/com/liferay/portal/search/solr/SolrIndexSearcherImpl.java?r1=20719&r2=21167

Thanks for bringing this up!
Carlos del Castillo
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locally
October 2, 2008 9:05 AM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

Awesome, thank you very much Bruno, I'll checkout the plugin from the svn repository and let you know.
Bruno Farache
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI woul
October 2, 2008 9:34 AM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

I would recommend to download the source code of the plugin how it was in version 5.1.1 and not the current source code, then change only these lines that I pointed.

Some parts of the plugin may have changed from version 5.1.1 that won't be compatible with your Liferay at version 5.1.1. That is, the current plugin source code is only compatible with the current Liferay trunk.

Seems like journal content search is still not working, it's a different issue... debugging it...
Carlos del Castillo
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
October 2, 2008 10:34 AM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

May be this is stupid question, but how can I download the plugin source code of the specific version? I looked in Subversion but could not find any tags for the plugins, the only tags I saw were for Liferay Portal. Any suggestions?
Bruno Farache
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
October 2, 2008 11:08 AM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Checkout revision 19295, it's the one you want.

To figure out this I used smartsvn to see all logs of changes to the solr-web folder since its creation. This plugin was released on 8/15/08 and the last change before it was on 8/14, which is revision 19295.
Bruno Farache
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
October 2, 2008 12:40 PM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

The journal content search bug was just fixed in:

http://support.liferay.com/browse/LEP-7731

revision 21186
Carlos del Castillo
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
October 2, 2008 2:35 PM
Answer

Carlos del Castillo

Rank: New Member

Posts: 21

Join Date: August 28, 2008

Recent Posts

Bruno, finally I was able to compile the plugin and apply the changes to the SolrIndexSearcherImpl.java file here is the diff output if somebody else needs it. I used the revision 19295 that you mention.
124a25
2> import com.liferay.portal.kernel.dao.orm.QueryUtil;
3102a104,108
4
5>         if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS)) {
6>             start = 0;
7>                         end = length;
8>                 }


Now I can search the discussions, the journal content can be searched after reindexing.

Thank you so much for all your help, I just have one more question for you, I don't know if you notice but after installing the solr plugin the Plugins Portlet does not work, this happened to me in two different environments. Here are the logs from catalina.out

 1Oct 2, 2008 9:30:52 PM org.apache.solr.core.SolrCore execute
 2INFO: /select fl=score&q=%2B(%2BportletId:PluginPackageIndexer)+%2B(type:portlet)+%2B(status:notInstalled+status:olderVersionInstalled) 0 1
 321:30:52,760 ERROR [SolrIndexSearcherImpl:80] Error while sending request to Solr
 4java.lang.IndexOutOfBoundsException: Index: 10, Size: 10
 5    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
 6    at java.util.ArrayList.get(ArrayList.java:322)
 7    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.subset(SolrIndexSearcherImpl.java:128)
 8    at com.liferay.portal.search.solr.SolrIndexSearcherImpl.search(SolrIndexSearcherImpl.java:77)
 9    at com.liferay.portal.search.solr.SolrSearchEngineUtil.search(SolrSearchEngineUtil.java:78)
10    at com.liferay.portal.search.solr.messaging.SolrReaderMessageListener.doCommandSearch(SolrReaderMessageListener.java:92)
11    at com.liferay.portal.search.solr.messaging.SolrReaderMessageListener.doReceive(SolrReaderMessageListener.java:75)
12    at com.liferay.portal.search.solr.messaging.SolrReaderMessageListener.receive(SolrReaderMessageListener.java:46)
13    at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:69)
14    at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:59)
15    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
16    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
17    at java.lang.Thread.run(Thread.java:619)


There are some other errors after this one, let me know if you need them.

Thanks again for all your help and a really fast fix.
Bruno Farache
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
October 3, 2008 9:27 AM
Answer

Bruno Farache

LIFERAY STAFF

Rank: Liferay Master

Posts: 573

Join Date: May 14, 2007

Recent Posts

Yes, there was some problems with paginated results, this one fixes it:

http://support.liferay.com/browse/LEP-7740

Regarding the journal articles bug, you will always need to re-index so they can be searched unless you apply the fix I mentioned in my last post (LEP-7731).
saurabh jain
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
May 7, 2010 12:45 AM
Answer

saurabh jain

Rank: New Member

Posts: 1

Join Date: April 18, 2010

Recent Posts

Hi Bruno,

I am using trunk for portal, plugins and apache solr 1.4.
I am refering http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Pluggable+Enterprise+Search+with+Solr
I am getting error.

  1
  2
  3log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
  4log4j:ERROR [WebappClassLoader
  5  delegate: false
  6  repositories:
  7    /WEB-INF/classes/
  8----------> Parent Classloader:
  9org.apache.catalina.loader.StandardClassLoader@10bc49d
 10] whereas object of type
 11log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [WebappClassLoader
 12  delegate: false
 13  repositories:
 14    /WEB-INF/classes/
 15----------> Parent Classloader:
 16org.apache.catalina.loader.StandardClassLoader@10bc49d
 17].
 18log4j:ERROR Could not instantiate appender named "CONSOLE".
 19May 7, 2010 7:40:28 AM org.apache.catalina.startup.HostConfig deployDirectory
 20INFO: Deploying web application directory tunnel-web
 2107:40:28,964 ERROR [SolrIndexWriterImpl:52] org.apache.solr.common.SolrException
 22: ERRORunknown_field_uid
 23
 24ERRORunknown_field_uid
 25
 26request: http://localhost:8983/solr/update?wt=javabin&version=2.2
 27org.apache.solr.common.SolrException: ERRORunknown_field_uid
 28
 29ERRORunknown_field_uid
 30
 31request: http://localhost:8983/solr/update?wt=javabin&version=2.2
 32        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
 33nsHttpSolrServer.java:343)
 34        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
 35nsHttpSolrServer.java:183)
 36        at com.liferay.portal.search.solr.server.BasicAuthSolrServer.request(Bas
 37icAuthSolrServer.java:96)
 38        at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequ
 39est.java:217)
 40        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)
 41        at com.liferay.portal.search.solr.SolrIndexWriterImpl.addDocument(SolrIn
 42dexWriterImpl.java:45)
 43        at com.liferay.portal.search.solr.SolrIndexWriterImpl.updateDocument(Sol
 44rIndexWriterImpl.java:138)
 45        at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListene
 46r.doReceive(SearchWriterMessageListener.java:88)
 47        at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListene
 48r.receive(SearchWriterMessageListener.java:35)
 49        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(In
 50vokerMessageListener.java:65)
 51        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(Paralle
 52lDestination.java:63)
 53        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
 54utor.java:886)
 55        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
 56.java:908)
 57        at java.lang.Thread.run(Thread.java:619)
 5807:40:28,980 ERROR [SearchWriterMessageListener:38] Unable to process message {d
 59estinationName=liferay/search_writer, responseDestinationName=null, responseId=n
 60ull, payload={companyId=0, document={uid=[PluginPackageIndexer_PORTLET_solr-web/
 61solr-web/unknown/war], moduleId=[solr-web/solr-web/unknown/war], installedVersio
 62n=[unknown], status=[newerVersionInstalled], tag=[], artifactId=[solr-web], osi-
 63approved-license=[false], type=[], version=[unknown], content=[solr-web null  ],
 64 groupId=[solr-web], title=[solr-web], repositoryURL=[LOCAL_URL], portletId=[Plu
 65ginPackageIndexer], license=[]}, documents=null, end=0, id=null, ids=null, query
 66=null, searchEngineCommand=UPDATE_DOCUMENT, sorts=null, start=0}, values=null}
 67com.liferay.portal.kernel.search.SearchException: ERRORunknown_field_uid
 68
 69ERRORunknown_field_uid
 70
 71request: http://localhost:8983/solr/update?wt=javabin&version=2.2
 72        at com.liferay.portal.search.solr.SolrIndexWriterImpl.addDocument(SolrIn
 73dexWriterImpl.java:54)
 74        at com.liferay.portal.search.solr.SolrIndexWriterImpl.updateDocument(Sol
 75rIndexWriterImpl.java:138)
 76        at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListene
 77r.doReceive(SearchWriterMessageListener.java:88)
 78        at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListene
 79r.receive(SearchWriterMessageListener.java:35)
 80        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(In
 81vokerMessageListener.java:65)
 82        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(Paralle
 83lDestination.java:63)
 84        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
 85utor.java:886)
 86        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
 87.java:908)
 88        at java.lang.Thread.run(Thread.java:619)
 89May 7, 2010 7:40:30 AM org.apache.coyote.http11.Http11Protocol start
 90INFO: Starting Coyote HTTP/1.1 on http-8080
 91May 7, 2010 7:40:30 AM org.apache.jk.common.ChannelSocket init
 92INFO: JK: ajp13 listening on /0.0.0.0:8009
 93May 7, 2010 7:40:30 AM org.apache.jk.server.JkMain start
 94INFO: Jk running ID=0 time=0/31  config=null
 95May 7, 2010 7:40:30 AM org.apache.catalina.startup.Catalina start
 96INFO: Server startup in 32243 ms
 9707:40:35,563 ERROR [SolrIndexWriterImpl:119] org.apache.solr.common.SolrExceptio
 98n: undefined_field_portletId
 99
100undefined_field_portletId
101
102request: http://localhost:8983/solr/update?wt=javabin&version=2.2
103org.apache.solr.common.SolrException: undefined_field_portletId
104
105undefined_field_portletId
106
107request: http://localhost:8983/solr/update?wt=javabin&version=2.2
108        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
109nsHttpSolrServer.java:343)
110        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
111nsHttpSolrServer.java:183)
112        at com.liferay.portal.search.solr.server.BasicAuthSolrServer.request(Bas
113icAuthSolrServer.java:96)
114        at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequ
115est.java:217)
116        at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java
117:101)
118        at com.liferay.portal.search.solr.SolrIndexWriterImpl.deletePortletDocum
119ents(SolrIndexWriterImpl.java:111)
120        at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListene
121r.doReceive(SearchWriterMessageListener.java:83)
122        at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListene
123r.receive(SearchWriterMessageListener.java:35)
124        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(In
125vokerMessageListener.java:65)
126        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(Paralle
127lDestination.java:63)
128        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
129utor.java:886)
130        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
131.java:908)
132        at java.lang.Thread.run(Thread.java:619)
13307:40:35,594 ERROR [SearchWriterMessageListener:38] Unable to process message {d
134estinationName=liferay/search_writer, responseDestinationName=null, responseId=n
135ull, payload={companyId=0, document=null, documents=null, end=0, id=PluginPackag
136eIndexer, ids=null, query=null, searchEngineCommand=DELETE_PORTLET_DOCUMENTS, so
137rts=null, start=0}, values=null}
138com.liferay.portal.kernel.search.SearchException: undefined_field_portletId
139
140undefined_field_portletId
141
142request: http://localhost:8983/solr/update?wt=javabin&version=2.2
143        at com.liferay.portal.search.solr.SolrIndexWriterImpl.deletePortletDocum
144ents(SolrIndexWriterImpl.java:121)
145        at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListene
146r.doReceive(SearchWriterMessageListener.java:83)
147        at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListene
148r.receive(SearchWriterMessageListener.java:35)
149        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(In
150vokerMessageListener.java:65)
151        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(Paralle
152lDestination.java:63)
153        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
154utor.java:886)
155        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
156.java:908)
157        at java.lang.Thread.run(Thread.java:619)


please help me.

Thanks
saurabh
François Le Quemener
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
February 1, 2011 5:32 AM
Answer

François Le Quemener

Rank: New Member

Posts: 15

Join Date: April 16, 2010

Recent Posts

Hi,
have you resolved your problem? I have the same (ERRORunknown_field_uid)

Thanks
Ranga Rao Bobbili
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
February 5, 2013 9:32 PM
Answer

Ranga Rao Bobbili

Rank: Regular Member

Posts: 152

Join Date: July 20, 2007

Recent Posts

Hi Bruno or friends,

I am facing issue with solr search engine and not able to retrieve results from solr. please find my following liferay therad link and if possible reply the same

http://www.liferay.com/community/forums/-/message_boards/message/21180581

Thanks in advance..................

Best Regards,
Ranga Rao Bobbili
Adaequare INC
Ranga Rao Bobbili
RE: Solr and Discussion forumsIHi Carlos, I've finally tested locallyI
April 10, 2013 12:52 PM
Answer

Ranga Rao Bobbili

Rank: Regular Member

Posts: 152

Join Date: July 20, 2007

Recent Posts

Thanks friends for your valuable support to resolve my solr indexing issue for custom entities.

I have resolved my issue using enterprise solr plugin.

Thanks & Regards,
Ranga Rao Bobbili
Adaequare INC