: After we upgraded Solr from 4.5.1 to 4.10.4, we started seeing the 
: following UnsupportedOperationException logged repeatedly.  We do not 
: have highlighting configured to useFastVectorHighlighter.  The logged 
: stack trace has given me little to go on.  I was hoping this is a 
: problem others have seen (but my searching has yielded nothing).

what *does* your configuration look like? what types of requests 
(with all request params) trigger these errors? what do the docs 
that match these queries look like? etc...

details matter.

https://wiki.apache.org/solr/UsingMailingLists

FWIW: a quick glance at the code in DefaultSolrHighlighter suggests to me 
that this might be a bug -- IIUC a FastVectorHighlighter is initialized 
regardless of wether you intend to use FastVectorHighlighter or not, so it 
makes sense that if your are using the surround parser and it's producing 
a query that FastVectorHighlighter can't rewrite/clone that would fail ... 
but i'm not really an expert on highlighting or the surround parser, so 
i'm not sure -- and my trivial attempts to reproduce the symptoms you are 
getting failed, so it's hard to be sure w/o detailed steps to reproduce.

https://issues.apache.org/jira/browse/SOLR-7488


: 
: Thanks
: Rich
: 
: null:java.lang.UnsupportedOperationException
:         at 
org.apache.lucene.queryparser.surround.query.RewriteQuery.clone(RewriteQuery.java:80)
:         at 
org.apache.lucene.queryparser.surround.query.RewriteQuery.clone(RewriteQuery.java:23)
:         at 
org.apache.lucene.search.vectorhighlight.FieldQuery.applyParentBoost(FieldQuery.java:156)
:         at 
org.apache.lucene.search.vectorhighlight.FieldQuery.flatten(FieldQuery.java:96)
:         at 
org.apache.lucene.search.vectorhighlight.FieldQuery.flatten(FieldQuery.java:96)
:         at 
org.apache.lucene.search.vectorhighlight.FieldQuery.<init>(FieldQuery.java:67)
:         at 
org.apache.lucene.search.vectorhighlight.FastVectorHighlighter.getFieldQuery(FastVectorHighlighter.java:98)
:         at 
org.apache.solr.highlight.DefaultSolrHighlighter.doHighlighting(DefaultSolrHighlighter.java:401)
:         at 
org.apache.solr.handler.component.HighlightComponent.process(HighlightComponent.java:144)
:         at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:218)
:         at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
:         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1976)
:         at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)
:         at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
:         at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
:         at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
:         at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
:         at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
:         at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
:         at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
:         at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
:         at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
:         at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
:         at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
:         at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
:         at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
:         at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
:         at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
:         at org.eclipse.jetty.server.Server.handle(Server.java:368)
:         at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
:         at 
org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
:         at 
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
:         at 
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
:         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
:         at 
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
:         at 
org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
:         at 
org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
:         at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
:         at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
:         at java.lang.Thread.run(Unknown Source)
: 
: 

-Hoss
http://www.lucidworks.com/

Reply via email to