lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: query parser field name aliases
Date Mon, 05 Jun 2006 18:45:43 GMT

: > you might be able to go with a Delegator/Wrapper .. subclass
: > QueryParser to inherit the grammer, override all of the normal methods
: > you override in a subclass to include your field aliasing, but instead
: > of defering to super defer to another instance of QueryParser
: > specified at runtime.
: A.k.a. decorator ;)

Oh .. sorry yeah, i'm not very good with remembering names of Patterns, i
thought "Wrapper" was an official pattern name, and when you siad
"Decorator" i was thinking of something else ... i'm not sure what exactly
i thought you were talking about, but that wasn't it.


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

View raw message