lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <>
Subject [jira] Commented: (LUCENE-489) Allow QP subclasses to support Wildcard Queries with leading "*"
Date Thu, 26 Oct 2006 03:58:20 GMT
    [ ] 
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:
>             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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message