lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6345) null check all term/fields in queries
Date Fri, 06 Mar 2015 15:14:38 GMT

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

Michael McCandless commented on LUCENE-6345:
--------------------------------------------

+1

> null check all term/fields in queries
> -------------------------------------
>
>                 Key: LUCENE-6345
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6345
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> See the mail thread "is this lucene 4.1.0 bug in PerFieldPostingsFormat".
> If anyone seriously thinks adding a null check to ctor will cause measurable slowdown
to things like regexp or wildcards, they should have their head examined.
> All queries should just check this crap in ctor and throw exceptions if parameters are
invalid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message