lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ganesh M <emailg...@ymail.com>
Subject Re: Concurrent Execution Exception
Date Fri, 15 Feb 2013 06:06:37 GMT
I am having 5 shards and all having similar kind of data. This issue is happening in only one
shard. 
 
I am adding a string field to the index. Its value is numeric ("1301010101") and this field
is used for sorting. During search,  i am creating a sortfield object with SortField.Int
type. This is working fine for most of the customers and till now i didn't faced any issue.

 
While creating SortField, do i need to pass Default Int parser? I guess, currently it is using
encoded int parser. 
 
Regards
Ganesh

From: Uwe Schindler <uwe@thetaphi.de>
To: java-user@lucene.apache.org; 'Ganesh M' <emailgane@ymail.com> 
Sent: Thursday, February 14, 2013 7:53 PM
Subject: RE: Concurrent Execution Exception

I have no idea what you are doing, the issue here could be a field with mixed old-style string
only numerics and new style numeric fields. If you sort against such a "mixed" field you get
this error.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Ganesh M [mailto:emailgane@ymail.com]
> Sent: Thursday, February 14, 2013 1:43 PM
> To: lucene
> Subject: Concurrent Execution Exception
> 
> Could any one throw light on this. Im using Lucene 3.0.3. I am having multiple
> shards and using ParallelMultiSearcher to search across shards.
> 
> Exception: java.util.concurrent.ExecutionException:
> java.lang.NumberFormatException: Invalid shift value in prefixCoded string
> (is encoded value really an INT?) ID: 256566961
>  org.apache.lucene.search.ParallelMultiSearcher$ExecutionHelper.next(Paral
> lelMultiSearcher.java:225)
>  org.apache.lucene.search.ParallelMultiSearcher.search(ParallelMultiSearche
> r.java:127)
>  org.apache.lucene.search.Searcher.search(Searcher.java:49)
> 
> Regards
> Ganesh


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message