lucene-dev mailing list archives

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

Q: why is this property called "allowZeroLengthPrefixQuery"?  Because instead of XXX*YYY,
one can now have just *YYY?  I think "allowLeadingWildcard" would be more descriptive, no?


> 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: Otis Gospodnetic
>             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