lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Parkes (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-489) Allow QP subclasses to support Wildcard Queries with leading "*"
Date Fri, 20 Oct 2006 15:06:38 GMT
    [ http://issues.apache.org/jira/browse/LUCENE-489?page=comments#action_12443858 ] 
            
Steven Parkes commented on LUCENE-489:
--------------------------------------

I guess because I am uncomfortable manually modifying automatically generated code. If there's
a compelling reason for it, I'd consider it, but it has to be pretty compelling because of
the effort required to (remember to) maintain the local modifications. If someone runs javacc
themselves, they'll get a different result and have to look at the code to see why the results
are different. I don't see that the benefit of removing a few deprecated methods is worth
the potential confusion (and time taken to resolve the confusion) (and time taken to remember
to do the local mod every time).

> Allow QP subclasses to support Wildcard Queries with leading "*"
> ----------------------------------------------------------------
>
>                 Key: LUCENE-489
>                 URL: http://issues.apache.org/jira/browse/LUCENE-489
>             Project: Lucene - Java
>          Issue Type: Wish
>          Components: QueryParser
>            Reporter: Peter Schäfer
>         Assigned To: Steven Parkes
>             Fix For: 2.1
>
>         Attachments: LUCENE-489.patch, qp.diff
>
>
> It would be usefull for some users if the logic that prevents QueryParser from creating
WIldcardQueries with leading wildcard characters ("?" or "*") be moved from the grammer into
the base implimentation of getWildcardQuery so that it may be overridden in subclasses without
needing to modifiy the grammer directly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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