Re: Solandra - select query error

2011-09-15 Thread tom135
)  at
org.apache.lucene.search.ConjunctionScorer.score(ConjunctionScorer.java:135) 
at org.apache.lucene.search.BooleanScorer2$2.score(BooleanScorer2.java:182) 
at org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:309) 
at
org.apache.lucene.search.TopScoreDocCollector$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:47)
 
at org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:281) 
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:526)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:320)   at
org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1178)
 
at
org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1066)
 
at
org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:358) 
at
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:258)
 
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
 
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
 
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1368)at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356) 
at solandra.SolandraDispatchFilter.execute(SolandraDispatchFilter.java:171) 
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
 
at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137) 
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
 
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) 
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) 
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) 
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) 
at org.mortbay.jetty.Server.handle(Server.ja

request: http://127.0.0.1:8983/solandra/idxPosts.global~3/select
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at
org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:421)
at
org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:393)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)


Thanks for any help!

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solandra-select-query-error-tp3329423p3338620.html
Sent from the Solr - User mailing list archive at Nabble.com.


Solandra - select query error

2011-09-12 Thread tom135
Hello,

I have some index and two search query:
1. http://127.0.0.1:8983/solandra/INDEX_NAME/select?q=type:(3 2 1) AND
category:(2 1) AND text:(WORD1 WORD2 WORD3 WORD4
WORD5)facet.field=creation_datefacet=truewt=javabinversion=2

This query works good

2. 1. http://127.0.0.1:8983/solandra/INDEX_NAME/select?q=type:(2 1) AND
category:(2 1) AND text:(WORD1 WORD2 WORD3 WORD4
WORD5)facet.field=creation_datefacet=truewt=javabinversion=2

This select throw an error:
*===*
*HTTP ERROR 500*

Problem accessing /solandra/INDEX_NAME.proj1/select. Reason:

null  java.lang.ArrayIndexOutOfBoundsException

null  java.lang.ArrayIndexOutOfBoundsException

request: http://127.0.0.1:8983/solandra/INDEX_NAME.proj1~3/select

org.apache.solr.common.SolrException: null 
java.lang.ArrayIndexOutOfBoundsException

null  java.lang.ArrayIndexOutOfBoundsException

request: http://127.0.0.1:8983/solandra/INDEX_NAME.proj1~3/select
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at
org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:421)
at
org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:393)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
*===*

Thanks for any help!


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solandra-select-query-error-tp3329423p3329423.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solandra - select query error

2011-09-12 Thread Jake Luciani
Hi,

Solandra specific issue should be raised on
http://github.com/tjake/Solandra/issues

Could you also provide some sample data ans schama I can try to reproduce
with?

Thanks,

Jake

On Mon, Sep 12, 2011 at 7:57 AM, tom135 t.latu...@itspree.pl wrote:

 Hello,

 I have some index and two search query:
 1. http://127.0.0.1:8983/solandra/INDEX_NAME/select?q=type:(3 2 1) AND
 category:(2 1) AND text:(WORD1 WORD2 WORD3 WORD4
 WORD5)facet.field=creation_datefacet=truewt=javabinversion=2

 This query works good

 2. 1. http://127.0.0.1:8983/solandra/INDEX_NAME/select?q=type:(2 1) AND
 category:(2 1) AND text:(WORD1 WORD2 WORD3 WORD4
 WORD5)facet.field=creation_datefacet=truewt=javabinversion=2

 This select throw an error:
 *===*
 *HTTP ERROR 500*

 Problem accessing /solandra/INDEX_NAME.proj1/select. Reason:

null  java.lang.ArrayIndexOutOfBoundsException

 null  java.lang.ArrayIndexOutOfBoundsException

 request: http://127.0.0.1:8983/solandra/INDEX_NAME.proj1~3/select

 org.apache.solr.common.SolrException: null
 java.lang.ArrayIndexOutOfBoundsException

 null  java.lang.ArrayIndexOutOfBoundsException

 request: http://127.0.0.1:8983/solandra/INDEX_NAME.proj1~3/select
at

 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at

 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at

 org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:421)
at

 org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:393)
at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at

 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at

 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
 *===*

 Thanks for any help!


 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/Solandra-select-query-error-tp3329423p3329423.html
 Sent from the Solr - User mailing list archive at Nabble.com.




-- 
http://twitter.com/tjake


Re: Solandra - select query error

2011-09-12 Thread tom135
It's complecated to give you sample data. But this error depends on the size
of data. I have indexed 200 docs and this error did not occurred. But I need
much more (ie. 5 000 000), so if I try to index 2000 docs then come this
error.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solandra-select-query-error-tp3329423p3329613.html
Sent from the Solr - User mailing list archive at Nabble.com.