282Views22Replies

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

Discussions

0
None
rachel

8 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.

0
None
Lithium Rainrachel

Reply 8 years ago

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

0
None
rachelLithium Rain

Reply 8 years ago

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.

0
None
kclsrachel

Reply 8 years ago

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.

0
None
kcls

8 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.

0
None
Kiteman

8 years ago

Snap.

0
None
GoodhartNachoMahma

Reply 8 years ago

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

0
None
StumpChunkman

8 years ago

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

0
None
Lithium RainStumpChunkman

Reply 8 years ago

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 )

0
None
Lithium RainLithium Rain

Reply 8 years ago

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

0
None
StumpChunkmanLithium Rain

Reply 8 years ago

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.

0
None
Lithium RainStumpChunkman

Reply 8 years ago

(I noticed ;) )

*throws tantrum* Don't wanna!

Okay then, thanks for keeping me posted!

0
None
StumpChunkmanLithium Rain

Reply 8 years ago

All the rage you say...

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