lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject wildcardquery rewrite()
Date Wed, 07 Oct 2009 02:22:00 GMT
someone asked this question on the user list:

it made me look at the wildcard rewrite(), where i see this:
    if (!termContainsWildcard)
      return new TermQuery(getTerm());

is it a problem the boost is not preserved in this special case?

is it also a problem that if the user sets the default MultiTermQuery
that this rewritten TermQuery isn't wrapped with a constant score?

Sorry if it seems a bit nitpicky, really the issue is that I want to
do the right thing for a more complex query I am working on, but don't
want to overkill either.
Robert Muir

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

View raw message