You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Lance Norskog <go...@gmail.com> on 2010/03/22 22:19:09 UTC
Re: [jira] Commented: (SOLR-1838) TermVectors and Multicore
configuration
The mailing lists don't do attachments. Please include the files in-line.
I'm beginning to think a google form & docs would help this process.
On Mon, Mar 22, 2010 at 2:11 PM, Christian Fontana (JIRA)
<ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/SOLR-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848338#action_12848338 ]
>
> Christian Fontana commented on SOLR-1838:
> -----------------------------------------
>
> To be more complete on my configuration I've attached solr.xml / schema.xml and solrconfig.xml
>
> Nodes config files differ only for few details.
>
> The url I tried for the request is:
>
> http://localhost:8983/solr/it/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&qt=tv&shards=localhost:8983/solr/it,localhost:8983/solr/en
>
> Thanks
>
>> TermVectors and Multicore configuration
>> ----------------------------------------
>>
>> Key: SOLR-1838
>> URL: https://issues.apache.org/jira/browse/SOLR-1838
>> Project: Solr
>> Issue Type: Bug
>> Components: multicore
>> Affects Versions: 1.4
>> Environment: Linux Debian
>> Reporter: Christian Fontana
>>
>> Hello.
>> My new to solr and I'm trying to setup solr with a multicore configuration.
>> All cores shares the same schema.xml and I'm using index sharding.
>> I need term vectors data to generate tag clouds but when I try to run a search across all cores to retrieve term vectors data the engine
>> raises me the exception below.
>> Now I created two request handlers, one for the user search and one for the engine in charge to create the tag cloud. The problem of this
>> solution is that I've to run n queries if n cores are cofigured and than merge results
>> thanks in advance
>> christian f.
>> Mar 19, 2010 4:34:15 PM org.apache.solr.core.SolrCore execute
>> INFO: [it] webapp=/solr path=/select params={tv.docIds=167&isShard=true&wt=javabin&version=1&tv=true} status=500 QTime=10
>> Mar 19, 2010 4:34:15 PM org.apache.solr.common.SolrException log
>> SEVERE: java.lang.NullPointerException
>> at java.io.StringReader.<init>(StringReader.java:33)
>> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:197)
>> at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:78)
>> at org.apache.solr.search.QParser.getQuery(QParser.java:131)
>> at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
>> at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
>> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>> at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
>> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
>> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>> at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>> at org.mortbay.jetty.Server.handle(Server.java:285)
>> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
>> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
>> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>> at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>> at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>> Mar 19, 2010 4:34:15 PM org.apache.solr.common.SolrException log
>> SEVERE: java.lang.NullPointerException
>> at java.io.StringReader.<init>(StringReader.java:33)
>> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:197)
>> at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:78)
>> at org.apache.solr.search.QParser.getQuery(QParser.java:131)
>> at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
>> at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
>> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>> at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
>> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
>> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>> at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>> at org.mortbay.jetty.Server.handle(Server.java:285)
>> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
>> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
>> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>> at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>> at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
--
Lance Norskog
goksron@gmail.com
Re: [jira] Commented: (SOLR-1838) TermVectors and Multicore
configuration
Posted by Lance Norskog <go...@gmail.com>.
Oops, didn't notice this was solr-dev in a JIRA.
Please do questions like this on solr-user. Thanks!
On Mon, Mar 22, 2010 at 2:19 PM, Lance Norskog <go...@gmail.com> wrote:
> The mailing lists don't do attachments. Please include the files in-line.
>
> I'm beginning to think a google form & docs would help this process.
>
> On Mon, Mar 22, 2010 at 2:11 PM, Christian Fontana (JIRA)
> <ji...@apache.org> wrote:
>>
>> [ https://issues.apache.org/jira/browse/SOLR-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848338#action_12848338 ]
>>
>> Christian Fontana commented on SOLR-1838:
>> -----------------------------------------
>>
>> To be more complete on my configuration I've attached solr.xml / schema.xml and solrconfig.xml
>>
>> Nodes config files differ only for few details.
>>
>> The url I tried for the request is:
>>
>> http://localhost:8983/solr/it/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&qt=tv&shards=localhost:8983/solr/it,localhost:8983/solr/en
>>
>> Thanks
>>
>>> TermVectors and Multicore configuration
>>> ----------------------------------------
>>>
>>> Key: SOLR-1838
>>> URL: https://issues.apache.org/jira/browse/SOLR-1838
>>> Project: Solr
>>> Issue Type: Bug
>>> Components: multicore
>>> Affects Versions: 1.4
>>> Environment: Linux Debian
>>> Reporter: Christian Fontana
>>>
>>> Hello.
>>> My new to solr and I'm trying to setup solr with a multicore configuration.
>>> All cores shares the same schema.xml and I'm using index sharding.
>>> I need term vectors data to generate tag clouds but when I try to run a search across all cores to retrieve term vectors data the engine
>>> raises me the exception below.
>>> Now I created two request handlers, one for the user search and one for the engine in charge to create the tag cloud. The problem of this
>>> solution is that I've to run n queries if n cores are cofigured and than merge results
>>> thanks in advance
>>> christian f.
>>> Mar 19, 2010 4:34:15 PM org.apache.solr.core.SolrCore execute
>>> INFO: [it] webapp=/solr path=/select params={tv.docIds=167&isShard=true&wt=javabin&version=1&tv=true} status=500 QTime=10
>>> Mar 19, 2010 4:34:15 PM org.apache.solr.common.SolrException log
>>> SEVERE: java.lang.NullPointerException
>>> at java.io.StringReader.<init>(StringReader.java:33)
>>> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:197)
>>> at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:78)
>>> at org.apache.solr.search.QParser.getQuery(QParser.java:131)
>>> at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
>>> at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
>>> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>>> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>>> at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
>>> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
>>> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>>> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>>> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>>> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>> at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>>> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>>> at org.mortbay.jetty.Server.handle(Server.java:285)
>>> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>>> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
>>> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
>>> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>>> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>>> at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>>> at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>>> Mar 19, 2010 4:34:15 PM org.apache.solr.common.SolrException log
>>> SEVERE: java.lang.NullPointerException
>>> at java.io.StringReader.<init>(StringReader.java:33)
>>> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:197)
>>> at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:78)
>>> at org.apache.solr.search.QParser.getQuery(QParser.java:131)
>>> at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
>>> at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
>>> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>>> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>>> at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
>>> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
>>> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>>> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>>> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>>> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>> at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>>> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>>> at org.mortbay.jetty.Server.handle(Server.java:285)
>>> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>>> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
>>> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
>>> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>>> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>>> at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>>> at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
>
--
Lance Norskog
goksron@gmail.com