lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Kay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1984) DisjunctionMaxQuery - Type safety
Date Fri, 16 Oct 2009 16:27:31 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766587#action_12766587
] 

Kay Kay commented on LUCENE-1984:
---------------------------------

As a related patch - LUCENE-1985 added to improve readability to convert   Iterable<?>
statements to for loops introduced in java 5 

> DisjunctionMaxQuery - Type safety  
> -----------------------------------
>
>                 Key: LUCENE-1984
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1984
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Query/Scoring
>    Affects Versions: 2.9
>            Reporter: Kay Kay
>            Assignee: Uwe Schindler
>             Fix For: 3.0
>
>         Attachments: LUCENE-1984.patch, LUCENE-1984.patch
>
>
> DisjunctionMaxQuery code has containers that are not type-safe . The comments indicate
type-safety though. 
> Better to express in the API and the internals the explicit type as opposed to type-less
containers. 
> Patch attached. 
> Comments / backward compatibility concerns welcome.  

-- 
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