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 !

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: 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



7 years ago

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.

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?)

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.

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.


7 years ago

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.


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

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.


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 )

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

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.

(I noticed ;) )

*throws tantrum* Don't wanna!

Okay then, thanks for keeping me posted!

All the rage you say...

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