254Views22Replies

Author Options:

FIRSTCOMMENT throws ERROR 500: solr Ex ! Answered

When attempting to navigate to: https://www.instructables.com/tag/type-comment/?sort=FIRSTCOMMENT


ERROR 500: solr Ex !


Exception
org.apache.solr.client.solrj.SolrServerException: Error executing query
 at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
 at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
 at com.instructables.solr.SolrSearchServlet.doGet(SolrSearchServlet.java:536)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:115)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
 at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:208)
 at com.instructables.filter.FilterWrapperFilter.doFilter(FilterWrapperFilter.java:47)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:48)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.instructables.filter.TemporaryProFilter.doFilter(TemporaryProFilter.java:77)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:140)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.instructables.filter.SetupFilter.doFilter(SetupFilter.java:68)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
 at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
 at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527)
 at com.caucho.util.ThreadPool.run(ThreadPool.java:449)
 at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.solr.common.SolrException: can not sort on undefined field: FIRSTCOMMENT

can not sort on undefined field: FIRSTCOMMENT

request: http://10.0.0.1:8003/read/select?fq=+type:comment&qt=dismax&rows=20&start=0&facet.field=channelCategory&facet.field=keyword&facet.field=featureFlag&facet=true&facet.limit=30&facet.mincount=2&sort=FIRSTCOMMENT desc&wt=javabin&version=1
 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:424)
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:243)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
 ... 23 more

22 Replies

user
rachel (author)2010-07-29

Good catch, Lithium Rain! We changed some stuff about comments a while back and removed some things that nobody was using. So the FIRSTCOMMENT listing isn't available any more, but we missed removing that link option. I'll get it out in the next release.

Select as Best AnswerUndo Best Answer

user
Lithium Rain (author)rachel2010-07-29

Thanks, Rachel. :) (When do you expect the new release, out of curiosity? Is there any kind of schedule, or just on an as-needed basis?)

Select as Best AnswerUndo Best Answer

user
rachel (author)Lithium Rain2010-07-30

We don't have a schedule for releases as the features and bugfixes don't usually take scheduleable amounts of time. On average though, we do a major release about every 3 or 4 weeks and often several smaller bugfix releases in between.

Select as Best AnswerUndo Best Answer

user
kcls (author)rachel2010-08-04

I think since you can't explore members with the graphical search, it just won't work anymore. I don't see the error anymore, but the page is just blank.

Select as Best AnswerUndo Best Answer

user
kcls (author)2010-08-02

What are all these secret links? I'm hearing about so many of them lately. Ah, well. I guess that's what I get for going through the archives... I've seen /you/stats and a few others as well. Actually I believe that the stats one was from before /you.

Select as Best AnswerUndo Best Answer

user
NachoMahma (author)kelseymh2010-07-29

. Will ain't gonna like that.

Select as Best AnswerUndo Best Answer

user
Goodhart (author)NachoMahma2010-07-28

Ut oh, looks like the cerial killer is back again....

Select as Best AnswerUndo Best Answer

user
StumpChunkman (author)2010-07-28

Why are you navigating there? Where did you find that link at?

I think you managed to find a page that doesn't exist.

...stop dividing by 0.

:-P

Select as Best AnswerUndo Best Answer

user

Heh. Well, it _was_ an option under You>Settings>Customize>Shortcuts>COMMUNITY...it used to work fine (a looong time ago). May have been depreciated by site updates by now. (Easy way to find new members to send a welcome message. Used to be all the rage... :p )

Select as Best AnswerUndo Best Answer

user

To be clear, it still is an option, and I still have the link up in my custom shortcuts.

Select as Best AnswerUndo Best Answer

user

I've just been informed, the outcome for the link doesn't appear to be very good.

...I might suggest making a new(different) shortcut in your customizations.

Select as Best AnswerUndo Best Answer

user

(I noticed ;) )

*throws tantrum* Don't wanna!

Okay then, thanks for keeping me posted!

Select as Best AnswerUndo Best Answer

user

All the rage you say...

...well I'll just have to look into that then!

Select as Best AnswerUndo Best Answer

user

I believe you mean, "sudo make me a sandwich!"

:P

Select as Best AnswerUndo Best Answer

user

None of that "simon says" CIA stuff for me. I'm living on the wild side.

I'm running...

...as SuperUser

>puts on sunglasses<

Select as Best AnswerUndo Best Answer