lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LUCENE-549) Sort bug with ParallelMultiSearcher
Date Tue, 27 Feb 2007 06:52:05 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Busch closed LUCENE-549.
--------------------------------

    Resolution: Duplicate

This is a duplicate of LUCENE-548

> Sort bug with ParallelMultiSearcher
> -----------------------------------
>
>                 Key: LUCENE-549
>                 URL: https://issues.apache.org/jira/browse/LUCENE-549
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 1.9
>         Environment: FC2 Java 1.4.9
>            Reporter: dan
>            Priority: Minor
>
> >>>>> Output:
> java.lang.ClassCastException: java.lang.String
>         at org.apache.lucene.search.FieldDocSortedHitQueue.lessThan(FieldDocSortedHitQueue.java:119)
>         at org.apache.lucene.util.PriorityQueue.insert(PriorityQueue.java:61)
>         at org.apache.lucene.search.MultiSearcherThread.run(ParallelMultiSearcher.java:271)
> >>>>> Input:
> - This only occurs when searching more than one index using ParallelMultiSearcher
> - I use the signature new Sort( "date", true)
> - The values in dates are strings in the form 20060419
> - The call to getType in FieldDocSortedHitQueue misinterprets the value as an INT, then
the exception is thrown
> >>>>> Available workaround
> - I use the the signature new Sort(new SortField( "date", SortField.STRING, true)) and
the problem goes away.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message